Skip to content

Instantly share code, notes, and snippets.

@dapangmao
Created November 28, 2016 17:17
Show Gist options
  • Save dapangmao/950293cc08cf1d276ed76cde0db634e5 to your computer and use it in GitHub Desktop.
Save dapangmao/950293cc08cf1d276ed76cde0db634e5 to your computer and use it in GitHub Desktop.
set nocompatible " required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'tmhedberg/SimpylFold'
Plugin 'vim-scripts/indentpython.vim'
Plugin 'scrooloose/syntastic'
Plugin 'nvie/vim-flake8'
Plugin 'jnurmine/Zenburn'
Bundle 'Valloric/YouCompleteMe'
Bundle 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'}
" Powerline setup
set laststatus=2
set term=xterm-256color
set termencoding=utf-8
set guifont=Ubuntu\ Mono\ derivative\ Powerline:10
set guifont=Ubuntu\ Mono
let g:Powerline_symbols = 'fancy'
call vundle#end() " required
filetype plugin indent on " required
set encoding=utf-8
set foldmethod=indent
set foldlevel=99
set nu
set tabstop=4
set softtabstop=4
set shiftwidth=4
set textwidth=79
set expandtab
set autoindent
set fileformat=unix
let python_highlight_all=1
syntax on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment