vim配置+cscope +ctags + taglist

set softtabstop=4                                                                                                       
set shiftwidth=4                                                                                                        
set tabstop=8                                                                                                           
set hlsearch                                                                                                            
set nu                                                                                                                  
                                                                                                                        
let Tlist_Use_Right_Window=1                                                                                            
let Tlist_File_Fold_Auto_Close=1                                                                                        
let Tlist_Exit_OnlyWindow=1                                                                                             
                                                                                                                        
colorscheme ron                                                                                                         
set cindent                                                                                                             
                                                                                                                        
                                                                                                                        
let Tlist_Auto_Open = 1                                                                                                 
let Tlist_Ctags_Cmd = '/usr/bin/ctags'                                                                                  
let Tlist_Show_One_File = 1                                                                                             
let Tlist_Exit_OnlyWindow = 1                                                                                           
                                                                                                                        
nmap <F3> :TlistOpen<cr>                                                                                                
nmap <F4> :TlistClose<cr>                                                                                               
                                                                                                                        
if has("autocmd")                                                                                                       
  au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif                          
endif     

你可能感兴趣的:(vim配置+cscope +ctags + taglist)