Skip to content

Instantly share code, notes, and snippets.

@esundahl
Created January 20, 2012 20:07
Show Gist options
  • Save esundahl/1649315 to your computer and use it in GitHub Desktop.
Save esundahl/1649315 to your computer and use it in GitHub Desktop.
Vim Settings
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Author: Erik Sundahl
" Twitter: @eriksundahl
" Website: http://eriksundahl.com
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Colors and Fonts
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"Set Color Scheme
colorscheme nucolor
set guifont=Monaco:h12
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Author: Erik Sundahl
" Twitter: @eriksundahl
" Website: http://eriksundahl.com
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
colorscheme bubblegum
"Map escape key to jj -- much faster
imap ii <esc>
"Saves time; maps the spacebar to colon
nmap <space> :
" Use the arrows to something usefull
map <right> :bn<cr>
map <left> :bp<cr>
" Smart way to move btw. windows
map <C-j> <C-W>j
map <C-k> <C-W>k
map <C-h> <C-W>h
map <C-l> <C-W>l
nnoremap <silent> <F8> :TlistToggle<CR>
" Fast saving
nmap <leader>w :w!<cr>
" Open Weekly Summary
nmap <leader>q :tabnew ~/dropbox/notes/Weekly\ Summary.md<cr>
" Set the mapleader key
let mapleader = ","
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment