ajout raccourci

This commit is contained in:
bastien 2023-06-20 17:36:32 +02:00
parent 8745ccad80
commit aa77b7b8f7

View file

@ -24,33 +24,36 @@ filetype plugin indent on " required
syntax on syntax on
set smartindent set smartindent
set shiftround set shiftround
set cindent
set wildmenu set wildmenu
set cursorline set cursorline
set ignorecase
set hlsearch set hlsearch
set mouse=a set mouse=a
set termwinsize=10x150 set termwinsize=10x150 " Permet de réguler la taille du terminal
"Numérotation avec numbertoggle "Numérotation avec numbertoggle
set number relativenumber set number relativenumber
"Theme vim "Theme vim
"colorscheme onedark
colorscheme space-vim-dark colorscheme space-vim-dark
"Language vim "Language vim
let g:polyglot_enabled = ['sh', 'git', 'blade','scss','html5'] 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> nmap <F2> :call DevNotes()<CR>
"Raccourcis NerdTree "Raccourci NerdTree
nnoremap <F3> :NERDTreeFocus<CR>
nnoremap <F3> :NERDTreeToggle<CR> nnoremap <F3> :NERDTreeToggle<CR>
"Raccourcis historique "Raccourci historique
nnoremap <F4> :UndotreeToggle<CR> nnoremap <F4> :UndotreeToggle<CR>
"Raccourcis terminal "Raccourci terminal
nnoremap <F5> :bot term<CR> nnoremap <F5> :bot term<CR>
tnoremap <F6> <c-w>N tnoremap <F6> <c-w>N
@ -66,13 +69,12 @@ 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> > :x<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