global+ctags+taglist.vim(:TlistToggle)+vimExplorer.vim搭配使用

1.gtags.vim, gtags-cscope.vim

 

2.taglist.vim

:TlistToggle

 

3.File Explorer or File Manager

 

3.1.Vim built-in file explorer

:S

 

3.2.vimExplorer.vim

 

:VE //open VimExplorer
<Backspace> //to the parent in the file tree
<Enter> //open the file using its associated default application
e   //open selected file in a new tab
;c  //start a shell from current path.
;e  //start another file manager(nautilus,konquer)
dd  //delete file under cursor
+f  //create a new file.
+d  //create a new directory.
m{a-z}  //put current path to register(a-z).
'{a-z}  //jump to path in register(a-z).
J       //view path in register.

 

 

3.3.NERD_tree.vim(似乎更好用些)

:NERDTree //open the NERD tree
o.......Open selected file, or expand selected dir
go......Open selected file, but leave cursor in the NERDTree
t.......Open selected node in a new tab
T.......Same as 't' but keep the focus on the current tab
<tab>...Open selected file in a split window
g<tab>..Same as <tab>, but leave the cursor on the NERDTree
!.......Execute the current file
O.......Recursively open the selected directory
x.......Close the current nodes parent
X.......Recursively close all children of the current node
e.......Open a netrw for the current dir

 

 

global+ctags搭配使用。。。

 

我的vim配置:

.

|-- doc

|   |-- gdb.txt

|   |-- tags

|   `-- vimExplorer.txt

|-- macros

|   `-- gdb_mappings.vim

|-- plugin

|   |-- NERD_tree.vim

|   |-- gtags-cscope.vim

|   |-- gtags.vim

|   |-- taglist.vim

|   `-- vimExplorer.vim

`-- syntax

    |-- gdb.vim

    |-- gdbvar.vim

    `-- gdbvim.vim

 

4 directories, 12 files

你可能感兴趣的:(manager,shell,File,vim,Path,macros)