What is the difference between the remap, noremap, nnoremap and vnoremap mapping commands in Vim?
问题 What is the difference between the remap, noremap, nnoremap and vnoremap mapping commands in Vim? 回答1: remap is an option that makes mappings work recursively. By default it is on and I'd recommend you leave it that way. The rest are mapping commands , described below: :map and :noremap are recursive and non-recursive versions of the various mapping commands. What that means is that if you do: :map j gg :map Q j :noremap W j j will be mapped to gg . Q will also be mapped to gg , because j