merging vimrc

This commit is contained in:
Debucquoy 2023-11-02 09:57:45 +01:00
parent e45b4905da
commit 4234763787
Signed by: tonitch
GPG Key ID: A78D6421F083D42E

View File

@ -37,11 +37,13 @@ endfunction
nnoremap gd :YcmCompleter GoToDefinition<CR>
nnoremap gr :YcmCompleter GoToReferences<CR>
nnoremap K :YcmCompleter GetDoc<CR>
noremap gN :Lex<CR>
nnoremap <F12> :Make<CR>
nnoremap <leader><F12> :Make run<CR>
"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 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}']}))
@ -182,6 +184,7 @@ Plugin 'hdiniz/vim-gradle'
"latex
Plugin 'lervag/vimtex'
Plugin 'gillescastel/latex-snippets'
"uml
Plugin 'weirongxu/plantuml-previewer.vim'