#helixeditor

seungjin's avatar
seungjin

@[email protected]

I don't use Reddit, but I need to bring this here.
reddit.com/r/HelixEditor/comme

An image from Reddit.
Scheme? Really? Why LISP? Not done yet? Steel mattwparas Help me use this Do not pressure the guy Lets pressure the guy"
ALT text detailsAn image from Reddit. Scheme? Really? Why LISP? Not done yet? Steel mattwparas Help me use this Do not pressure the guy Lets pressure the guy"
seungjin's avatar
seungjin

@[email protected]

I don't use Reddit, but I need to bring this here.
reddit.com/r/HelixEditor/comme

An image from Reddit.
Scheme? Really? Why LISP? Not done yet? Steel mattwparas Help me use this Do not pressure the guy Lets pressure the guy"
ALT text detailsAn image from Reddit. Scheme? Really? Why LISP? Not done yet? Steel mattwparas Help me use this Do not pressure the guy Lets pressure the guy"
seungjin's avatar
seungjin

@[email protected]

Compiled `ty` and `pyrefly`—one from `astro-rs` and the other from `Meta`. Both are Python type checkers and LSPs written in Rust. I’ve figured out how to integrate pyrefly with hx, but I haven’t done that for ty yet. ty is still in a very early stage, but pyrefly seems a bit more stable. It’s exciting to see competition between two outstanding open-source projects for Python type checking and LSP support.

Honnip's avatar
Honnip

@[email protected]

같은 이유로 Neovim을 못 쓰고 있다.

요즘은 에디터를 쓰고 있는데, .helix/languages.toml 파일로 프로젝트 별 구성을 쉽게 할 수 있어서 맘에 든다:

[language-server]
deno = { command = "deno", args = ["lsp"], config.deno.enable = true }

[[language]]
name = "javascript"
language-servers = ["deno"]
formatter = { command = "biome", args = [ "format", "--stdin-file-path", "buffer.js" ]

https://hackers.pub/@hongminhee/0196c20f-71e3-7a7c-920c-2f4cf8790b13

Honnip's avatar
Honnip

@[email protected]

같은 이유로 Neovim을 못 쓰고 있다.

요즘은 에디터를 쓰고 있는데, .helix/languages.toml 파일로 프로젝트 별 구성을 쉽게 할 수 있어서 맘에 든다:

[language-server]
deno = { command = "deno", args = ["lsp"], config.deno.enable = true }

[[language]]
name = "javascript"
language-servers = ["deno"]
formatter = { command = "biome", args = [ "format", "--stdin-file-path", "buffer.js" ]

https://hackers.pub/@hongminhee/0196c20f-71e3-7a7c-920c-2f4cf8790b13

Honnip's avatar
Honnip

@[email protected]

같은 이유로 Neovim을 못 쓰고 있다.

요즘은 에디터를 쓰고 있는데, .helix/languages.toml 파일로 프로젝트 별 구성을 쉽게 할 수 있어서 맘에 든다:

[language-server]
deno = { command = "deno", args = ["lsp"], config.deno.enable = true }

[[language]]
name = "javascript"
language-servers = ["deno"]
formatter = { command = "biome", args = [ "format", "--stdin-file-path", "buffer.js" ]

https://hackers.pub/@hongminhee/0196c20f-71e3-7a7c-920c-2f4cf8790b13

seungjin's avatar
seungjin

@[email protected]

My Emacs flavor for Helix config: gist.github.com/seungjin/fed3e

seungjin's avatar
seungjin

@[email protected]

if you are using Helix editor and from Emacs, Consider:
```
[keys.normal]
"C-space" = "select_mode"
C-y = "paste_clipboard_after"

[keys.select]
A-w = ["yank_to_clipboard", "exit_select_mode"]
```

seungjin's avatar
seungjin

@[email protected]

It seems I haven't used this week and have only been using the editor. I surprised myself a lot.

seungjin's avatar
seungjin

@[email protected]

Emacs `C-u 80 #`
Helix `i#<esc>79.`

seungjin's avatar
seungjin

@[email protected]

I have used Emacs and Vi(m) as my daily drivers for many days. The biggest game changer since I started using Helix is shifting the way I see code, from verb to object, to selection to action.
'Selection -> Action, not Verb -> Object.'
You can find it in Helix’s goal at here: github.com/helix-editor/helix/

seungjin's avatar
seungjin

@[email protected] · Reply to seungjin's post

You can get a doc about this.
Moving the selection with syntax-aware motions.
docs.helix-editor.com/syntax-a

seungjin's avatar
seungjin

@[email protected]

Helix editor tip:
```
# move selected region up and down
[keys.select]
A-l = ["delete_selection", "move_visual_line_up", "paste_before", "select_mode"]
A-h = ["delete_selection", "move_visual_line_down", "paste_before", "select_mode"]
```
Basically it is Vim's `ddkP` and Emacs's Move-Text.

seungjin's avatar
seungjin

@[email protected]

Forget hjkl
youtube.com/shorts/8BikrCguI6M