Skip to content

Instantly share code, notes, and snippets.

@renie
Last active August 17, 2016 14:05
Show Gist options
  • Save renie/9ae1802d0f5ebaa98455 to your computer and use it in GitHub Desktop.
Save renie/9ae1802d0f5ebaa98455 to your computer and use it in GitHub Desktop.
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