.vimrc_vundle: add \V for source .vimrc; \h and \p for ft=html / php
This commit is contained in:
parent
31da965a4b
commit
8aebe7be85
|
@ -71,7 +71,7 @@ highlight LineNr ctermbg=black ctermfg=gray
|
||||||
" ligne et colonne courante: activation en mode insert et pas en mode normal
|
" ligne et colonne courante: activation en mode insert et pas en mode normal
|
||||||
:autocmd InsertEnter,InsertLeave * set cursorline! cursorcolumn!
|
:autocmd InsertEnter,InsertLeave * set cursorline! cursorcolumn!
|
||||||
highlight CursorLine term=underline cterm=underline
|
highlight CursorLine term=underline cterm=underline
|
||||||
set cursorcolumn
|
set cursorcolumn cursorline
|
||||||
" highlight CursorColumn term=none cterm=none ctermbg=grey ctermfg=black
|
" highlight CursorColumn term=none cterm=none ctermbg=grey ctermfg=black
|
||||||
highlight CursorColumn term=underline cterm=underline
|
highlight CursorColumn term=underline cterm=underline
|
||||||
"""""""""""""""""""
|
"""""""""""""""""""
|
||||||
|
@ -271,14 +271,22 @@ nmap J <C-d>
|
||||||
" speed up
|
" speed up
|
||||||
" edit .vimrc
|
" edit .vimrc
|
||||||
nmap <Leader>v :vs ~/.vimrc<Cr>
|
nmap <Leader>v :vs ~/.vimrc<Cr>
|
||||||
imap <Leader>v <Esc>:vs ~/.vimrc<Cr>
|
imap <Leader>v <Esc>:vs ~/.vimrc<Cr>i
|
||||||
|
" source .vimrc
|
||||||
|
nmap <Leader>V :source ~/.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>
|
||||||
|
" html + php
|
||||||
|
nmap <Leader>h :set ft=html<Cr>
|
||||||
|
nmap <Leader>p :set ft=php<Cr>
|
||||||
|
|
||||||
|
|
||||||
" vim-table-mode
|
" vim-table-mode
|
||||||
" :TableModeToggle pour activer/deactiver
|
" :TableModeToggle pour activer/deactiver
|
||||||
" table cpmatible rst
|
" table cpmatible rst
|
||||||
|
" racourcis:
|
||||||
|
" visual + :Tableize pour transformer csv (avec ,) en table
|
||||||
let g:table_mode_corner_corner='+'
|
let g:table_mode_corner_corner='+'
|
||||||
let g:table_mode_header_fillchar='='
|
let g:table_mode_header_fillchar='='
|
||||||
nmap <Leader>tm <Esc>:TableModeToggle<cr>
|
nmap <Leader>tm <Esc>:TableModeToggle<cr>
|
||||||
|
|
Loading…
Reference in New Issue