“M-” bindings in vim on iTerm2/Terminal don't work

后端 未结 2 1841
悲&欢浪女
悲&欢浪女 2020-12-09 04:00

I noticed that iTerm2 offers the very convenient feature of using \"Option key as +ESC\" (or as meta, but apparently that\'s obsolete).

I tried them both and the op

2条回答
  •  再見小時候
    2020-12-09 04:40

    I left my option key to act as Normal and discovered that Vim saw them as bindings. So, for example, I have this mapping setup in my .vimrc to move to the end of a word when in Insert mode:

    noremap!  ;
    

提交回复
热议问题