Skip to content

Instantly share code, notes, and snippets.

@huyinjie
Last active July 25, 2018 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save huyinjie/ba42bc4fa3ace801d36bd13989117ae6 to your computer and use it in GitHub Desktop.
Save huyinjie/ba42bc4fa3ace801d36bd13989117ae6 to your computer and use it in GitHub Desktop.
set nocompatible
filetype off
set t_Co=24 " Explicitly tell Vim that the terminal supports 256 colors
set background=dark
set laststatus=2
let g:airline_powerline_fonts=1
let g:airline#extensions#tabline#enabled=1 " enable tabline
let g:airline#extensions#tabline#buffer_nr_show=1 " 显示buffer行号
let g:airline_theme="simple"
" let g:ycm_server_python_interpreter='/usr/bin/python3.5'
let g:ycm_server_python_interpreter = '/usr/bin/python'
let g:ycm_global_ycm_extra_conf='~/.vim/.ycm_extra_conf.py'
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'Valloric/YouCompleteMe'
Plugin 'micha/vim-colors-solarized'
Plugin 'scrooloose/nerdtree'
Plugin 'davidhalter/jedi-vim'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
call vundle#end()
filetype plugin indent on
set tabstop=4 " when indenting with '>', use 4 spaces width
set shiftwidth=4 " On pressing tab, insert 4 spaces
set expandtab
syntax enable " Syntax highlighting
let g:solarized_termtrans = 1
colorscheme solarized
set backspace=indent,eol,start
map <F3> :NERDTreeToggle<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment