# HG changeset patch # User Steve Losh # Date 1334412060 14400 # Node ID 2d0147123d68d46eb941183a86360d7e3d3b9e7d # Parent 94e4952fb5d353abc92afeddeb1344a8ec6afd06 Moar. diff -r 94e4952fb5d3 -r 2d0147123d68 offlineimaprc --- a/offlineimaprc Fri Apr 13 17:14:12 2012 -0400 +++ b/offlineimaprc Sat Apr 14 10:01:00 2012 -0400 @@ -2,16 +2,25 @@ ui = TTY.TTYUI accounts = SteveLosh pythonfile=~/.mutt/offlineimap.py +fsync = False [Account SteveLosh] localrepository = SteveLosh-Local remoterepository = SteveLosh-Remote +status_backend = sqlite [Repository SteveLosh-Local] type = Maildir localfolders = ~/.mail/steve-stevelosh.com +nametrans = lambda folder: {'drafts': '[Gmail]/Drafts', + 'sent': '[Gmail]/Sent Mail', + 'flagged': '[Gmail]/Starred', + 'trash': '[Gmail]/Trash', + 'archive': '[Gmail]/All Mail', + }.get(folder, folder) [Repository SteveLosh-Remote] +maxconnections = 1 type = Gmail remoteuser = steve@stevelosh.com remotepasseval = get_keychain_pass(account="steve@stevelosh.com", server="imap.gmail.com") diff -r 94e4952fb5d3 -r 2d0147123d68 vim/vimrc --- a/vim/vimrc Fri Apr 13 17:14:12 2012 -0400 +++ b/vim/vimrc Sat Apr 14 10:01:00 2012 -0400 @@ -433,6 +433,10 @@ inoremap I inoremap A +" gi already moves to "last place you exited insert mode", so we'll map gI to +" something similar: move to last change +nnoremap gI `. + " Open a Quickfix window for the last search. nnoremap ? :execute 'vimgrep /'.@/.'/g %':copen