2015-12-26 159 views
0
" ==== 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> 

我可能不明白,鍵映射意味着:VIM NERDTree鍵映射

`nmap <D-N>` maps `D` - Mac Command key ? 

回答

1

<D-…>是在Mac OS X上的Command鍵即密鑰只能通過GUI的MacVim可以看到。

  • 該映射做了的MacVim GUI之外什麼都沒有,從別人的vimrc
  • 複製的設置是不是一個很好的主意。

參見:help key-notation