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:
1. https://a0gustinus.wordpress.com/2013/06/01/browsing-source-code-in-linux-vimcscope/
2. https://dougblack.io/words/a-good-vimrc.html
2. https://dougblack.io/words/a-good-vimrc.html
沒有留言:
張貼留言