Skip to content

Instantly share code, notes, and snippets.

@huyinjie huyinjie/.vimrc
Last active Jul 25, 2018

Embed
What would you like to do?
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
You can’t perform that action at this time.