You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For merging multiple lines there is the J keymap. For instance, if I have
defmy_function(
variable: int
) ->int:
if my cursor is on the first line I can press J twice and get
defmy_function(variable: int) ->int:
all of this in normal mode.
But for the opposite I have to move the cursor right before variable, go to Insert mode, press the return key, go back to Normal mode, and repeat. This gets tedious really quickly on multiple formatting.
On Vim and Neovim I managed to map Ctrl + j to the <nl> command, but any other combination on normal mode should be fine.
Is it possible to do the same with Helix?
Edit: replace Shift + j with simply J.
The text was updated successfully, but these errors were encountered:
For merging multiple lines there is the
J
keymap. For instance, if I haveif my cursor is on the first line I can press
J
twice and getall of this in normal mode.
But for the opposite I have to move the cursor right before
variable
, go to Insert mode, press the return key, go back to Normal mode, and repeat. This gets tedious really quickly on multiple formatting.On Vim and Neovim I managed to map
Ctrl + j
to the<nl>
command, but any other combination on normal mode should be fine.Is it possible to do the same with Helix?
Edit: replace
Shift + j
with simplyJ
.The text was updated successfully, but these errors were encountered: