2017年11月20日 星期一

Vim Plugin Howto: NERDTree





1. NERDTree
  a. ":NERDTree" to open NERD Tree in vim
  b. "Up" : to move up cursor
  c. "Down" : to move down cursor
  d. "Enter" : to open a directory
  e. "o": to open a file
  e. "H" :to show or hide hidden files
  f. "R" : Refresh the tree, useful if files change outside of Vim
  h. "m" : show the NERD Tree menu
  i. "?" : NERD Tree quick help
  j. ":q" : exit 



Refer to:
  https://medium.com/usevim/nerd-tree-guide-bb22c803dcd2



2. CScope
1. Run cscope
cscope -R -b
2. 


 Ctrl-]  : split horizontal pane (editing new buffer)


 Ctrl-w s or ":spit" : split horizontal pane (editing current buffer)
 Ctrl-w v or ":vsplit" : split vertical pane (editing current buffer)





Refer to:









沒有留言:

張貼留言