How do I unmap a previously mapped key?

You can unmap a previously mapped key using the “:unmap” command:

    :unmap 

    :unmap! 

For mode specific mappings, you can use one of the “:nunmap/:vunmap/:ounmap/:iunmap/:lunmap/:cunmap” commands. The following command will fail to unmap a buffer-local mapped key:

    :unmap 

To unmap a buffer-local mapped key, you have to use the <buffer> keyword in the unmap command:

    :unmap  

    :unmap!  

Comments (1)


Pepsh Pepshinsky

Let’s see you to :help viminfo-file-name (option -i) :set viminfofile=NONE


Speak Your Mind