vimr icon indicating copy to clipboard operation
vimr copied to clipboard

MacOS-style keybindings in the input mode

Open stranak opened this issue 3 years ago • 2 comments

Is it possible to have all the standard MacOS key bindings working in the input mode? I love Vim, but I am very used to combining the Vi-style navigation and editing with the MacOS-style, for instance:

  • alt + left/right for left / right by one word (I really hate that it switches me to normal mode in VimR)
  • cmd + left/right for start/end of line
  • up/down arrows moving moving up/down also on soft-wrapped lines
  • combining all of these with shift for selection or with backspace for deletions

MacOS by default also has some Emacs key bindings, but I would not go that far :-) The above would, however, really help me to move from MacVim to VimR.

stranak avatar Sep 16 '22 11:09 stranak

the set of mappings I am looking for is – I think – what MacVim defines and can turn on/off using the options macvim_skip_cmd_opt_movement (on by default) and macvim_skip_cmd_opt_movement (off by default).

I think these would make a nice settings to have in the Preferences…

stranak avatar Sep 16 '22 12:09 stranak

I think you might enjoy https://github.com/tpope/vim-rsi.

trmckay avatar Sep 17 '22 19:09 trmckay