Skip to content

Instantly share code, notes, and snippets.

@saintplay
Created June 23, 2016 16:30
Show Gist options
  • Save saintplay/b226574af13dacb232f461b4788319be to your computer and use it in GitHub Desktop.
Save saintplay/b226574af13dacb232f461b4788319be to your computer and use it in GitHub Desktop.
" Basic configurations
set nocompatible
set hidden
set nobackup
set noswapfile
set number
"Pathogen configuration
execute pathogen#infect()
syntax on
filetype plugin indent on
"Powerline configuration
set t_Co=256
set rtp+=/usr/lib/python3.5/site-packages/powerline/bindings/vim
set laststatus=2 " Always display the statusline in all windows
set showtabline=2 " Always display the tabline, even if there is only one tab
set noshowmode " Hide the default mode text (e.g. -- INSERT -- below the statusline)
"Neocomplete configuration
let g:neocomplete#enable_at_startup = 1
inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>"
"NerdTREE configuration
map <silent> <C-n> :NERDTreeToggle<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment