Skip to content

Instantly share code, notes, and snippets.

@liddiard
Last active December 25, 2015 11:18
Show Gist options
  • Save liddiard/6967419 to your computer and use it in GitHub Desktop.
Save liddiard/6967419 to your computer and use it in GitHub Desktop.
" Necesary for lots of cool vim things
set nocompatible
" Syntax highlighting
syntax on
" Improve indents
set smartindent
set tabstop=4
set shiftwidth=4
set expandtab
set smarttab
" This shows what you are typing as a command.
set showcmd
" Cool tab completion stuff
set wildmenu
set wildmode=list:longest,full
" Enable mouse support in console
set mouse=a
" Show line numbers
set number
highlight LineNr ctermfg=Grey
" Incremental searching is sexy
set incsearch
" Set off the other paren
highlight MatchParen ctermbg=4
" }}}
" Turn off annoying error bells
set noerrorbells
set visualbell
set t_vb=
" Enable 256-bit color mode
set t_Co=256
let g:rehash256 = 1
" Molokai theme settings
colors molokai
set background=dark
" Map ctrl-j to switch pane
map <C-j> <C-w><C-w>
# WARNING: untested
# configure 256 colors for bash and screen
# bash may work by itself w/o this, but screen appears to need mods
# to .bashrc and .screenrc to display 256 colors correctly
~/.bashrc >> echo "export TERM=xterm-256color"
~/.screenrc >> echo 'term "screen-256color"'
~/.screenrc >> echo 'attrcolor b ".I" # use bright colors for bold'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment