Last active
August 17, 2016 14:05
-
-
Save renie/9ae1802d0f5ebaa98455 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 rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'bling/vim-airline' | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'pangloss/vim-javascript' | |
call vundle#end() | |
filetype plugin indent on | |
function! GitBranch() | |
let branch = system("git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'") | |
if branch != '' | |
return substitute(branch, '\n', '', 'g') | |
en | |
return 'No GIT Repo' | |
endfunction | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
set cindent | |
set smarttab | |
set hlsearch | |
set ruler | |
" if removed, airline does not appear ¯\_(ツ)_/¯ | |
set laststatus=2 | |
set number | |
set nowrap | |
set nobackup | |
set nowb | |
set noswapfile | |
set encoding=utf8 | |
colorscheme evening | |
let g:airline_powerline_fonts = 1 | |
"For installing: | |
"git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim | |
"vim +PluginInstall +qall |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment