2017-05-15 12:58 GMT+03:00 Jefferson Carpenter <[email protected]>: > Hello, > > One of vim's greatest strengths is how it keeps key presses to a minimum. > Switching between modes, however, necessitates unnecessarily long > combinations of key presses. In short, at the second space after the > beginning of a line, one esc press cannot be used to enter command mode; > because it moves the cursor backward one space, esc l must be typed instead. > > Is there an easy fix for this?
Just `inoremap <Esc> <Esc>l` or whatever. This may break some badly written mappings (i.e. those without `nore` in the command), but otherwise fine. You may also consider using e.g. `jk` for escaping from Insert mode, some people do this. Though I would suggest to make yourself comfortable with the current behaviour or you will have problems working not in custom Vim setups. You may find that easier if you switch cursor view: make it a bar in Insert mode and block in Normal so `<Esc>` will switch `ab|c` to `a[b]c`. > > -- > -- > You received this message from the "vim_dev" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > > --- > You received this message because you are subscribed to the Google Groups > "vim_dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
