Source code development and navigation tool
- Copy the vinstall file to your home directory
- Run the installation file "./vinstall"
- Done!
Note: During the installation, installation script will take backup of your old .bash*, .vim*, .screenrc*, .netrc* and few other . xx files and will be stored in backup folder in home directory.
- Go to source code base folder
- Run the "gtags" command
- Done!
Jump to definition ( CTRL + \) or (CTRL + xx) or ( CTRL +])
Jump to Reference ( CTRL + r) or (CTRL + r + r)
Find raw strings ( CTRL + g), Find regex strings (CTRL + gg)
Auto complete( just press . or -> )
Find within a file or find within a search result( CTRL + SS)
Jump/return Back to previous navigation (CTRL + D), Close current Tag(CTRL + D)
Multiple Word highlight/unhighlight ( CTRL + <SPACE> )
Seach with KG tools (CTRL + FF)
Background Theme ~/.vimrc: let g:vim_background_color_scheme = 'klight'
~/.vimrc: let g:vim_background_color_scheme = 'kdark'
Multiple Cliboard Copy and Paste Copy:
-
Select + Yank (CTRL+v / SHIFT +V + Y)
-
Select + Yank (CTRL+v / SHIFT +V + Y)
-
Select + Yank (CTRL+v / SHIFT +V + Y)
Paste: 3. Paste last (CTRL + P / CTRL + N)
-
Paste Second last ( CTRL+P CTRL+P / CTRL+N CTRL+N)
-
Paste third last ( CTRL+P CTRL+P CTRL+P / CTRL+N CTRL+N CTRL+N)
and so on...
X-PATTERN: sym<TAB><TAB> => Symbol automplete
R-PATTERN: sym<TAB><TAB> => Symbol automplete
P-PATTERN: file<TAB><TAB> => File name automplete
To Comment:
Selete block + <CTRL + C>
To UnComment:
Selete block + <CTRL + X>
x <symbol name> => Open the vim and jumps to definition
r <symbol name> => Open the vim and list all the references
p <file name> => Open the file in vim
x sym<TAB><TAB> => Auto complete the symbol
export GTAGSLIBPATH=