Skip to content

Use of 0 and $ for line start / end #801

Answered by sudormrfbin
Wisermans asked this question in General
Discussion options

You must be logged in to vote

We have gh and gl respectively for goto line start/end (inspired from kakoune) and it's possible to remap if you really want to emulate vim with a caveat for 0:

# ~/.config/helix/config.toml

[keys.normal]
"0" = "goto_line_start" # Note that this will not work because 0 will be taken as a count
"$" = "goto_line_end"

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Wisermans
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants