User Tools

Site Tools


software:vimrc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
software:vimrc [2019/08/27 10:19]
solar
software:vimrc [2022/03/28 07:59] (current)
solar
Line 8: Line 8:
 set expandtab                                 " No TABs... set expandtab                                 " No TABs...
 autocmd FileType make set noexpandtab         " ...except in Makefiles autocmd FileType make set noexpandtab         " ...except in Makefiles
 +autocmd FileType cpp set keywordprg=cppman    " Using cppman for 'K' keyword help in C++ files
 +autocmd BufWritePost *.c,*.h,*.cs silent! !ctags . & " Ctrl-], Ctrl-t
  
 " If some system gives you problems with encodings and you suspect a " If some system gives you problems with encodings and you suspect a
Line 34: Line 36:
 set mouse=a                                   " Enable mouse support for all modes set mouse=a                                   " Enable mouse support for all modes
 set pastetoggle=<F2>                          " Toggle 'paste' mode to en-/disable auto-formatting of pasted text set pastetoggle=<F2>                          " Toggle 'paste' mode to en-/disable auto-formatting of pasted text
 +
 +set tags=./tags;$HOME
  
 highlight ColorColumn ctermbg=magenta highlight ColorColumn ctermbg=magenta
Line 89: Line 93:
 let g:Tex_Env_list = "\\begin{lstlisting}[<++>]\<CR><++>\<CR>\\end{lstlisting}<++>"  " list<F5> gives lstlisting environment let g:Tex_Env_list = "\\begin{lstlisting}[<++>]\<CR><++>\<CR>\\end{lstlisting}<++>"  " list<F5> gives lstlisting environment
 let g:Tex_Com_list = "\\lstinline{<++>}<++>"                                         " list<F7> gives lstinline command let g:Tex_Com_list = "\\lstinline{<++>}<++>"                                         " list<F7> gives lstinline command
- 
-" Settings for vim-conque (https://code.google.com/p/conque/) 
-let g:ConqueTerm_CloseOnEnd = 1               " Close buffer when shell exits 
-let g:ConqueTerm_CWInsert = 1                 " Allow <C-w> to switch buffer without leaving insert mode 
-let g:ConqueTerm_InsertOnEnter = 1            " Automatically enter insert mode when switching to Conque buffer 
 </file> </file>
  
software/vimrc.1566893989.txt.gz ยท Last modified: 2019/08/27 10:19 by solar