[VIM] Tagbar config, Nerdtree extended UI
This commit is contained in:
parent
b80e034907
commit
82c73b7b0d
@ -50,6 +50,8 @@ cmap w!! w !sudo tee > /dev/null %
|
||||
" Toggle Case
|
||||
nmap <C-c> g~iw
|
||||
|
||||
nmap <F2> :TagbarToggle<CR>
|
||||
|
||||
" Rmarkdown
|
||||
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>
|
||||
|
@ -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 = "<c-space>"
|
||||
|
||||
|
||||
" Ale
|
||||
let g:ale_linters = {"python": ["flake8"], "python3": ["flake8"]}
|
||||
|
||||
|
||||
" UltiSnips
|
||||
let g:UltiSnipsJumpForwardTrigger="<c-b>"
|
||||
let g:UltiSnipsJumpBackwardTrigger="<c-z>"
|
||||
|
||||
" 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 <silent> <space>j :<C-u>CocNext<CR>
|
||||
nnoremap <silent> <space>k :<C-u>CocPrev<CR>
|
||||
" Resume latest coc list
|
||||
nnoremap <silent> <space>p :<C-u>CocListResume<CR>
|
||||
|
||||
" Open Tagbar
|
||||
autocmd VimEnter * nested :call tagbar#autoopen(1)
|
||||
|
@ -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'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user