📜  vim 中的 map vs noremap - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:42.379000             🧑  作者: Mango

代码示例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. For example, if we run:

:map j gg           (moves cursor to first line)
:map Q j            (moves cursor to first line)
:noremap W j        (moves cursor down one line)