ajustement vimrc
This commit is contained in:
parent
64d5df63b3
commit
e231b6c072
34
vimrc-conf
34
vimrc-conf
|
@ -28,7 +28,7 @@ set wildmenu
|
||||||
set cursorline
|
set cursorline
|
||||||
set hlsearch
|
set hlsearch
|
||||||
set mouse=a
|
set mouse=a
|
||||||
set termwinsize=10x150
|
set termwinsize=10x150
|
||||||
|
|
||||||
"Numérotation avec numbertoggle
|
"Numérotation avec numbertoggle
|
||||||
set number relativenumber
|
set number relativenumber
|
||||||
|
@ -41,40 +41,40 @@ colorscheme space-vim-dark
|
||||||
let g:polyglot_enabled = ['sh', 'git', 'blade','scss','html5']
|
let g:polyglot_enabled = ['sh', 'git', 'blade','scss','html5']
|
||||||
|
|
||||||
"Raccourcis Note
|
"Raccourcis Note
|
||||||
nmap <F2> :call DevNotes()<CR>
|
nmap <F2> :call DevNotes()<CR>
|
||||||
|
|
||||||
"Raccourcis NerdTree
|
"Raccourcis NerdTree
|
||||||
nnoremap <F3> :NERDTreeFocus<CR>
|
nnoremap <F3> :NERDTreeFocus<CR>
|
||||||
nnoremap <F3> :NERDTreeToggle<CR>
|
nnoremap <F3> :NERDTreeToggle<CR>
|
||||||
|
|
||||||
"Raccourcis historique
|
"Raccourcis historique
|
||||||
nnoremap <F4> :UndotreeToggle<CR>
|
nnoremap <F4> :UndotreeToggle<CR>
|
||||||
|
|
||||||
"Raccourcis terminal
|
"Raccourcis terminal
|
||||||
nnoremap <F5> :bot term<CR>
|
nnoremap <F5> :bot term<CR>
|
||||||
tnoremap <F6> <c-w>N
|
tnoremap <F6> <c-w>N
|
||||||
|
|
||||||
"Raccourci vers une recherche duckduckgo
|
"Raccourci vers une recherche duckduckgo
|
||||||
vmap g :<C-U> !firefox "https://duckduckgo.com/?q=<cword>&t=newext&atb=v372-6&ia=web" >& /dev/null <CR><CR>
|
vmap g :<C-U> !firefox "https://duckduckgo.com/?q=<cword>&t=newext&atb=v372-6&ia=web" >& /dev/null <CR><CR>
|
||||||
|
|
||||||
"Raccourci vers aide vim
|
"Raccourci vers aide vim
|
||||||
nmap <F7> :!elinks https://agreugr.eu<CR>
|
nmap <F7> :!elinks https://agreugr.eu<CR>
|
||||||
|
|
||||||
"Raccourci onglet
|
"Raccourci onglet
|
||||||
nmap <F8> :tabnew<CR>
|
nmap <F8> :tabnew<CR>
|
||||||
nmap <F9> :tabnext<CR>
|
nmap <F9> :tabnext<CR>
|
||||||
|
|
||||||
"Fermeture de vimscode
|
"Fermeture de vimscode
|
||||||
tnoremap <F10> <c-d>
|
tnoremap <F10> <c-d>
|
||||||
nnoremap <F10> :NERDTreeToggle<cr> > :wq<cr>
|
nnoremap <F10> :NERDTreeToggle<cr> > :wq<cr>
|
||||||
|
|
||||||
"Raccourci plugin installer
|
"Raccourci plugin installer
|
||||||
nmap œ :PluginList<CR>
|
nmap œ :PluginList<CR>
|
||||||
|
|
||||||
"Raccourci au lancement de vim
|
"Raccourci au lancement de vim
|
||||||
|
|
||||||
au VimEnter *.cpp :NERDTreeFocus
|
au VimEnter *.cpp :NERDTreeFocus
|
||||||
au VimEnter *.cpp :bot term
|
au VimEnter *.cpp :bot term
|
||||||
|
|
||||||
au VimEnter *.ino :NERDTreeFocus
|
au VimEnter *.ino :NERDTreeFocus
|
||||||
au VimEnter *.ino :bot term
|
au VimEnter *.ino :bot term
|
||||||
|
|
Loading…
Reference in a new issue