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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值