From 4234763787aaa75ccbd42243b1c6d63a43de5adf Mon Sep 17 00:00:00 2001 From: Debucquoy Date: Thu, 2 Nov 2023 09:57:45 +0100 Subject: [PATCH] merging vimrc --- vim/.vimrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vim/.vimrc b/vim/.vimrc index 23a2bb1..8801c69 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -37,11 +37,13 @@ endfunction nnoremap gd :YcmCompleter GoToDefinition nnoremap gr :YcmCompleter GoToReferences nnoremap K :YcmCompleter GetDoc +noremap gN :Lex nnoremap :Make nnoremap :Make run "Documentation -" nnoremap K :execute 'Man' expand('') +"nnoremap K :execute 'Man' expand('') +nnoremap K :execute 'vert term' &keywordprg '' command Curl :execute 'vert term lynx -dump' escape(@+, '#') command OpenLink :silent w !urlscan command -nargs=? Man call fzf#run(fzf#wrap({'source': 'whatis ' . shellescape() . '| 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'