Skip to content

What is the intended modal editor method that negates the need to navigate in insert mode? #3790

Answered by the-mikedavis
Ryex asked this question in Q&A
Discussion options

You must be logged in to vote

Re-introducing arrow-key bindings into your config is perfectly valid IMO. As you say, being able to move the cursor a tiny amount without exiting normal-mode and re-entering insert-mode can be useful.

Tabout (#1587) would be the ideal way to jump out of closing pairs. I have a PR for that which gets close but needs refinement: #3350

In general though, motions/navigation should be done in normal-mode. Escli is a longer sequence than pressing the right arrow key but you don't need to move your hand to the arrow keys, and you get an undo checkpoint from switching to normal mode. The more you need to move, the less costly the switch to normal mode becomes. And if you remap caps-lock as Esc -…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Ryex
Comment options

Comment options

You must be logged in to vote
1 reply
@Ryex
Comment options

Answer selected by Ryex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants