.vimrc_vundle: add plugin table-vim and change cursorline and column /

insert mode
This commit is contained in:
masterzu 2018-06-01 15:22:50 +02:00
parent 15dc3e9f6b
commit 31da965a4b
1 changed files with 18 additions and 3 deletions

View File

@ -23,6 +23,9 @@ Plugin 'tpope/vim-surround'
Plugin 'ciscoacl.vim' Plugin 'ciscoacl.vim'
" https://github.com/dhruvasagar/vim-table-mode
Plugin 'dhruvasagar/vim-table-mode'
" language " language
" Plugin 'octol/vim-cpp-enhanced-highlight' " Plugin 'octol/vim-cpp-enhanced-highlight'
" C++ http://www.vim.org/scripts/script.php?script_id=3302 " C++ http://www.vim.org/scripts/script.php?script_id=3302
@ -47,7 +50,7 @@ set printoptions=left:5pt,right:5pt,top:5pt,bottom:5pt,number:y,duplex:off,wrap:
set printheader=%<%F\ -\ page\ %N%=Print\ at\ %{strftime(\'%Y-%m-%d\ %H:%M\')} set printheader=%<%F\ -\ page\ %N%=Print\ at\ %{strftime(\'%Y-%m-%d\ %H:%M\')}
" FIXME set printfont=:h18 " FIXME set printfont=:h18
" modeline : enable vim:<space> [ vim_set ] + " modeline : enable « vim:<space> [ vim_set ] + »
set modeline set modeline
""""""""""""""""""" """""""""""""""""""
@ -65,9 +68,12 @@ set number
highlight LineNr ctermbg=black ctermfg=gray highlight LineNr ctermbg=black ctermfg=gray
""""""""""""""""""" """""""""""""""""""
" ligne courante " ligne et colonne courante: activation en mode insert et pas en mode normal
set cursorline :autocmd InsertEnter,InsertLeave * set cursorline! cursorcolumn!
highlight CursorLine term=underline cterm=underline highlight CursorLine term=underline cterm=underline
set cursorcolumn
" highlight CursorColumn term=none cterm=none ctermbg=grey ctermfg=black
highlight CursorColumn term=underline cterm=underline
""""""""""""""""""" """""""""""""""""""
" Search/IncSearch " Search/IncSearch
set hlsearch set hlsearch
@ -269,3 +275,12 @@ imap <Leader>v <Esc>:vs ~/.vimrc<Cr>
" quick save " quick save
imap <Leader>s <Esc>:w<Cr>i imap <Leader>s <Esc>:w<Cr>i
nmap <Leader>s :w<Cr> nmap <Leader>s :w<Cr>
" vim-table-mode
" :TableModeToggle pour activer/deactiver
" table cpmatible rst
let g:table_mode_corner_corner='+'
let g:table_mode_header_fillchar='='
nmap <Leader>tm <Esc>:TableModeToggle<cr>
imap <Leader>tm <Esc>:TableModeToggle<cr>i