#helixeditor

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