update vim config
This commit is contained in:
parent
7f6aac2e53
commit
74382d3ab7
@ -29,10 +29,10 @@ map <leader>s :echom 'Source file' <bar> :so %<cr>
|
||||
imap ;; <Esc>
|
||||
|
||||
" 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
|
||||
map <silent> <leader>W :w suda://%<cr>
|
||||
" map <silent> <leader>W :w suda://%<cr>
|
||||
|
||||
" Comment the target of a motion
|
||||
map <silent> <leader>/ :Commentary<cr>
|
||||
@ -44,6 +44,8 @@ map <silent> <C-[> <<
|
||||
" (Re|Un)do
|
||||
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 {{{
|
||||
"" -----
|
||||
"
|
||||
|
@ -44,7 +44,7 @@ endfunction
|
||||
function s:config_vim()
|
||||
return [
|
||||
\ { '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': 'plugings', 'cmd': 'edit ~/.vim/plug.vim' },
|
||||
\ { 'line': "cet écran d'accueil", 'cmd': 'edit ~/.vim/startscreen.vim' },
|
||||
@ -64,6 +64,7 @@ let g:startify_lists = [
|
||||
let g:startify_bookmarks = [
|
||||
\ '~/.config/',
|
||||
\ '~/Dotfiles/',
|
||||
\ '~/Projets',
|
||||
\ '~/Projets/latex/latex-homework',
|
||||
\ '~/.asy'
|
||||
\ ]
|
||||
|
@ -426,7 +426,7 @@ let g:coc_disable_startup_warning = 1
|
||||
" Colorizer {{{
|
||||
" -----
|
||||
|
||||
let g:colorizer_auto_filetype='css,html'
|
||||
let g:colorizer_auto_filetype='css,html,xml,py,js'
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user