update vim config

This commit is contained in:
Jeff Lance 2021-01-31 17:45:29 +01:00
parent 7f6aac2e53
commit 74382d3ab7
3 changed files with 18 additions and 4 deletions

View File

@ -29,10 +29,10 @@ map <leader>s :echom 'Source file' <bar> :so %<cr>
imap ;; <Esc> imap ;; <Esc>
" Open a current file with sudo " Open a current file with sudo
map <silent> <leader>E :e suda://%<cr> " map <silent> <leader>E :e suda://%<cr>
" Save a current file with sudo " Save a current file with sudo
map <silent> <leader>W :w suda://%<cr> " map <silent> <leader>W :w suda://%<cr>
" Comment the target of a motion " Comment the target of a motion
map <silent> <leader>/ :Commentary<cr> map <silent> <leader>/ :Commentary<cr>
@ -44,6 +44,8 @@ map <silent> <C-[> <<
" (Re|Un)do " (Re|Un)do
map <silent> <C-u> uu map <silent> <C-u> uu
" Save as
map <C-s> :saveas<cr>
" ----- " -----
" }}} " }}}
@ -250,6 +252,17 @@ map <f4> :AddHeader<cr>
" }}} " }}}
" Plug {{{
" -----
map Pud :PlugUpdate<cr>
map Pug :PlugUpgrade<cr>
map Pui :PlugInstall<cr>
" -----
" }}}
"" REPL {{{ "" REPL {{{
"" ----- "" -----
" "

View File

@ -44,7 +44,7 @@ endfunction
function s:config_vim() function s:config_vim()
return [ return [
\ { 'line': 'général', 'cmd': 'edit ~/.vimrc' }, \ { 'line': 'général', 'cmd': 'edit ~/.vimrc' },
\ { 'line': 'fonctions', 'cmd': 'edit ~/.vim/plug.vim' }, \ { 'line': 'fonctions', 'cmd': 'edit ~/.vim/functions.vim' },
\ { 'line': 'raccourcis clavier', 'cmd': 'edit ~/.vim/keybindings.vim' }, \ { 'line': 'raccourcis clavier', 'cmd': 'edit ~/.vim/keybindings.vim' },
\ { 'line': 'plugings', 'cmd': 'edit ~/.vim/plug.vim' }, \ { 'line': 'plugings', 'cmd': 'edit ~/.vim/plug.vim' },
\ { 'line': "cet écran d'accueil", 'cmd': 'edit ~/.vim/startscreen.vim' }, \ { 'line': "cet écran d'accueil", 'cmd': 'edit ~/.vim/startscreen.vim' },
@ -64,6 +64,7 @@ let g:startify_lists = [
let g:startify_bookmarks = [ let g:startify_bookmarks = [
\ '~/.config/', \ '~/.config/',
\ '~/Dotfiles/', \ '~/Dotfiles/',
\ '~/Projets',
\ '~/Projets/latex/latex-homework', \ '~/Projets/latex/latex-homework',
\ '~/.asy' \ '~/.asy'
\ ] \ ]

View File

@ -426,7 +426,7 @@ let g:coc_disable_startup_warning = 1
" Colorizer {{{ " Colorizer {{{
" ----- " -----
let g:colorizer_auto_filetype='css,html' let g:colorizer_auto_filetype='css,html,xml,py,js'
" ----- " -----
" }}} " }}}