--- a/mutt/muttrc Mon Jan 24 18:53:27 2011 -0500
+++ b/mutt/muttrc Wed Jan 26 12:39:16 2011 -0500
@@ -92,7 +92,7 @@
bind index i noop
# bindings
-bind index \# sync-mailbox
+bind index <tab> sync-mailbox
bind index l previous-entry
bind index k next-entry
bind pager i exit
@@ -118,8 +118,8 @@
macro index,pager o "|mvim -c 'setlocal ft=mail' -c 'setlocal buftype=nofile' -<enter>" "open in vim"
# mailbox
-macro index ( "<change-folder>+steve-stevelosh.com/INBOX<enter>" "go to stevelosh/INBOX"
-macro index ) "<change-folder>+steve-dumbwaiterdesign.com/INBOX<enter>" "go to dwaiter/INBOX"
+macro index \' "<change-folder>+steve-stevelosh.com/INBOX<enter>" "go to stevelosh/INBOX"
+macro index \" "<change-folder>+steve-dumbwaiterdesign.com/INBOX<enter>" "go to dwaiter/INBOX"
# save a decoded copy in ~
macro index P "<pipe-message>cat > ~/Desktop/" "save message as"
--- a/vim/.vimrc Mon Jan 24 18:53:27 2011 -0500
+++ b/vim/.vimrc Wed Jan 26 12:39:16 2011 -0500
@@ -153,6 +153,8 @@
au BufNewFile,BufRead *.less setlocal foldmethod=marker
au BufNewFile,BufRead *.less setlocal foldmarker={,}
au BufNewFile,BufRead *.less setlocal nocursorline
+au BufNewFile,BufRead *.less nnoremap <buffer> cc ddko
+au BufNewFile,BufRead *.less nnoremap <buffer> <localleader>S ?{<CR>jV/^\s*\}?$<CR>k:sort<CR>:noh<CR>
au BufNewFile,BufRead *.js setlocal foldmethod=marker
au BufNewFile,BufRead *.js setlocal foldmarker={,}
@@ -160,12 +162,12 @@
au BufRead,BufNewFile *.confluencewiki setlocal filetype=confluencewiki
au BufRead,BufNewFile *.confluencewiki setlocal wrap linebreak nolist
-au BufNewFile,BufRead *.fish set filetype=fish
+au BufNewFile,BufRead *.fish setlocal filetype=fish
-au BufNewFile,BufRead *.m*down set filetype=markdown
-au BufNewFile,BufRead *.m*down nnoremap <localleader>1 yypVr=
-au BufNewFile,BufRead *.m*down nnoremap <localleader>2 yypVr-
-au BufNewFile,BufRead *.m*down nnoremap <localleader>3 I### <ESC>
+au BufNewFile,BufRead *.m*down setlocal filetype=markdown
+au BufNewFile,BufRead *.m*down nnoremap <buffer> <localleader>1 yypVr=
+au BufNewFile,BufRead *.m*down nnoremap <buffer> <localleader>2 yypVr-
+au BufNewFile,BufRead *.m*down nnoremap <buffer> <localleader>3 I### <ESC>
au BufNewFile,BufRead *.vim setlocal foldmethod=marker
@@ -179,9 +181,6 @@
autocmd FileType clojure call TurnOnClojureFolding()
-" Sort CSS
-map <leader>S ?{<CR>jV/^\s*\}?$<CR>k:sort<CR>:noh<CR>
-
" Clean whitespace
map <leader>W :%s/\s\+$//<cr>:let @/=''<CR>
@@ -192,27 +191,26 @@
nnoremap <silent> <leader>y :YRShow<cr>
" Formatting, TextMate-style
-map <leader>q gqip
+nnoremap <leader>q gqip
-nmap <leader>m :make<cr>
+" Faster Make
+nnoremap <leader>m :make<cr>
" Google's JSLint
au BufNewFile,BufRead *.js set makeprg=gjslint\ %
au BufNewFile,BufRead *.js set errorformat=%-P-----\ FILE\ \ :\ \ %f\ -----,Line\ %l\\,\ E:%n:\ %m,%-Q,%-GFound\ %s,%-GSome\ %s,%-Gfixjsstyle%s,%-Gscript\ can\ %s,%-G
-" TESTING GOAT APPROVES OF THESE LINES
-nmap <leader>fn :cn<cr>
-nmap <leader>fp :cp<cr>
-
" Easier linewise reselection
-map <leader>v V`]
+nnoremap <leader>v V`]
" HTML tag closing
inoremap <C-_> <Space><BS><Esc>:call InsertCloseTag()<cr>a
" Faster Esc
-inoremap jj <ESC>
-inoremap kk <ESC>
+inoremap jk <ESC>
+inoremap kj <ESC>
+inoremap kl <ESC>
+inoremap lk <ESC>
" TextMate-Style Autocomplete
inoremap <ESC> <C-P>