Clean up redundant vim plugins
This commit is contained in:
parent
9e620f2330
commit
4c970fd616
12
vim/.vimrc
12
vim/.vimrc
|
@ -24,19 +24,10 @@ nnoremap <leader>n :noh<cr>
|
||||||
"Move the current line up or down
|
"Move the current line up or down
|
||||||
nnoremap <leader>k :m-2<cr>==
|
nnoremap <leader>k :m-2<cr>==
|
||||||
nnoremap <leader>j :m+<cr>==
|
nnoremap <leader>j :m+<cr>==
|
||||||
"Gina status and commit shotcuts
|
|
||||||
nnoremap <leader>gs :Gina status<cr>
|
|
||||||
nnoremap <leader>gc :Gina commit<cr>
|
|
||||||
""Markdown
|
""Markdown
|
||||||
au FileType markdown Goyo
|
au FileType markdown Goyo
|
||||||
let g:markdown_fenced_languages = ['cpp', 'python', 'java', 'sql']
|
let g:markdown_fenced_languages = ['cpp', 'python', 'java', 'sql']
|
||||||
let g:vim_markdown_math=1
|
let g:vim_markdown_math=1
|
||||||
""Pandoc
|
|
||||||
autocmd FileType markdown nnoremap <silent> <F3> :<c-u>!pandoc %:p:S -o %:p:r:S.pdf --from markdown --template eisvogel --listings --toc -V lang=es &<cr>
|
|
||||||
autocmd FileType markdown nnoremap <silent> <F4> :<c-u>!pandoc %:p:S -o %:p:r:S.pdf --from markdown --template handout &<cr>
|
|
||||||
autocmd FileType markdown nnoremap <silent> <F5> :<c-u>!pandoc %:p:S -o %:p:r:S.pdf --from markdown --template assignment &<cr>
|
|
||||||
autocmd FileType markdown nnoremap <silent> <F6> :<c-u>!zathura %:p:r:S.pdf &<cr>
|
|
||||||
autocmd FileType markdown nnoremap <silent> <F7> :<c-u>!rm %:p:r:S.pdf &<cr>
|
|
||||||
""Snippets
|
""Snippets
|
||||||
let g:UltiSnipsExpandTrigger = '<tab>'
|
let g:UltiSnipsExpandTrigger = '<tab>'
|
||||||
let g:UltiSnipsJumpForwardTrigger = '<tab>'
|
let g:UltiSnipsJumpForwardTrigger = '<tab>'
|
||||||
|
@ -46,9 +37,6 @@ call plug#begin('~/.vim/plugged')
|
||||||
Plug 'plasticboy/vim-markdown', { 'for': 'markdown' }
|
Plug 'plasticboy/vim-markdown', { 'for': 'markdown' }
|
||||||
Plug 'junegunn/goyo.vim', { 'on': 'Goyo' }
|
Plug 'junegunn/goyo.vim', { 'on': 'Goyo' }
|
||||||
Plug 'SirVer/ultisnips', { 'for': 'markdown' }
|
Plug 'SirVer/ultisnips', { 'for': 'markdown' }
|
||||||
Plug 'lambdalisue/gina.vim'
|
|
||||||
Plug 'airblade/vim-gitgutter'
|
|
||||||
Plug 'tpope/vim-surround'
|
|
||||||
Plug 'Raimondi/delimitMate'
|
Plug 'Raimondi/delimitMate'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
""Quitting whether Goyo is active or not
|
""Quitting whether Goyo is active or not
|
||||||
|
|
Loading…
Reference in New Issue