Skip to content

Instantly share code, notes, and snippets.

@0xff07
Created April 5, 2017 12:20
Show Gist options
  • Save 0xff07/9fbec688188b7c719f7778cbd47494a1 to your computer and use it in GitHub Desktop.
Save 0xff07/9fbec688188b7c719f7778cbd47494a1 to your computer and use it in GitHub Desktop.
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
"--------------------- Plugin List ------------------------"
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
"installation examples can be viewed on readme"
"----------------------------------------------------------"
" 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 nu
colo molokai
syntax on
set tabstop=4
set shiftwidth=4
set expandtab
if has("multi_byte")
if &termencoding == ""
let &termencoding = &encoding
endif
set encoding=utf-8
setglobal fileencoding=utf-8
"setglobal bomb
set fileencodings=ucs-bom,utf-8,latin1
endif
" vim-airline settings "
" set status line
set laststatus=2
" enable powerline-fonts
let g:airline_powerline_fonts = 1
"enable tabline
let g:airline#extensions#tabline#enabled = 1
" set left separator
let g:airline#extensions#tabline#left_sep = ' '
" set left separator which are not editting
let g:airline#extensions#tabline#left_alt_sep = '|'
" show buffer number
let g:airline#extensions#tabline#buffer_nr_show = 1
let g:airline_theme='distinguished'
" end vim airline settings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment