Permalink
Browse files

Moar.

  • Loading branch information...
1 parent 4076439 commit 1d48ec818ebc168ed8b8d95693eca40ce0da8e09 @sjl committed Apr 20, 2012
Showing with 12 additions and 3 deletions.
  1. +1 −0 mutt/mailcap
  2. +2 −2 mutt/offlineimapsync.sh
  3. +8 −1 vim/vimrc
  4. +1 −0 zshrc
View
@@ -28,6 +28,7 @@ application/pdf; ~/.mutt/view_attachment.sh %s pdf
# 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 "-"
View
@@ -5,11 +5,11 @@ ps aux | grep "[ ]$PID" && kill $PID
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.
View
@@ -305,6 +305,10 @@ nnoremap <leader>2 :set cmdheight=2<cr>
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 @@ set pastetoggle=<F6>
" 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 sidescrolloff=10
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> %
View
1 zshrc
@@ -19,6 +19,7 @@ alias oldgcc='export CC=/usr/bin/gcc-4.0'
alias tm='tmux -u2'
alias c='clear'
alias bp='bpython'
+alias oi='offlineimap'
export DISABLE_AUTO_TITLE="true"

0 comments on commit 1d48ec8

Please sign in to comment.