Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Is there a way to disable or remove a default vim keybinding?
For example, if I wanted <S-k> (shift-k) to do nothing, how would I achieve this?
You can't unmap internal keybindings that vim needs but you can map them to <Nop> to disable them. Run this command in vim: :map <S-k> <Nop> or add this line to you .vimrc file:
:map <S-k> <Nop>
map <S-k> <Nop>
Required, but never shown