ajout raccourci
This commit is contained in:
parent
8745ccad80
commit
aa77b7b8f7
20
vimrc-conf
20
vimrc-conf
|
@ -24,33 +24,36 @@ 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
|
||||
"Raccourci vertical split
|
||||
nmap <c-s> :vsplit<cr>
|
||||
|
||||
"Raccourci Note
|
||||
nmap <F2> :call DevNotes()<CR>
|
||||
|
||||
"Raccourcis NerdTree
|
||||
nnoremap <F3> :NERDTreeFocus<CR>
|
||||
"Raccourci NerdTree
|
||||
nnoremap <F3> :NERDTreeToggle<CR>
|
||||
|
||||
"Raccourcis historique
|
||||
"Raccourci historique
|
||||
nnoremap <F4> :UndotreeToggle<CR>
|
||||
|
||||
"Raccourcis terminal
|
||||
"Raccourci terminal
|
||||
nnoremap <F5> :bot term<CR>
|
||||
tnoremap <F6> <c-w>N
|
||||
|
||||
|
@ -66,13 +69,12 @@ nmap <F9> :tabnext<CR>
|
|||
|
||||
"Fermeture de vimscode
|
||||
tnoremap <F10> <c-d>
|
||||
nnoremap <F10> :NERDTreeToggle<cr> > :wq<cr>
|
||||
nnoremap <F10> :NERDTreeToggle<cr> > :x<cr>
|
||||
|
||||
"Raccourci plugin installer
|
||||
nmap œ :PluginList<CR>
|
||||
|
||||
"Raccourci au lancement de vim
|
||||
|
||||
au VimEnter *.cpp :NERDTreeFocus
|
||||
au VimEnter *.cpp :bot term
|
||||
|
||||
|
|
Loading…
Reference in a new issue