Last active
March 7, 2016 21:17
-
-
Save nelanka/45c317a68c15ff35db76 to your computer and use it in GitHub Desktop.
vimrc
This file contains 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
" Use bash shell to run scripts (fish isn't POSIX compliant) | |
set shell=bash | |
" Vundle Config [Package Manager for Vim] - https://github.com/VundleVim/Vundle.vim | |
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() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required | |
Plugin 'VundleVim/Vundle.vim' | |
" Vim Airline - https://github.com/vim-airline/vim-airline | |
Plugin 'vim-airline/vim-airline' | |
" Vim Airline Themes | |
Plugin 'vim-airline/vim-airline-themes' | |
" Solarized Theme - https://github.com/altercation/vim-colors-solarized | |
Plugin 'altercation/vim-colors-solarized' | |
" Spacegray Theme - https://github.com/ajh17/Spacegray.vim | |
Plugin 'ajh17/Spacegray.vim' | |
" ENSIME plugin - https://github.com/ensime/ensime-vim | |
"Plugin 'ensime/ensime-vim' | |
" 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 | |
" syntax highlighting | |
syntax on | |
set background=dark | |
colorscheme solarized | |
"colorscheme spacegray | |
" show matching bracets when text indicator is over them | |
set showmatch | |
" line numbering | |
set number | |
" smart indent | |
set smarttab | |
" auto indent | |
set autoindent | |
" size of a hard tabstop | |
set tabstop=2 | |
" size of an 'indent' | |
set shiftwidth=2 | |
" always uses spaces instead of tab characters | |
set expandtab | |
" switch on filetype detection and loads | |
" indent file (indent.vim) for specific file types | |
filetype indent on | |
filetype on | |
" Enable Powerline fonts for Vim Airline | |
let g:airline_powerline_fonts = 1 | |
" Automatically displays all buffers when there's only one tab open. | |
"let g:airline#extensions#tabline#enabled = 1 | |
" Workaround for vim-airline not appearing until I create a new split | |
set laststatus=2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment