3bfc11be905d

A bunch.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Wed, 27 Oct 2010 12:18:46 -0400
parents e31391abee4c
children 126dedb1845d
branches/tags (none)
files mutt/muttrc mutt/offlineimapsync.sh mutt/offlineimapsyncquick.sh vim/.vimrc vim/bundle/makegreen/plugin/makegreen.vim

Changes

--- a/mutt/muttrc	Wed Oct 27 09:25:52 2010 -0400
+++ b/mutt/muttrc	Wed Oct 27 12:18:46 2010 -0400
@@ -6,7 +6,7 @@
 set mailcap_path        = ~/.mutt/mailcap                       # entrys for filetypes
 set signature           = ~/.mutt/sig                           # my signature file
 set tmpdir              = ~/.mutt/temp                          # where to keep temp files
-set editor              = "mvim -f +/^$"                        # use vim and skip to first blank line
+set editor              = "mvim -f +/^$ +:noh"                  # use vim and skip to first blank line
 set print_command       = /usr/bin/enscript                     # print with enscript
 
 # main options
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mutt/offlineimapsync.sh	Wed Oct 27 12:18:46 2010 -0400
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+PID=`/usr/local/bin/pgrep offlineimap`
+
+[[ -n "$PID" ]] && kill $PID
+
+/usr/local/bin/offlineimap -o -u Noninteractive.Quiet &>/dev/null &
+
+exit 0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mutt/offlineimapsyncquick.sh	Wed Oct 27 12:18:46 2010 -0400
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+PID=`/usr/local/bin/pgrep offlineimap`
+
+[[ -n "$PID" ]] && kill $PID
+
+/usr/local/bin/offlineimap -q -o -u Noninteractive.Quiet &>/dev/null &
+
+exit 0
--- a/vim/.vimrc	Wed Oct 27 09:25:52 2010 -0400
+++ b/vim/.vimrc	Wed Oct 27 12:18:46 2010 -0400
@@ -209,8 +209,8 @@
 nmap <leader>R :RainbowParenthesesToggle<CR>
 
 " Edit vim stuff.
-nmap <leader>ev <C-w><C-v><C-l>:e $MYVIMRC<cr>
-nmap <leader>es <C-w><C-v><C-l>:e ~/.vim/snippets/<cr>
+nmap <leader>ev <C-w>s<C-w>j<C-w>L:e $MYVIMRC<cr>
+nmap <leader>es <C-w>s<C-w>j<C-w>L:e ~/.vim/snippets/<cr>
 
 " Sudo to write
 cmap w!! w !sudo tee % >/dev/null
--- a/vim/bundle/makegreen/plugin/makegreen.vim	Wed Oct 27 09:25:52 2010 -0400
+++ b/vim/bundle/makegreen/plugin/makegreen.vim	Wed Oct 27 12:18:46 2010 -0400
@@ -69,9 +69,9 @@
 noremap <unique> <script> <Plug>MakeGreen <SID>Make
 noremap <SID>Make :call <SID>RunMake()<CR>
 
-if !hasmapto('<Plug>MakeGreen')
-  map <unique> <silent> <Leader>test <Plug>MakeGreen
-endif
+"if !hasmapto('<Plug>MakeGreen')
+  "map <unique> <silent> <Leader>test <Plug>MakeGreen
+"endif
 " }}}1
 
 let &cpo = s:save_cpo