Re:Helix: A Neovim inspired editor, written in Rust
by dm319 on Monday October 10, 2022 @10:37AM
(#33151936)
One of the reasons I love n/vi/m is the ergonomic benefit of using keys that are close to your touch typing position. I'm a bit disappointed that beginning and end of line in helix are home and end.
[ Parent
| on HN ]
Re:Helix: A Neovim inspired editor, written in Rust
by vulcan01 on Monday October 10, 2022 @10:39AM
(#33151956)
You can also use `gh` and `gl` for start and end of line (and `gs` for first non-whitespace character in line). These options (among others) pop up when using helix and typing `g`.
Re:Helix: A Neovim inspired editor, written in Rust
by dm319 on Monday October 10, 2022 @10:50AM
(#33152084)
Ok, so in vim I'd type 'd$' as "delete to end of line". What is the equivalent in helix?
EDIT: while I'm here, where are the sentence and paragraph movements?
Re:Helix: A Neovim inspired editor, written in Rust
by Acur on Monday October 10, 2022 @11:20AM
(#33152502)
The fastest way to do this in Helix would be `t<Enter>d`.
edit: Paragraph and other object movement/selection is done by the `[`, `]` menu. `]p` for the next paragraph. Surrounds are done by the `m` menu.
Re:Helix: A Neovim inspired editor, written in Rust
by dm319 on Monday October 10, 2022 @11:41AM
(#33152807)
Thanks, that's helpful.
I get it - so 't' is 'to' and enter is new line. Makes sense.
The menu under `[` looks good, but very code-focused and lacking sentences.
EDIT: I am finding it a bit weird to have 'go to's as different to movements. There isn't a distinction in vim, which is useful. I'm learning that 'ge' will take me to the end of file, but I can't do 'ged' to delete to there.
Re:Helix: A Neovim inspired editor, written in Rust
by bobbyskelton41 on Monday October 10, 2022 @05:35PM
(#33156665)
You can do vged. Currently ge takes you to the last line, but there is a change planned to take you to the absolute end.