Skip to content

Instantly share code, notes, and snippets.

@budgester
Last active December 9, 2019 08:03
Show Gist options
  • Select an option

  • Save budgester/11a167a5873dfa94ba50672aee2c6166 to your computer and use it in GitHub Desktop.

Select an option

Save budgester/11a167a5873dfa94ba50672aee2c6166 to your computer and use it in GitHub Desktop.
syntax on
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'tiagofumo/vim-nerdtree-syntax-highlight' "to highlight files in nerdtree
Plugin 'davidhalter/jedi-vim'
Plugin 'majutsushi/tagbar' " show tags in a bar (functions etc) for easy browsing
Plugin 'vim-airline/vim-airline' " make statusline awesome
Plugin 'vim-airline/vim-airline-themes' " themes for statusl
Plugin 'Vimjas/vim-python-pep8-indent' "better indenting for python
Plugin 'tweekmonster/impsort.vim' " color and sort imports
Plugin 'ncm2/ncm2'
Plugin 'roxma/nvim-yarp'
Plugin 'ncm2/ncm2-bufword'
Plugin 'ncm2/ncm2-path'
Plugin 'ncm2/ncm2-jedi'
Plugin 'vim-scripts/indentpython.vim'
" add all your plugins here (note older versions of Vundle
" used Bundle instead of Plugin)
" ...
" All of your Plugins must be added before the following line
call vundle#end() " required
autocmd vimenter * NERDTree
set nocompatible " required
filetype off " required
filetype plugin indent on " required
filetype plugin on
set completeopt=noinsert,menuone,noselect
" Enable folding
set foldmethod=indent
set foldlevel=99
" Enable folding with the spacebar
nnoremap <space> za
set omnifunc=syntaxcomplete#Complete
" toggle nerdtree on ctrl+n
map <C-n> :NERDTreeToggle<CR>
map <C-t> :set nosplitright<CR>:TagbarToggle<CR>:set splitright<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment