Skip to content

Instantly share code, notes, and snippets.

@cwarner-mdsol
Created August 25, 2015 13:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cwarner-mdsol/f996696dc0826208a901 to your computer and use it in GitHub Desktop.
Save cwarner-mdsol/f996696dc0826208a901 to your computer and use it in GitHub Desktop.
vimrc
syntax on
set nocompatible
set background=light
colorscheme solarized
set guifont=Menlo\ Regular:h17
set number
set ts=8
set sw=4
set expandtab
set sts=4
set shell=/bin/bash
set cursorline
filetype off
filetype indent on
filetype plugin on
hi CursorLine cterm=NONE ctermbg=yellow ctermfg=black guibg=#cb4b16 guifg=white
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
autocmd vimenter * NERDTree
nnoremap <C-q> :NERDTreeToggle<CR>
nnoremap <Leader>c :set cursorline!<CR>
nnoremap <Tab> :bnext<CR>
nnoremap <S-Tab> :bprevious<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment