Skip to content

Instantly share code, notes, and snippets.

@jonmoshier
Created December 28, 2016 06:48
Show Gist options
  • Save jonmoshier/e1e270203f36b8963410278d012c8aa1 to your computer and use it in GitHub Desktop.
Save jonmoshier/e1e270203f36b8963410278d012c8aa1 to your computer and use it in GitHub Desktop.
my vimrc
set nocompatible " be iMproved, required
filetype off " required
let mapleader = ","
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'vim-airline/vim-airline'
Plugin 'flazz/vim-colorschemes'
Plugin 'junegunn/goyo.vim'
Plugin 'junegunn/limelight.vim'
Plugin 'scrooloose/nerdtree'
call vundle#end()
syntax enable " enable syntax highlisting
filetype plugin indent on
set laststatus=2
set noerrorbells visualbell t_vb=
map <C-n> :NERDTreeToggle<CR>
if has('autocmd')
autocmd GUIEnter * set visualbell t_vb=
endif
if has('gui_running')
set guioptions-=T " no toolbar
set guifont=Monospace\ 13
endif
set t_Co=256 " set colors to 256
colorscheme badwolf " set colorscheme
set number " show line numbers
set showcmd " show command in bottom bar
set cursorline " highlight current line
set wildmenu " shows autocomplete
set lazyredraw " redraw less
set showmatch " highlight matching brackets
" Search
set incsearch " realtime search!
set hlsearch " highlight matches
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment