Skip to content

Instantly share code, notes, and snippets.

@CiaraBurkett
Created November 20, 2014 20:20
Show Gist options
  • Save CiaraBurkett/b764684715c963eabd8f to your computer and use it in GitHub Desktop.
Save CiaraBurkett/b764684715c963eabd8f to your computer and use it in GitHub Desktop.
" enable Pathogen plugin
call pathogen#infect()
call pathogen#helptags()
" enable syntax highlighting
syntax on
" enable line numbers
set number
" enable 256 colors
set t_Co=256
" Setting dark mode
set background=dark
" If not GUI, disable italics
if !has("gui_running")
let g:gruvbox_italic=0
endif
" If GUI, use gruvbox. Else, use Solarized
" For some reason, background not going dark
" if has('gui_running')
" let g:gruvbox_termcolors = 256
" colorscheme gruvbox
" color gruvbox
" else
" set background=dark
" colorscheme solarized
" color solarized
" endif
" set colour scheme and gruvbox settings
let g:gruvbox_termcolors = 256
colorscheme gruvbox
color gruvbox
" autoindenting on
set autoindent
" 4 Space tabs
set tabstop=4
set shiftwidth=4
set expandtab
"enable mouse
set mouse=a
"remove scrollbars
set guioptions-=r
set guioptions-=l
set guioptions-=R
set guioptions-=L
" remove the toolbar
set go-=T
"set default font
"set guifont=Source\ Code\ Pro\ for\ Powerline:h22
let g:airline_powerline_fonts = 1
" enable file type determination
filetype indent plugin on
filetype plugin on
" Control P
set runtimepath^=~/.vim/bundle/ctrlp.vim
" fuck .swp files
set noswapfile
" open NERDTree automatically when VIM opens
" autocmd vimenter * NERDTree
" Change INSERT mode cursor to underline
set guicursor=i:hor3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment