[VIM] Tagbar config, Nerdtree extended UI

This commit is contained in:
Tobias Manske 2021-04-05 03:54:46 +02:00
parent b80e034907
commit 82c73b7b0d
Signed by: tobias
GPG Key ID: D5914DC71F2F9352
3 changed files with 6 additions and 22 deletions

View File

@ -50,6 +50,8 @@ cmap w!! w !sudo tee > /dev/null %
" Toggle Case " Toggle Case
nmap <C-c> g~iw nmap <C-c> g~iw
nmap <F2> :TagbarToggle<CR>
" Rmarkdown " Rmarkdown
autocmd Filetype rmd nmap <F5> :w\|:!echo<space>"require(rmarkdown);<space>render('<c-r>%')"<space>\|<space>R<space>--vanilla<enter> autocmd Filetype rmd nmap <F5> :w\|:!echo<space>"require(rmarkdown);<space>render('<c-r>%')"<space>\|<space>R<space>--vanilla<enter>
autocmd Filetype rmd imap <F5> <ESC><ESC>:w\|:!echo<space>"require(rmarkdown);<space>render('<c-r>%')"<space>\|<space>R<space>--vanilla<enter> autocmd Filetype rmd imap <F5> <ESC><ESC>:w\|:!echo<space>"require(rmarkdown);<space>render('<c-r>%')"<space>\|<space>R<space>--vanilla<enter>

View File

@ -40,7 +40,7 @@ let g:NERDTrimTrailingWhitespace = 1
" NerdTree " NerdTree
let NERDTreeMinimalUI = 1 let NERDTreeMinimalUI = 0
let g:NERDTreeHighlightFolders = 1 let g:NERDTreeHighlightFolders = 1
let g:NERDTreeHighlightFoldersFullName = 1 let g:NERDTreeHighlightFoldersFullName = 1
@ -63,18 +63,9 @@ let g:python_highlight_all = 1
let g:SimpylFold_docstring_preview = 1 let g:SimpylFold_docstring_preview = 1
" Supertab
" let g:SuperTabDefaultCompletionType = "<c-space>"
" Ale " Ale
let g:ale_linters = {"python": ["flake8"], "python3": ["flake8"]} let g:ale_linters = {"python": ["flake8"], "python3": ["flake8"]}
" UltiSnips
let g:UltiSnipsJumpForwardTrigger="<c-b>"
let g:UltiSnipsJumpBackwardTrigger="<c-z>"
" VIM-MARKDOWN " VIM-MARKDOWN
let g:markdown_syntax_conceal=0 let g:markdown_syntax_conceal=0
let g:vim_markdown_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 *[^(.rmd|.snippets)] EnableStripWhitespaceOnSave
autocmd BufEnter *.snippets DisableStripWhitespaceOnSave autocmd BufEnter *.snippets DisableStripWhitespaceOnSave
" Workspaces
let g:workspace_session_name = '.vsession'
let g:workspace_autosave = 0
let g:workspace_autosave_untrailspaces = 0
" Yankstack " Yankstack
let g:yankstack_map_keys = 0 let g:yankstack_map_keys = 0
call yankstack#setup() call yankstack#setup()
@ -210,3 +195,6 @@ nnoremap <silent> <space>j :<C-u>CocNext<CR>
nnoremap <silent> <space>k :<C-u>CocPrev<CR> nnoremap <silent> <space>k :<C-u>CocPrev<CR>
" Resume latest coc list " Resume latest coc list
nnoremap <silent> <space>p :<C-u>CocListResume<CR> nnoremap <silent> <space>p :<C-u>CocListResume<CR>
" Open Tagbar
autocmd VimEnter * nested :call tagbar#autoopen(1)

View File

@ -43,12 +43,6 @@ Plug 'ryanoasis/vim-devicons'
Plug 'junegunn/goyo.vim' Plug 'junegunn/goyo.vim'
" Snippets
" Plug 'SirVer/ultisnips'
" Plug 'honza/vim-snippets'
" Plug 'bonsaiben/bootstrap-snippets'
" Plug 'rbonvall/snipmate-snippets-bib'
" Compilers " Compilers
Plug 'xuhdev/singlecompile' Plug 'xuhdev/singlecompile'