f987dd76cc9f

More.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Tue, 08 Feb 2011 15:45:45 -0500
parents 2769ab7796c0
children 95735c27a0c0
branches/tags (none)
files mutt/muttrc vim/.vimrc

Changes

--- a/mutt/muttrc	Wed Feb 02 15:21:47 2011 -0500
+++ b/mutt/muttrc	Tue Feb 08 15:45:45 2011 -0500
@@ -75,7 +75,7 @@
 hdr_order from: to: cc: date: subject:                          # and in this order
 
 # boxes
-mailboxes +steve-stevelosh.com/INBOX +steve-stevelosh.com/archive +steve-stevelosh.com/sent +steve-stevelosh.com/drafts +steve-stevelosh.com/spam +steve-stevelosh.com/trash +steve-dumbwaiterdesign.com/INBOX +steve-dumbwaiterdesign.com/archive +steve-dumbwaiterdesign.com/sent +steve-dumbwaiterdesign.com/drafts +steve-dumbwaiterdesign.com/spam +steve-dumbwaiterdesign.com/trash
+mailboxes +steve-stevelosh.com/INBOX +steve-stevelosh.com/vim +steve-stevelosh.com/django +steve-stevelosh.com/mercurial +steve-stevelosh.com/archive +steve-stevelosh.com/sent +steve-stevelosh.com/drafts +steve-stevelosh.com/spam +steve-stevelosh.com/trash +steve-dumbwaiterdesign.com/INBOX +steve-dumbwaiterdesign.com/archive +steve-dumbwaiterdesign.com/sent +steve-dumbwaiterdesign.com/drafts +steve-dumbwaiterdesign.com/spam +steve-dumbwaiterdesign.com/trash
 
 # always sourced
 #source $alias_file                                             # required for functionality
--- a/vim/.vimrc	Wed Feb 02 15:21:47 2011 -0500
+++ b/vim/.vimrc	Tue Feb 08 15:45:45 2011 -0500
@@ -175,6 +175,11 @@
 au BufNewFile,BufRead *.clj nmap <localleader>ee 0;\et
 au FileType clojure call TurnOnClojureFolding()
 " }}}
+" C {{{
+
+au BufNewFile,BufRead *.c setlocal foldmethod=syntax
+
+" }}}
 " HTML and HTMLDjango {{{
 au BufNewFile,BufRead *.html setlocal filetype=htmldjango
 au BufNewFile,BufRead *.html setlocal foldmethod=manual
@@ -206,9 +211,9 @@
 " }}}
 " Markdown {{{
 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 Filetype markdown nnoremap <buffer> <localleader>1 yypVr=
+au Filetype markdown nnoremap <buffer> <localleader>2 yypVr-
+au Filetype markdown nnoremap <buffer> <localleader>3 I### <ESC>
 " }}}
 " Vim {{{
 au FileType vim setlocal foldmethod=marker
@@ -283,7 +288,7 @@
 
 " NERD Tree {{{
 map <F2> :NERDTreeToggle<cr>
-let NERDTreeIgnore=['.vim$', '\~$', '.*\.pyc$', 'pip-log\.txt$', 'whoosh_index', 'xapian_index', '.*.pid', 'monitor.py', '.*-fixtures-.*.json']
+let NERDTreeIgnore=['.vim$', '\~$', '.*\.pyc$', 'pip-log\.txt$', 'whoosh_index', 'xapian_index', '.*.pid', 'monitor.py', '.*-fixtures-.*.json', '.*\.o']
 " }}}
 " HTML5 {{{
 let g:event_handler_attributes_complete = 0
@@ -485,7 +490,7 @@
     if has("gui_macvim")
         macmenu &File.New\ Tab key=<nop>
         map <leader>t <Plug>PeepOpen
-        map <leader>r ,w<Plug>PeepOpen
+        map <leader><leader> ,w<Plug>PeepOpen
     end
 
     let g:sparkupExecuteMapping = '<D-e>'