[vim] Cleaning

This commit is contained in:
Mathieu Maret 2015-07-07 15:02:12 +02:00
parent 063c081b25
commit 214a033e6f

22
.vimrc
View File

@ -35,6 +35,8 @@
""""""""""" """""""""""
" disable vi-compatible mode " disable vi-compatible mode
set nocompatible set nocompatible
syntax on
filetype plugin on
"set clipboard=unnamed "set clipboard=unnamed
"""""""" """"""""
" SAVE " " SAVE "
@ -369,11 +371,9 @@ nmap <S-F10> zo<CR><CR>
"""""""""""""""""""""""""""""""""""""""""""""""""" """"""""""""""""""""""""""""""""""""""""""""""""""
"Omni-completion par CTRL-X_CTRL-O "Omni-completion par CTRL-X_CTRL-O
""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""
filetype plugin on filetype plugin on
set omnifunc=syntaxcomplete#Complete set omnifunc=syntaxcomplete#Complete
" Enable omnicppcompletion " Enable omnicppcompletion
set nocp set nocp
filetype plugin on filetype plugin on
@ -384,24 +384,6 @@ let OmniCpp_MayCompleteArrow = 1 " autocomplete after ->
let OmniCpp_MayCompleteScope = 1 " autocomplete after :: let OmniCpp_MayCompleteScope = 1 " autocomplete after ::
set path=.,..,/usr/local/include,/usr/include 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 " " Latex "
""""""""""""" """""""""""""