I'm thinking about exchanging some keys while in non insert-mode so that the bindings that I use most are easier to reach (i.e. on the home row).How can I swap two keys without breaking the behaviors of my plugins' bindings ?For instance, Tim Pope's surround plugin uses the s key so that the following is a valid command:cs'How can I exchange s with a so that:s in normal mode enters insert mode in the same manner that a did before the exchange, andca' performs the same action as cs' did before the exchange?I googled about map, noremap, after and autocmd VimEnter * but still don't understand which one is appropriate.In other words, how can I have a second keyboard layout, valid in normal (visual) mode but not in insert mode ?
How do I swap key bindings without breaking plugins?
key bindings;vimrc;keymap;keyboard layout