From a70df7fbf45fd2180383aba710e9de910dd7bdc1 Mon Sep 17 00:00:00 2001 From: Dustin Swan Date: Thu, 15 May 2014 16:43:09 -0500 Subject: [PATCH] Oh you know, just some config stuff --- alot/config | 1 + bin/check_mail.sh | 1 + bin/gcalcli | 1 - ghci.conf | 3 -- mailcap | 1 + symlinks.sh | 1 + vdirsyncer/config | 112 ++++++++++++++++++++++++++++++++++++++++++++++ vimrc | 9 ++-- 8 files changed, 122 insertions(+), 7 deletions(-) delete mode 120000 bin/gcalcli create mode 100644 vdirsyncer/config diff --git a/alot/config b/alot/config index 9f143ce..19cd53f 100644 --- a/alot/config +++ b/alot/config @@ -1,5 +1,6 @@ prefer_plaintext = True tabwidth = 4 +bug_on_exit = True [accounts] [[IOCOM]] diff --git a/bin/check_mail.sh b/bin/check_mail.sh index 5775502..9ab616e 100755 --- a/bin/check_mail.sh +++ b/bin/check_mail.sh @@ -1,4 +1,5 @@ #!/bin/bash +~/dotfiles/bin/notmuch_osx_menubar_count.rb & while true; do afew -m; offlineimap; notmuch new sleep 45 diff --git a/bin/gcalcli b/bin/gcalcli deleted file mode 120000 index 5886283..0000000 --- a/bin/gcalcli +++ /dev/null @@ -1 +0,0 @@ -gcalcli-git/gcalcli \ No newline at end of file diff --git a/ghci.conf b/ghci.conf index c3d6324..b923eb3 100644 --- a/ghci.conf +++ b/ghci.conf @@ -1,8 +1,5 @@ import Control.Applicative import Control.Monad -import Control.Concurrent -import Control.Concurrent.Async -import Control.Parallel import Data.String import Data.Char diff --git a/mailcap b/mailcap index b3c6bbb..c7048a4 100644 --- a/mailcap +++ b/mailcap @@ -1,3 +1,4 @@ #text/html; luakit %s &; test=test -n "%DISPLAY"; needsterminal; #text/html; firefox %s &; test=test -n "%DISPLAY"; needsterminal; text/html; w3m -I %{charset} -T text/html; copiousoutput; +image/png; open -W -a Preview %s; diff --git a/symlinks.sh b/symlinks.sh index 975c357..8087077 100644 --- a/symlinks.sh +++ b/symlinks.sh @@ -11,6 +11,7 @@ rm ~/.vimrc; ln -s ~/dotfiles/vimrc ~/.vimrc rm -rf ~/.vim; ln -s ~/dotfiles/vim ~/.vim rm ~/.vimperatorrc; ln -s ~/dotfiles/vimperatorrc ~/.vimperatorrc rm -rf ~/.config/khal; mkdir -p ~/.config/khal; ln -s ~/dotfiles/khal.conf ~/.config/khal/khal.conf +rm -rf ~/.vdirsyncer; mkdir ~/.vdirsyncer; ln -s ~/dotfiles/vdirsyncer/config ~/.vdirsyncer/config # Mail stuff #rm ~/.mbsyncrc; ln -s ~/dotfiles/mbsyncrc ~/.mbsyncrc diff --git a/vdirsyncer/config b/vdirsyncer/config new file mode 100644 index 0000000..3a59a2e --- /dev/null +++ b/vdirsyncer/config @@ -0,0 +1,112 @@ +# An example configuration for vdirsyncer. +# Optional parameters are commented out. + +[general] +# A folder where vdirsyncer can store some metadata about each pair. +status_path = ~/.vdirsyncer/status/ + +# The amount of processes to use when synchronizing. If the CPU of your server +# is the bottleneck (which is plausible for small homeservers), set this to the +# number of cores * 2. Defaults to one process for each collection, which means +# all collections will be synced at once. The value 0 will be ignored, the +# value 1 disables multiprocessing. +processes = 2 + +# CONTACTS +#[pair google_contacts] +## A `[pair ]` block defines two storages `a` and `b` that should be +## synchronized. The definition of these storages follows in `[storage ]` +## blocks. This is similar to accounts in OfflineIMAP. +#a = google_contacts_local +#b = google_contacts_remote + +## If you want to synchronize several addressbooks, calendars etc that share +## the same storage location and differ only in a suffix to this location +## (i.e., a subdirectory) you can use collections. The comma-separated values +## in this parameter represent these subdirectories and are added as URL +## segments or similar. + +## Together with the definition of the following two `[storage]` blocks below +## in this example it means that +## - https://owncloud.example.com/remote.php/carddav/addressbooks/bob/default/ +## will get synced with ~/.contacts/default/ +## - https://owncloud.example.com/remote.php/carddav/addressbooks/bob/work/ +## will get synced with ~/.contacts/work/ + +## Omitting this parameter implies that the given path and URL in the +## corresponding `[storage ]` blocks are already pointing to a +## collection each. +##collections = default,work + +## conflict_resolution = None # abort when collisions occur (default) +## conflict_resolution = a wins # assume a's items to be more up-to-date +## conflict_resolution = b wins # assume b's items to be more up-to-date + +#[storage google_contacts_local] +## A storage references actual data on a remote server or on the local disk. +## Similar to repositories in OfflineIMAP. +#type = filesystem +#path = ~/.contacts/ +#fileext = .vcf +#create = True # create directory if it doesn't exist +#encoding = utf-8 + +#[storage google_contacts_remote] +#type = carddav +#url = http://google.com +##auth = basic # basic|digest +#username = dustinswan@gmail.com # for http auth, if empty, no auth will be used + +#true: The NSA can spy on you with some effort +#false: Everybody can spy on you with no effort +#path to SSL cert: People will call you paranoid +#verify = True + +# CALDAV +[pair google_calendar] +a = google_calendar_local +b = google_calendar_remote +#collections = private,work + +[storage google_calendar_local] +type = filesystem +path = ~/.calendar +fileext = .ics + +[storage google_calendar_remote] +type = caldav +url = https://www.google.com/calendar/dav/dustinswan@gmail.com/user +auth = basic +username = dustinswan +#verify = True + +# Optional: Specify a time range which should be synchronized. Either both +# start_date and end_date or neither have to be set. The default is to +# synchronize everything. The following example synchronizes from one year in +# the past to one year in the future. + +# All Python expressions are allowed here. The global namespace contains +# everything from the datetime module. The expression has to evaluate to a +# datetime. +#start_date = datetime.now() - timedelta(days=365) + +# Here, start_date is also in the namespace. +#end_date = datetime.now() + timedelta(days=365) + +# HTTP CALENDAR +#[pair holidays] +#a = holidays_local +#b = holidays_remote + +#[storage holidays_local] +#type = filesystem +#path = ~/.config/vdir/calendars/holidays/ +#fileext = .ics + +#[storage holidays_remote] +#type = http +#url = https://mozorg.cdn.mozilla.net/media/caldata/QueenslandHolidays.ics +#auth = basic +#username = +#password = +#verify = True diff --git a/vimrc b/vimrc index 370dee2..bce6c0b 100644 --- a/vimrc +++ b/vimrc @@ -8,11 +8,13 @@ Bundle 'gmarik/vundle' Bundle 'terryma/vim-multiple-cursors' Bundle 'chrisbra/csv.vim' +Bundle 'spreadsheet.vim' Bundle 'szw/vim-dict' Bundle 'groenewege/vim-less' Bundle 'digitaltoad/vim-jade' Bundle 'jelera/vim-javascript-syntax' Bundle 'kchmck/vim-coffee-script' +Bundle 'burnettk/vim-angular' Bundle 'jQuery' Bundle 'vim-ruby/vim-ruby' Bundle 'tpope/vim-rails' @@ -61,6 +63,7 @@ Bundle 'ntpeters/vim-better-whitespace' Bundle 'sdanielf/vim-stdtabs' Bundle 'airblade/vim-gitgutter' Bundle 'gcmt/wildfire.vim' +Bundle 'lambdatoast/elm.vim' let $GIT_SSL_NO_VERIFY = 'true' @@ -192,7 +195,7 @@ nnoremap S :SyntasticToggleMode " Supertab " let g:SuperTabDefaultCompletionType="context" -" UltiSnpis +" UltiSnips let g:UltiSnipsJumpForwardTrigger="" let g:UltiSnipsJumpBackwardTrigger="" @@ -227,8 +230,8 @@ nnoremap vx :VimuxClosePanes nnoremap vc :VimuxClearRunnerHistory " Vim-Pad -let g:pad_dir = "~/Dropbox/notes/" -let g:pad_search_backend = "ack" +"let g:pad_dir = "~/Dropbox/notes/" +"let g:pad_search_backend = "ack" " Haskellmode let g:ghc = "/usr/bin/ghc"