Skip to content

Instantly share code, notes, and snippets.

@tysonwolker
Last active September 14, 2015 14:05
Show Gist options
  • Save tysonwolker/b7a64f32535ead351428 to your computer and use it in GitHub Desktop.
Save tysonwolker/b7a64f32535ead351428 to your computer and use it in GitHub Desktop.
.vimrc
set nocompatible " Required
filetype off " Required
" --- Vundle ---
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'bling/vim-airline'
Plugin 'altercation/vim-colors-solarized'
Plugin 'scrooloose/nerdtree'
Plugin 'jistr/vim-nerdtree-tabs'
Plugin 'fatih/vim-go'
call vundle#end()
filetype plugin indent on
" --- Theming ---
syntax enable
set background=dark
colorscheme solarized
if has('gui_running')
set background=light
else
set background=dark
endif
if has("gui_running")
let s:uname = system("uname")
if s:uname == "Darwin\n"
set guifont=Monaco\ for\ Powerline
endif
endif
" --- Status Bar ---
set laststatus=2
let g:airline_detect_paste=1
let g:airline#extensions#tabline#enabled = 1
" --- Vim Settings ---
set tabstop=4 shiftwidth=4 expandtab
set backspace=indent,eol,start
set ruler
set number
set showcmd
set incsearch
set hlsearch
" --- Vim Keybindings ---
noremap <Up> <NOP>
noremap <Down> <NOP>
noremap <Left> <NOP>
noremap <Right> <NOP>
syntax on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment