# HG changeset patch # User Steve Losh # Date 1296059761 18000 # Node ID a0450320e4bc5916b979e39076c6113efc8cbbf4 # Parent 9aba93d73e06ea4b04420ab914b56dcaebf4ed95 More. diff -r 9aba93d73e06 -r a0450320e4bc mutt/muttrc --- a/mutt/muttrc Mon Jan 24 15:05:38 2011 -0500 +++ b/mutt/muttrc Wed Jan 26 11:36:01 2011 -0500 @@ -92,7 +92,7 @@ bind index i noop # bindings -bind index \# sync-mailbox +bind index 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' -" "open in vim" # mailbox -macro index ( "+steve-stevelosh.com/INBOX" "go to stevelosh/INBOX" -macro index ) "+steve-dumbwaiterdesign.com/INBOX" "go to dwaiter/INBOX" +macro index \' "+steve-stevelosh.com/INBOX" "go to stevelosh/INBOX" +macro index \" "+steve-dumbwaiterdesign.com/INBOX" "go to dwaiter/INBOX" # save a decoded copy in ~ macro index P "cat > ~/Desktop/" "save message as" diff -r 9aba93d73e06 -r a0450320e4bc vim/.vimrc --- a/vim/.vimrc Mon Jan 24 15:05:38 2011 -0500 +++ b/vim/.vimrc Wed Jan 26 11:36:01 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 cc ddko +au BufNewFile,BufRead *.less nnoremap S ?{jV/^\s*\}?$k:sort:noh 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 1 yypVr= -au BufNewFile,BufRead *.m*down nnoremap 2 yypVr- -au BufNewFile,BufRead *.m*down nnoremap 3 I### +au BufNewFile,BufRead *.m*down setlocal filetype=markdown +au BufNewFile,BufRead *.m*down nnoremap 1 yypVr= +au BufNewFile,BufRead *.m*down nnoremap 2 yypVr- +au BufNewFile,BufRead *.m*down nnoremap 3 I### au BufNewFile,BufRead *.vim setlocal foldmethod=marker @@ -179,9 +181,6 @@ autocmd FileType clojure call TurnOnClojureFolding() -" Sort CSS -map S ?{jV/^\s*\}?$k:sort:noh - " Clean whitespace map W :%s/\s\+$//:let @/='' @@ -192,27 +191,26 @@ nnoremap y :YRShow " Formatting, TextMate-style -map q gqip +nnoremap q gqip -nmap m :make +" Faster Make +nnoremap m :make " 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 fn :cn -nmap fp :cp - " Easier linewise reselection -map v V`] +nnoremap v V`] " HTML tag closing inoremap :call InsertCloseTag()a " Faster Esc -inoremap jj -inoremap kk +inoremap jk +inoremap kj +inoremap kl +inoremap lk " TextMate-Style Autocomplete inoremap