summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--offlineimaprc6
-rw-r--r--vim/vimrc3
3 files changed, 7 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 377383c..4dc424e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,7 +2,6 @@ mutt/cache/
mutt/mailboxes/
vim/bundle/
vifm/Trash
-passwords
mutt/mutt-colors-solarized/
mutt/temp/
mutt/cache/
diff --git a/offlineimaprc b/offlineimaprc
index 2de50e8..8b2c786 100644
--- a/offlineimaprc
+++ b/offlineimaprc
@@ -2,10 +2,12 @@
ui = ttyui
pythonfile = /home/urbain/.offlineimap.py
accounts = Imperial, Main, Hotmail, Gmail
+maxsyncaccounts = 4
[Account Imperial]
localrepository = Imperial-Local
remoterepository = Imperial-Remote
+autorefresh = 10
[Repository Imperial-Local]
type = Maildir
@@ -26,6 +28,7 @@ Sslcacertfile = /etc/ssl/certs/ca-certificates.crt
[Account Main]
localrepository = Main-Local
remoterepository = Main-Remote
+autorefresh = 10
[Repository Main-Local]
type = Maildir
@@ -47,6 +50,7 @@ sslcacertfile = /etc/ssl/certs/ca-certificates.crt
[Account Hotmail]
localrepository = Hotmail-Local
remoterepository = Hotmail-Remote
+autorefresh = 10
[Repository Hotmail-Local]
type = Maildir
@@ -70,6 +74,7 @@ sslcacertfile = /etc/ssl/certs/ca-certificates.crt
[Account Gmail]
localrepository = Gmail-Local
remoterepository = Gmail-Remote
+autorefresh = 10
[Repository Gmail-Local]
type = Maildir
@@ -87,7 +92,6 @@ nametrans = lambda folder: {'INBOX' : 'Gmail'}.get(folder, folder)
folderfilter = lambda folder: folder in ['INBOX']
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
-
[mbnames]
enabled = yes
filename = ~/.mutt/mailboxes
diff --git a/vim/vimrc b/vim/vimrc
index 481eec4..6a171d8 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -160,10 +160,11 @@ nnoremap <Leader>w :w<cr>
nnoremap <Leader>q :q!<cr>
nnoremap <Leader>h :set hlsearch!<cr>
nnoremap <Leader>n :set relativenumber!<cr>
-nnoremap <Leader>sp :set paste!
+nnoremap <Leader>sp :set paste!<cr>
nnoremap <Leader>sv :source ~/.vim/vimrc<cr>
nnoremap <Leader>sc :source %<cr>
nnoremap <Leader>es :UltiSnipsEdit<Return>
+nnoremap <Leader>i mxgg=G'x
" Other maps
nnoremap <Return> o<Esc>