This commit is contained in:
Jeff Lance 2021-03-08 19:51:42 +01:00
parent e1220e4010
commit 08e8b1840a
2 changed files with 12 additions and 8 deletions

View File

@ -239,16 +239,17 @@ map <leader>r :call RenameFile()<cr>
" Open file under cursor " Open file under cursor
map <leader>o :call GotoFile("")<cr> map <leader>o :call GotoFile("")<cr>
map <leader>' ciw''<esc>P " Surround
map <leader>" c""<esc>P map <leader>' S'<cr>
map <leader>[ c[]<esc>P map <leader>" S"<cr>
map <leader>{ c{}<esc>P map <leader>[ S[<cr>
map <leader>{ S{<cr>
" Rewrap paragraph using <S-q> " " Rewrap paragraph using <S-q>
map <silent> <S-q> {gq}<Bar>:echo "Rewrapped paragraph"<CR> " map <silent> <S-q> {gq}<Bar>:echo "Rewrapped paragraph"<CR>
" Git " Git
map <silent> <leader>Gs :Git status<cr> map <leader>Gs :Git status<cr>
map <leader>Ga :Git add map <leader>Ga :Git add
map <leader>Gc :Git commit map <leader>Gc :Git commit
" ----- " -----

View File

@ -6,7 +6,7 @@
"""""""""""""""""""""""""""""""""""""""""""""""" """"""""""""""""""""""""""""""""""""""""""""""""
" __ _____ __ __ ____ _ _ _ ____ " __ _____ __ __ ____ _ _ _ ____
" \ \ / /_ _| \/ | | _ \| | | | | |/ ___| " \ \ / /_ _| \/ | | _ \| | | | | |/ ___|
" \ \ / / | || |\/| | | |_) | | | | | | | _ " \ \ / / | || |\/| | | |_) | | | | | | | _
" \ V / | || | | | | __/| |__| |_| | |_| | " \ V / | || | | | | __/| |__| |_| | |_| |
" \_/ |___|_| |_| |_| |_____\___/ \____| " \_/ |___|_| |_| |_| |_____\___/ \____|
@ -57,6 +57,9 @@ Plug 'editorconfig/editorconfig-vim'
" Folding " Folding
Plug 'Konfekt/FastFold' Plug 'Konfekt/FastFold'
" Grammalecte
Plug 'dpelle/vim-Grammalecte'
" Markdown " Markdown
Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() } } Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() } }
" Plug 'plasticboy/vim-markdown', { 'for': 'markdown' } " Plug 'plasticboy/vim-markdown', { 'for': 'markdown' }