Last active
July 25, 2018 16:19
-
-
Save huyinjie/ba42bc4fa3ace801d36bd13989117ae6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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