i wanto add command in nodetree.
for example if press 'c' has execute 'o' command in nnerdtree , :as command of alternateplugin in vim.
i tried tries nmap in vimrc didn't managed it
this mapping should work execute both commands:
nmap c o <bar> :as<cr>
<bar>
used separate multiple commands, allowing multiple commands on same line. see :help :\bar
details.
i suggest avoid remapping c
because c{motion}
rather useful built-in vim command (see :help c
details).
Comments
Post a Comment