Skip to content

Commit

Permalink
use undotree <- gundo.vim, support tsx syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanyl committed Jul 8, 2018
1 parent af234a6 commit 4591c41
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions vimrc.bundles
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ Plug 'tpope/vim-obsession' | Plug 'dhruvasagar/vim-prosession'
Plug 'szw/vim-maximizer'
"Plug 'thinca/vim-quickrun'
Plug 'scrooloose/nerdtree', {'on': ['NERDTreeToggle', 'NERDTreeFind']}
Plug 'sjl/gundo.vim', {'on': 'GundoToggle'}
" Plug 'sjl/gundo.vim', {'on': 'GundoToggle'}
Plug 'mbbill/undotree', {'on': 'UndotreeToggle'}
Plug 'ruanyl/vim-fidget', {'do': 'npm install'}
"Plug 'MattesGroeger/vim-bookmarks'
Plug 'ruanyl/vim-fixmyjs', {'for': ['javascript', 'typescript']}
Expand Down Expand Up @@ -102,6 +103,7 @@ Plug 'mxw/vim-jsx'
" typescript
Plug 'HerringtonDarkholme/yats.vim'
Plug 'Quramy/tsuquyomi'
Plug 'tasn/vim-tsx'
let g:tsuquyomi_single_quote_import = 1
autocmd FileType typescript nmap <buffer> <Leader>t : <C-u>echo tsuquyomi#hint()<CR>

Expand Down Expand Up @@ -376,7 +378,8 @@ autocmd FileType javascript setlocal omnifunc=tern#Complete
" ----------------------------------------------------------------------------
" gundo.vim
" ----------------------------------------------------------------------------
nnoremap <leader>h :GundoToggle<CR>
" nnoremap <leader>h :GundoToggle<CR>
nnoremap <leader>h :UndotreeToggle<CR>
let g:gundo_auto_preview = 0

" ----------------------------------------------------------------------------
Expand Down

0 comments on commit 4591c41

Please sign in to comment.