2010年6月30日 星期三

vim + ctags + cscope with plugin

taglist

cp taglist.vim /usr/share/vim/vi72/plugin
cp taglist.txt /usr/share/vim/vi72/doc

#alias vi='vim'
#unalias vi


http://c9s.blogspot.com/2007/07/vim-taglist-plugin.html

//my ~/.vimrc

"set vim
set number "display number of line
set ai "auto alignment
syntax on "color text
set tabstop=4 "tab is 4 spaces
set shiftwidth=4
set softtabstop=4
set nobackup "no vi backup
set cursorline "display the line for cursor
set tags=tags;
set autochdir
set hls
"overlapping
"set foldmethod=indent
"set foldlevel=3
hi ModeMsg ctermbg=none ctermfg=brown cterm=none


"set taglist [] = less than sign and greater than sign
"f12 is the fast link for creating TlistToggle
nnoremap [F12] :TlistToggle [CR]
let Tlist_Exit_OnlyWindow = 1
let Tlist_Use_Right_Window = 1
let Tlist_Show_One_File = 1

"set vim
set number "display number of line
set ai "auto alignment
syntax on "color text
set tabstop=4 "tab is 4 spaces
set shiftwidth=4
set softtabstop=4
set nobackup "no vi backup
set cursorline "display the line for cursor
"set tags=/home/joe/svncommint/trunk/tags
"set tags=/home/joe/project/luke/svn/trunk/tags
"set tags=/home/joe/project/luke/firmware/luke8/ramdisk/u-boot-2008.10/tags
"overlapping
"overlapping
"set foldmethod=indent
"set foldlevel=3
set tags=tags;
"set autochdir will affect the cscope

"set taglist
"f12 is the fast link for creating TlistToggle
let Tlist_Exit_OnlyWindow = 1
let Tlist_Use_Right_Window = 1
let Tlist_Show_One_File = 1
/////////////


ubuntu cscope + vim






沒有留言:

張貼留言