Skip to content

Instantly share code, notes, and snippets.

@longbowlu
Created September 21, 2016 14:41
Show Gist options
  • Save longbowlu/a85ab560cfc44dd52eb435719df4ca35 to your computer and use it in GitHub Desktop.
Save longbowlu/a85ab560cfc44dd52eb435719df4ca35 to your computer and use it in GitHub Desktop.
syntax enable set shell=bash set nocompatible " be iMproved, required filetype off " required
set shell=/bin/bash
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'Valloric/YouCompleteMe'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'vim-airline/vim-airline'
" added nerdtree
Plugin 'scrooloose/nerdtree'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :PluginList - lists configured plugins
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line
"
"
set t_Co=256
set background=dark
set laststatus=2
let g:airline_theme="luna"
let g:airline_powerline_fonts = 1
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#buffer_nr_show = 1
let g:airline_left_sep = '▶'
let g:airline_left_alt_sep = '❯'
let g:airline_right_sep = '◀'
let g:airline_right_alt_sep = '❮'
nnoremap <C-N> :bn<CR>
nnoremap <C-P> :bp<CR>
set number
set foldmethod=indent
set clipboard+=unnamed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment