This is bunch of vim tips that I gather from the internet.
" forces vim to source .vimrc file if it present in working directory
set exrc
" restrict usage of some commands in non-default .vimrc files
set secure
Install exuberant-ctags
sudo apt-get install exuberant-ctags
Generate tag file for vim
ctags .
or use this command if source code distributed on specific directory
ctags -R .
open file relative on cwd
, for example
vim src/grep.c
press CTRL+]
for navigate definition of function under the cursor and CTRL+T
for back in the last cursor position.