[vim] Cleaning
This commit is contained in:
parent
063c081b25
commit
214a033e6f
22
.vimrc
22
.vimrc
@ -35,6 +35,8 @@
|
||||
"""""""""""
|
||||
" disable vi-compatible mode
|
||||
set nocompatible
|
||||
syntax on
|
||||
filetype plugin on
|
||||
"set clipboard=unnamed
|
||||
""""""""
|
||||
" SAVE "
|
||||
@ -369,11 +371,9 @@ nmap <S-F10> zo<CR><CR>
|
||||
""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
"Omni-completion par CTRL-X_CTRL-O
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
filetype plugin on
|
||||
set omnifunc=syntaxcomplete#Complete
|
||||
|
||||
|
||||
" Enable omnicppcompletion
|
||||
set nocp
|
||||
filetype plugin on
|
||||
@ -384,24 +384,6 @@ let OmniCpp_MayCompleteArrow = 1 " autocomplete after ->
|
||||
let OmniCpp_MayCompleteScope = 1 " autocomplete after ::
|
||||
set path=.,..,/usr/local/include,/usr/include
|
||||
|
||||
" Will search from current dir to home
|
||||
set tags+=./tags;$HOME
|
||||
set tags+=./tags " in file directory
|
||||
set tags+=tags " in current directory
|
||||
"for when programming in build dir
|
||||
set tags+=../tags
|
||||
"set tags+=~/vim/tags/systags
|
||||
|
||||
""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
"Poser une marque visible avec F7
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
"hi Mark guibg=indianred guifg=white gui=bold cterm=bold ctermfg=7 ctermbg=1
|
||||
"sign define mark text=!> texthl=Mark
|
||||
"map <F7> :exe 'sign place 001 name=mark line='.line(".").' buffer='.winbufnr(0)<CR>
|
||||
"map <C-F7> :sign unplace<CR>
|
||||
|
||||
|
||||
|
||||
"""""""""""""
|
||||
" Latex "
|
||||
"""""""""""""
|
||||
|
Loading…
Reference in New Issue
Block a user