2

When I type :nmap<cr> in normal mode, I just get a scrollable buffer of all the keymappings. I'd like to save this to a file.

4

1 に答える 1

6

Use :redir:

:redir > nmap.txt
:silent nmap
:redir END

Then nmap.txt will contain the output of :nmap.

于 2012-09-08T15:01:53.827 に答える