From 82c73b7b0db6704d3da9a981f30a4dc4dca8a0c0 Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Mon, 5 Apr 2021 03:54:46 +0200 Subject: [PATCH] [VIM] Tagbar config, Nerdtree extended UI --- vim/config/keybindings.vim | 2 ++ vim/config/pluginconfig.vim | 20 ++++---------------- vim/config/plugins.vim | 6 ------ 3 files changed, 6 insertions(+), 22 deletions(-) diff --git a/vim/config/keybindings.vim b/vim/config/keybindings.vim index 506f633..c72dc14 100644 --- a/vim/config/keybindings.vim +++ b/vim/config/keybindings.vim @@ -50,6 +50,8 @@ cmap w!! w !sudo tee > /dev/null % " Toggle Case nmap g~iw +nmap :TagbarToggle + " Rmarkdown autocmd Filetype rmd nmap :w\|:!echo"require(rmarkdown);render('%')"\|R--vanilla autocmd Filetype rmd imap :w\|:!echo"require(rmarkdown);render('%')"\|R--vanilla diff --git a/vim/config/pluginconfig.vim b/vim/config/pluginconfig.vim index cce5f91..5ea58ad 100644 --- a/vim/config/pluginconfig.vim +++ b/vim/config/pluginconfig.vim @@ -40,7 +40,7 @@ let g:NERDTrimTrailingWhitespace = 1 " NerdTree -let NERDTreeMinimalUI = 1 +let NERDTreeMinimalUI = 0 let g:NERDTreeHighlightFolders = 1 let g:NERDTreeHighlightFoldersFullName = 1 @@ -63,18 +63,9 @@ let g:python_highlight_all = 1 let g:SimpylFold_docstring_preview = 1 -" Supertab -" let g:SuperTabDefaultCompletionType = "" - - " Ale let g:ale_linters = {"python": ["flake8"], "python3": ["flake8"]} - -" UltiSnips -let g:UltiSnipsJumpForwardTrigger="" -let g:UltiSnipsJumpBackwardTrigger="" - " VIM-MARKDOWN let g:markdown_syntax_conceal=0 let g:vim_markdown_conceal = 0 @@ -84,12 +75,6 @@ let g:vim_markdown_conceal = 0 autocmd BufEnter *[^(.rmd|.snippets)] EnableStripWhitespaceOnSave autocmd BufEnter *.snippets DisableStripWhitespaceOnSave - -" Workspaces -let g:workspace_session_name = '.vsession' -let g:workspace_autosave = 0 -let g:workspace_autosave_untrailspaces = 0 - " Yankstack let g:yankstack_map_keys = 0 call yankstack#setup() @@ -210,3 +195,6 @@ nnoremap j :CocNext nnoremap k :CocPrev " Resume latest coc list nnoremap p :CocListResume + +" Open Tagbar +autocmd VimEnter * nested :call tagbar#autoopen(1) diff --git a/vim/config/plugins.vim b/vim/config/plugins.vim index c947b72..882d925 100644 --- a/vim/config/plugins.vim +++ b/vim/config/plugins.vim @@ -43,12 +43,6 @@ Plug 'ryanoasis/vim-devicons' Plug 'junegunn/goyo.vim' -" Snippets -" Plug 'SirVer/ultisnips' -" Plug 'honza/vim-snippets' -" Plug 'bonsaiben/bootstrap-snippets' -" Plug 'rbonvall/snipmate-snippets-bib' - " Compilers Plug 'xuhdev/singlecompile'