merging vimrc
This commit is contained in:
parent
e45b4905da
commit
4234763787
@ -37,11 +37,13 @@ endfunction
|
|||||||
nnoremap gd :YcmCompleter GoToDefinition<CR>
|
nnoremap gd :YcmCompleter GoToDefinition<CR>
|
||||||
nnoremap gr :YcmCompleter GoToReferences<CR>
|
nnoremap gr :YcmCompleter GoToReferences<CR>
|
||||||
nnoremap K :YcmCompleter GetDoc<CR>
|
nnoremap K :YcmCompleter GetDoc<CR>
|
||||||
|
noremap gN :Lex<CR>
|
||||||
nnoremap <F12> :Make<CR>
|
nnoremap <F12> :Make<CR>
|
||||||
nnoremap <leader><F12> :Make run<CR>
|
nnoremap <leader><F12> :Make run<CR>
|
||||||
|
|
||||||
"Documentation
|
"Documentation
|
||||||
" nnoremap K :execute 'Man' expand('<cexpr>')<cr>
|
"nnoremap K :execute 'Man' expand('<cexpr>')<cr>
|
||||||
|
nnoremap K :execute 'vert term' &keywordprg '<cexpr>'<cr>
|
||||||
command Curl :execute 'vert term lynx -dump' escape(@+, '#')
|
command Curl :execute 'vert term lynx -dump' escape(@+, '#')
|
||||||
command OpenLink :silent w !urlscan
|
command OpenLink :silent w !urlscan
|
||||||
command -nargs=? Man call fzf#run(fzf#wrap({'source': 'whatis ' . shellescape(<q-args>) . '| sed -r "s/(^\w*)\s\((.*)\).*/\2 \1/"', 'sink': function('ManPage') , 'options': ['--preview', 'MANPAGER=cat MANWIDTH='. (&columns/2-4) .' man {1} {2}']}))
|
command -nargs=? Man call fzf#run(fzf#wrap({'source': 'whatis ' . shellescape(<q-args>) . '| sed -r "s/(^\w*)\s\((.*)\).*/\2 \1/"', 'sink': function('ManPage') , 'options': ['--preview', 'MANPAGER=cat MANWIDTH='. (&columns/2-4) .' man {1} {2}']}))
|
||||||
@ -182,6 +184,7 @@ Plugin 'hdiniz/vim-gradle'
|
|||||||
"latex
|
"latex
|
||||||
|
|
||||||
Plugin 'lervag/vimtex'
|
Plugin 'lervag/vimtex'
|
||||||
|
Plugin 'gillescastel/latex-snippets'
|
||||||
|
|
||||||
"uml
|
"uml
|
||||||
Plugin 'weirongxu/plantuml-previewer.vim'
|
Plugin 'weirongxu/plantuml-previewer.vim'
|
||||||
|
Loading…
Reference in New Issue
Block a user