2c088480ba9e

Moar.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Fri, 20 Apr 2012 14:00:31 +0100
parents 0b33941b59ef
children 7c774a90f351
branches/tags (none)
files mutt/mailcap mutt/offlineimapsync.sh vim/vimrc zshrc

Changes

--- a/mutt/mailcap	Thu Apr 19 14:12:31 2012 +0100
+++ b/mutt/mailcap	Fri Apr 20 14:00:31 2012 +0100
@@ -28,6 +28,7 @@
 
 # HTML
 text/html; ~/.mutt/view_attachment.sh %s html
+ext/html; ~/.mutt/view_attachment.sh %s html
 
 # Unidentified.
 application/octet-stream; ~/.mutt/view_attachment.sh %s "-" 
--- a/mutt/offlineimapsync.sh	Thu Apr 19 14:12:31 2012 +0100
+++ b/mutt/offlineimapsync.sh	Fri Apr 20 14:00:31 2012 +0100
@@ -5,11 +5,11 @@
 
 function sync_normal {
     echo "NORMAL Sync"
-    /usr/local/bin/offlineimap -o -u quiet
+    /usr/local/share/python/offlineimap -o -u quiet
 }
 function sync_quick {
     echo "QUICK Sync"
-    /usr/local/bin/offlineimap -o -q -u quiet
+    /usr/local/share/python/offlineimap -o -q -u quiet
 }
 
 # This is silly.
--- a/vim/vimrc	Thu Apr 19 14:12:31 2012 +0100
+++ b/vim/vimrc	Fri Apr 20 14:00:31 2012 +0100
@@ -305,6 +305,10 @@
 vnoremap <leader>S y:execute @@<cr>:echo 'Sourced selection.'<cr>
 nnoremap <leader>S ^vg_y:execute @@<cr>:echo 'Sourced line.'<cr>
 
+" Back find-repeat
+" TODO: Why does this not work?
+nnoremap … dd
+
 " Marks and Quotes
 noremap ' `
 noremap æ '
@@ -338,6 +342,9 @@
 " Toggle [i]nvisible characters
 nnoremap <leader>i :set list!<cr>
 
+" Has to be an autocommand because repeat.vim eats the mapping otherwise :(
+au VimEnter * :nnoremap U <c-r>
+
 " Drag Lines {{{
 
 " <m-j> and <m-k> to drag lines in any mode
@@ -402,7 +409,7 @@
 
 set virtualedit+=block
 
-noremap <leader><space> :noh<cr>:call clearmatches()<cr>
+noremap <silent> <leader><space> :noh<cr>:call clearmatches()<cr>
 
 runtime macros/matchit.vim
 map <tab> %
--- a/zshrc	Thu Apr 19 14:12:31 2012 +0100
+++ b/zshrc	Fri Apr 20 14:00:31 2012 +0100
@@ -19,6 +19,7 @@
 alias tm='tmux -u2'
 alias c='clear'
 alias bp='bpython'
+alias oi='offlineimap'
 
 export DISABLE_AUTO_TITLE="true"