# HG changeset patch # User Steve Losh # Date 1539041682 25200 # Node ID 51b9c5b3b301561be8cc67be56e847a00757ce83 # Parent 1cb6fe38b946f7c38de81ef0053a1e8c6f3adac0 More diff -r 1cb6fe38b946 -r 51b9c5b3b301 bin/ffindext --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/ffindext Mon Oct 08 16:34:42 2018 -0700 @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +set -euo pipefail + +ffind "[.]($(echo "$@" | tr -s ' ' '|'))$" diff -r 1cb6fe38b946 -r 51b9c5b3b301 fish/config.fish --- a/fish/config.fish Wed Oct 03 11:07:08 2018 -0700 +++ b/fish/config.fish Mon Oct 08 16:34:42 2018 -0700 @@ -76,6 +76,7 @@ prepend_to_path "/bin" prepend_to_path "/usr/bin" prepend_to_path "/usr/local/bin" +prepend_to_path "/usr/local/go/bin" prepend_to_path "/usr/local/sbin" prepend_to_path "$HOME/src/dotfiles/lisp/binaries" prepend_to_path "$HOME/src/dotfiles/bin" diff -r 1cb6fe38b946 -r 51b9c5b3b301 fish/functions/b.fish --- a/fish/functions/b.fish Wed Oct 03 11:07:08 2018 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -function b - ~/lib/t/t.py --task-dir="~/Dropbox/tasks" --list=backpack.txt $argv -end diff -r 1cb6fe38b946 -r 51b9c5b3b301 fish/functions/ep.fish --- a/fish/functions/ep.fish Wed Oct 03 11:07:08 2018 -0700 +++ b/fish/functions/ep.fish Mon Oct 08 16:34:42 2018 -0700 @@ -2,8 +2,10 @@ switch (hostname) case alephnull cd ~/.plan + git pull origin master nvim README.markdown git cm 'Update' -a + git push origin master case '*' hg -R ~/.plan pull -u nvim ~/.plan/README.markdown diff -r 1cb6fe38b946 -r 51b9c5b3b301 fish/functions/t.fish --- a/fish/functions/t.fish Wed Oct 03 11:07:08 2018 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,8 +0,0 @@ -function t - if math (count $argv) == 0 >/dev/null - ~/lib/t/t.py --task-dir="~/Dropbox/tasks" --list=tasks.txt | sort -t - -k 2.1 - else - ~/lib/t/t.py --task-dir="~/Dropbox/tasks" --list=tasks.txt $argv - end -end - diff -r 1cb6fe38b946 -r 51b9c5b3b301 stumpwmrc --- a/stumpwmrc Wed Oct 03 11:07:08 2018 -0700 +++ b/stumpwmrc Mon Oct 08 16:34:42 2018 -0700 @@ -7,7 +7,7 @@ ;;;; Config ------------------------------------------------------------------- (set-prefix-key (kbd "C-space")) -;; (redirect-all-output (data-dir-file "debug" "text")) +(redirect-all-output (data-dir-file "debug" "text")) (setf *mouse-focus-policy* :click *message-window-gravity* :center diff -r 1cb6fe38b946 -r 51b9c5b3b301 vim/custom-dictionary.utf-8.add --- a/vim/custom-dictionary.utf-8.add Wed Oct 03 11:07:08 2018 -0700 +++ b/vim/custom-dictionary.utf-8.add Mon Oct 08 16:34:42 2018 -0700 @@ -225,3 +225,5 @@ ASDF JSON filesystem +submodule +Goroutines diff -r 1cb6fe38b946 -r 51b9c5b3b301 vim/vimrc --- a/vim/vimrc Wed Oct 03 11:07:08 2018 -0700 +++ b/vim/vimrc Mon Oct 08 16:34:42 2018 -0700 @@ -253,6 +253,8 @@ iabbrev sl@ steve@stevelosh.com +iabbrev spf set -euo pipefail + silent! digr -. 8230 "U+2026=… HORIZONTAL ELLIPSIS silent! digr !, 8816 "U+2270=≰ NEITHER LESS-THAN NOR EQUAL TO silent! digr !. 8817 "U+2271=≱ NEITHER GREATER-THAN NOR EQUAL TO @@ -1399,6 +1401,7 @@ au! au FileType go setlocal shiftwidth=8 + au FileType go setlocal foldmethod=syntax au FileType go nnoremap M :GoDoc augroup END @@ -1442,6 +1445,16 @@ augroup END " }}} +" Jade Templates {{{ + +augroup ft_jade + au! + + au BufRead,BufNewFile *.jade setlocal filetype=jade + au FileType jade setlocal foldmethod=indent +augroup END + +" }}} " Java {{{ augroup ft_java @@ -1599,6 +1612,7 @@ au! au BufNewFile,BufRead ~/.plan/README.markdown nnoremap l :call PlanLinkPaste() + au BufNewFile,BufRead ~/.plan/README.markdown nnoremap d o##:r!date +\%Y-\%m-\%dkJ augroup END " }}} @@ -2157,6 +2171,7 @@ " Go {{{ let g:go_fmt_command = "goimports" +let g:go_fmt_experimental = 1 let g:go_doc_keywordprg_enabled = 0 " }}} diff -r 1cb6fe38b946 -r 51b9c5b3b301 xsessionrc --- a/xsessionrc Wed Oct 03 11:07:08 2018 -0700 +++ b/xsessionrc Mon Oct 08 16:34:42 2018 -0700 @@ -17,9 +17,9 @@ /home/sjl/src/dotfiles/bin/keysettings xcape -t 200 -e 'Control_L=Escape;Shift_L=Shift_L|9;Shift_R=Shift_R|0' -xautolock -time 15 -locker /usr/bin/slock & +xautolock -time 10 -locker /usr/bin/slock & # /usr/bin/dunst -config $HOME/.dunstrc & -exec /usr/local/bin/stumpwm +exec ssh-agent /usr/local/bin/stumpwm