-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not Move in INS mode after upgrade to 22.08.1 #3908
Comments
Removing cursor navigation from insert mode has been a recent (controversial) change, see #3671, #3865. If you want to reintroduce the keybinds you can do so by adding them to your [keys.insert]
up = "move_line_up"
down = "move_line_down"
left = "move_char_left"
right = "move_char_right" |
Further to @CptPotato’s reply, if you want to enable the word movement keys and home and end functionality also, you need to add the following to your config file: [keys.insert]
up = "move_line_up"
down = "move_line_down"
left = "move_char_left"
right = "move_char_right"
C-left = "move_prev_word_end"
C-right = "move_next_word_start"
end = "goto_line_end_newline"
home = "goto_line_start" Although you might want to remove the |
Thanks for your help. Would be great to have it in the docs, so new comers like myself understood what that mode is for. Right now the docs say arrows work in the Insert mode. EDIT: Was pointed out that this feature is not in the stable, so this why it is not in the docs yet. |
@yellowred Hey Oleg, the decision is being reversed to some degree so the arrow keys, home, and end should continue working in the next release (however the C-left and C-right keys will be disabled). Update: Ah, just saw your “EDIT” addendum now :) |
@aral Thanks for update. I have also put arrows keys back into the config except Up and Down so I wouldn't be affected by auto complete bug. Nice to see that this project has so lively discussions and passionate devs. |
Summary
I used arrow keys to move in INS mode to edit text, but after upgrade to a new version from 22.05 (dad6d0f) it does not work anymore. Arrow keys move cursor in NORMAL mode, but not in INSERT. Home and End keys do not work either. I use Helix on Ubuntu to edit Rust files with lang server enabled.
Reproduction Steps
hx
.SPACE
,f
, then select a file, Enter.a
Helix log
~/.cache/helix/helix.log
Platform
Linux
Terminal Emulator
tmux 3.0a
Helix Version
helix 22.08.1 (947ff63)
The text was updated successfully, but these errors were encountered: