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
map <leader>o :call GotoFile("")<cr>
map <leader>' ciw''<esc>P
map <leader>" c""<esc>P
map <leader>[ c[]<esc>P
map <leader>{ c{}<esc>P
" Surround
map <leader>' S'<cr>
map <leader>" S"<cr>
map <leader>[ S[<cr>
map <leader>{ S{<cr>
" Rewrap paragraph using <S-q>
map <silent> <S-q> {gq}<Bar>:echo "Rewrapped paragraph"<CR>
" " Rewrap paragraph using <S-q>
" map <silent> <S-q> {gq}<Bar>:echo "Rewrapped paragraph"<CR>
" Git
map <silent> <leader>Gs :Git status<cr>
map <leader>Gs :Git status<cr>
map <leader>Ga :Git add
map <leader>Gc :Git commit
" -----

View File

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