Vim map - to _ and the reverse
I am trying to get vim to switch the - and the _ keys. I have got vim to map the - to the _, which is really handy when I am programming. I used
Code:
imap - _ |
The following will do it:
As you have already done: imap - _ imap _ - Type the following two commands as well: inoremap - _ inoremap _ - |
All times are GMT -5. The time now is 10:45 AM. |