51b9c5b3b301

More
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 08 Oct 2018 16:34:42 -0700
parents 1cb6fe38b946
children 2b6e7849cfce
branches/tags (none)
files bin/ffindext fish/config.fish fish/functions/b.fish fish/functions/ep.fish fish/functions/t.fish stumpwmrc vim/custom-dictionary.utf-8.add vim/vimrc xsessionrc

Changes

--- /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 ' ' '|'))$"
--- 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"
--- 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
--- 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
--- 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
-
--- 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
--- 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
--- 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 <buffer> <silent> M :GoDoc<cr>
 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 <buffer> <localleader>l :call PlanLinkPaste()<cr>
+    au BufNewFile,BufRead ~/.plan/README.markdown nnoremap <buffer> <localleader>d o##<esc>:r!date +\%Y-\%m-\%d<cr>kJ
 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
 
 " }}}
--- 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