In my ~/.vimrc
I have mapped ;
to :
so I don't have to press shift every time I want to enter a command and so I avoid typos l开发者_Python百科ike :W
. I have mapped it using nnoremap ; :
. My muscle memory is so strong however, is that I find myself frequently pressing :
when I dont need to and I still get typos like :W
.
How can I disable the :
character completely and just use ;
in normal mode?
nnoremap ; :
nnoremap : <nop>
would be considered fairly harmless.
I don't need to point out that using this kind of setup will drive anyone trying to use your box nuts, and will render yourself crippled when at a random other UNIX console :)?...
精彩评论