[英]vim NERDTree key mapping
" ==== NERD tree
" Cmd-Shift-N for nerd tree
nmap <D-N> :NERDTreeToggle<CR>
" Open the project tree and expose current file in the nerdtree with Ctrl-\
nnoremap <silent> <C-\> :NERDTreeFind<CR>:vertical res 30<CR>
I probably not understand that key mapping means: 我可能不了解键映射的含义:
`nmap <D-N>` maps `D` - Mac Command key ?
<D-…>
is the Command key on Mac OS X. That key can only be seen by the MacVim GUI. <D-…>
是Mac OS X上的Command键。该键只能由MacVim GUI看到。
vimrc
is not a very good idea. vimrc
复制设置不是一个好主意。 See :help key-notation
. 参见
:help key-notation
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.