Skip to content

Instantly share code, notes, and snippets.

@tcaer
Last active December 25, 2019 19:22
Show Gist options
  • Save tcaer/c840c206900e395080de3293df4b38ed to your computer and use it in GitHub Desktop.
Save tcaer/c840c206900e395080de3293df4b38ed to your computer and use it in GitHub Desktop.
My neovim config
set number
set updatetime=100
call plug#begin('~/.config/nvim/autoloada')
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugin' }
Plug 'cloudhead/neovim-fuzzy'
Plug 'scrooloose/nerdtree'
Plug 'Xuyuanp/nerdtree-git-plugin'
call plug#end()
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Bundle 'jistr/vim-nerdtree-tabs'
call vundle#end()
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
autocmd vimenter * NERDTreeTabsOpen
let g:gitgutter_sign_column_always = 1
nnoremap tn :tabnew<Space>
nnoremap <C-j> :tabnext<CR>
nnoremap <C-k> :tabprev<CR>
nnoremap tl :tabclose<CR>
nnoremap ti :GitGutterEnable<CR>
nnoremap nt :NERDTree<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment