ajout raccourci
This commit is contained in:
parent
8745ccad80
commit
aa77b7b8f7
44
vimrc-conf
44
vimrc-conf
|
@ -24,57 +24,59 @@ filetype plugin indent on " required
|
|||
syntax on
|
||||
set smartindent
|
||||
set shiftround
|
||||
set cindent
|
||||
set wildmenu
|
||||
set cursorline
|
||||
set ignorecase
|
||||
set hlsearch
|
||||
set mouse=a
|
||||
set termwinsize=10x150
|
||||
set termwinsize=10x150 " Permet de réguler la taille du terminal
|
||||
|
||||
"Numérotation avec numbertoggle
|
||||
set number relativenumber
|
||||
|
||||
"Theme vim
|
||||
"colorscheme onedark
|
||||
colorscheme space-vim-dark
|
||||
|
||||
"Language vim
|
||||
let g:polyglot_enabled = ['sh', 'git', 'blade','scss','html5']
|
||||
|
||||
"Raccourcis Note
|
||||
nmap <F2> :call DevNotes()<CR>
|
||||
"Raccourci vertical split
|
||||
nmap <c-s> :vsplit<cr>
|
||||
|
||||
"Raccourcis NerdTree
|
||||
nnoremap <F3> :NERDTreeFocus<CR>
|
||||
nnoremap <F3> :NERDTreeToggle<CR>
|
||||
"Raccourci Note
|
||||
nmap <F2> :call DevNotes()<CR>
|
||||
|
||||
"Raccourcis historique
|
||||
nnoremap <F4> :UndotreeToggle<CR>
|
||||
"Raccourci NerdTree
|
||||
nnoremap <F3> :NERDTreeToggle<CR>
|
||||
|
||||
"Raccourcis terminal
|
||||
nnoremap <F5> :bot term<CR>
|
||||
"Raccourci historique
|
||||
nnoremap <F4> :UndotreeToggle<CR>
|
||||
|
||||
"Raccourci terminal
|
||||
nnoremap <F5> :bot term<CR>
|
||||
tnoremap <F6> <c-w>N
|
||||
|
||||
"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
|
||||
nmap <F7> :!elinks https://agreugr.eu<CR>
|
||||
nmap <F7> :!elinks https://agreugr.eu<CR>
|
||||
|
||||
"Raccourci onglet
|
||||
nmap <F8> :tabnew<CR>
|
||||
nmap <F9> :tabnext<CR>
|
||||
nmap <F8> :tabnew<CR>
|
||||
nmap <F9> :tabnext<CR>
|
||||
|
||||
"Fermeture de vimscode
|
||||
tnoremap <F10> <c-d>
|
||||
nnoremap <F10> :NERDTreeToggle<cr> > :wq<cr>
|
||||
tnoremap <F10> <c-d>
|
||||
nnoremap <F10> :NERDTreeToggle<cr> > :x<cr>
|
||||
|
||||
"Raccourci plugin installer
|
||||
nmap œ :PluginList<CR>
|
||||
nmap œ :PluginList<CR>
|
||||
|
||||
"Raccourci au lancement de vim
|
||||
|
||||
au VimEnter *.cpp :NERDTreeFocus
|
||||
au VimEnter *.cpp :NERDTreeFocus
|
||||
au VimEnter *.cpp :bot term
|
||||
|
||||
au VimEnter *.ino :NERDTreeFocus
|
||||
au VimEnter *.ino :NERDTreeFocus
|
||||
au VimEnter *.ino :bot term
|
||||
|
|
Loading…
Reference in a new issue