osx - Control key remap not working in vim -
i'm using macbook pro os x 10.10.5 , vim 7.3. i've got following remap inoremap <c-u> <esc>viwu<esc>ea
. obviously, expect word under cursor capitalized after pressing ctrl-u, instead pages up. can't seem figure out why isn't working. see few posts on remapping ctrl cmd i'd prefer stick cntrl - use same settings when working on windows machine.
as note, i'm using logitech keyboard, doesn't work on mac keyboard well.
inoremap
creates insert mode mapping. using <c-u>
in normal mode moves page up.
your mapping should work if hit <c-u>
in insert mode.
Comments
Post a Comment