--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/parse-contacts Wed Dec 12 13:40:28 2018 -0500
@@ -0,0 +1,15 @@
+#!/usr/bin/env bash
+
+# Parse a contacts.csv exported from Google (in Outlook format) into something
+# human-usable.
+
+set -euo pipefail
+
+awk '{ $14 = $1 " " $2 " " $3; print $14, $15 }' FS=, OFS=, \
+ | tail +2 - \
+ | sed -Ee 's/ +,/,/' \
+ | tr -s ' ' \
+ | sort -t, -k2,1 -r \
+ | awk '!seen[$2]++' FS=, OFS=, \
+ | sort -t, -k2,2 \
+ | awk '{ print $2, $1 }' FS=, OFS=" "
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/search-contacts Wed Dec 12 13:40:28 2018 -0500
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+set -euo pipefail
+echo "Email Name Memo"
+grep -i "$1" ~/.contacts
--- a/gitconfig Mon Nov 26 11:39:35 2018 -0500
+++ b/gitconfig Wed Dec 12 13:40:28 2018 -0500
@@ -170,3 +170,6 @@
[include]
path = ~/.gitconfig_local
+
+[credential]
+ helper = store
--- a/gitignore Mon Nov 26 11:39:35 2018 -0500
+++ b/gitignore Wed Dec 12 13:40:28 2018 -0500
@@ -14,3 +14,4 @@
.notmylispwords
.*.done
*.lx64fsl
+.sjl-rsync-exclude
--- a/lispwords Mon Nov 26 11:39:35 2018 -0500
+++ b/lispwords Wed Dec 12 13:40:28 2018 -0500
@@ -83,6 +83,7 @@
(1 gathering-vector)
(1 multiple-value-bind*)
(1 do-repeat)
+(1 do-irange)
; qtools
(1 qtenumcase)
--- a/mutt/muttrc Mon Nov 26 11:39:35 2018 -0500
+++ b/mutt/muttrc Wed Dec 12 13:40:28 2018 -0500
@@ -16,10 +16,8 @@
# }}}
# Contacts {{{
-# Use the OS X address book
-set query_command = "contacts -Sf '%eTOKEN%n' '%s' | sed -e 's/TOKEN/\t/g'"
+set query_command = "search-contacts"
bind editor <Tab> complete-query
-bind editor ^T complete
# }}}
# Basic Options {{{
--- a/stumpwmrc Mon Nov 26 11:39:35 2018 -0500
+++ b/stumpwmrc Wed Dec 12 13:40:28 2018 -0500
@@ -192,7 +192,7 @@
(,extern ("--auto"))
(,extern ("--primary"))
;; (,extern ("--mode" "2560x1440"))
- (,extern ("--left-of" ,laptop)))
+ (,extern ("--right-of" ,laptop)))
do (pr (uiop:run-program `("xrandr" "--output" ,output ,@commands)))))
(defcommand vlime () ()
--- a/vim/custom-dictionary.utf-8.add Mon Nov 26 11:39:35 2018 -0500
+++ b/vim/custom-dictionary.utf-8.add Wed Dec 12 13:40:28 2018 -0500
@@ -268,3 +268,4 @@
whitespace
dropdown
jQuery
+deserializes
--- a/vim/vimrc Mon Nov 26 11:39:35 2018 -0500
+++ b/vim/vimrc Wed Dec 12 13:40:28 2018 -0500
@@ -436,12 +436,6 @@
command! -bang WQ wq<bang>
command! -bang Wqa wqa<bang>
-" Toggle paste
-" For some reason pastetoggle doesn't redraw the screen (thus the status bar
-" doesn't change) while :set paste! does, so I use that instead.
-" set pastetoggle=<F6>
-nnoremap <F6> :set paste!<cr>
-
" Unfuck my screen
nnoremap U :syntax sync fromstart<cr>:redraw!<cr>
@@ -2226,6 +2220,11 @@
nnoremap gP g-
" }}}
+" NeoFormat {{{
+
+nnoremap <f6> :Neoformat<cr>
+
+" }}}
" NeoRepl {{{
nnoremap <leader>S 0v$:call NeoReplSendSelection()<cr>
--- a/weechat/python/autoload/editor.py Mon Nov 26 11:39:35 2018 -0500
+++ b/weechat/python/autoload/editor.py Wed Dec 12 13:40:28 2018 -0500
@@ -45,7 +45,7 @@
data = get_data(suffix, line)
if data:
weechat.command(buffer, "/input delete_line")
- weechat.command(buffer, data)
+ weechat.command(buffer, data.strip())
weechat.command("", "/window refresh")