07f9a2d5c710

Updates
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Fri, 19 Oct 2018 14:45:41 -0700
parents 8286e61c3b01
children dfb6c15ac3f5
branches/tags (none)
files .hgsubstate bin/cacl fish/config.fish fish/functions/ep.fish stumpwmrc vim/custom-dictionary.utf-8.add vim/vimrc

Changes

--- a/.hgsubstate	Mon Oct 15 16:50:22 2018 -0700
+++ b/.hgsubstate	Fri Oct 19 14:45:41 2018 -0700
@@ -16,7 +16,7 @@
 fccd580f5f11d576169ee347907c9fbd77af410a vim/bundle/html5
 78fffa609b3e6b84ef01ee4c9aba6d7435d7b18e vim/bundle/indent-object
 39e332a3c36c0115e1eab85c34cf121b7585869d vim/bundle/javascript
-dcdab0cd55da5e0b8655c000d99d96624cd6404c vim/bundle/markdown
+0c4f69b91c2e7eddca845734aadd5933ba512167 vim/bundle/markdown
 1362fdc7c32855794659cafe6e65d3239843d9df vim/bundle/miniyank
 d6032c876c6d6932ab7f07e262a16c9a85a31d5b vim/bundle/nerdtree
 f506af01e84e53643e0760b7f43c74069ce16c85 vim/bundle/paredit
--- a/bin/cacl	Mon Oct 15 16:50:22 2018 -0700
+++ b/bin/cacl	Fri Oct 19 14:45:41 2018 -0700
@@ -3,6 +3,6 @@
 set -e
 
 LISPS=("sbcl" "ccl" "abcl" "ecl")
-LISPS=("sbcl")
+LISPS=("sbcl" "ccl")
 ~/src/cacl/cacl-$(shuf -n1 -e "${LISPS[@]}")
 
--- a/fish/config.fish	Mon Oct 15 16:50:22 2018 -0700
+++ b/fish/config.fish	Fri Oct 19 14:45:41 2018 -0700
@@ -3,6 +3,7 @@
 function eb; nvim ~/Dropbox/bitly.txt; end
 function ed; nvim ~/.vim/custom-dictionary.utf-8.add; end
 function ef; nvim ~/.config/fish/config.fish; end
+function ew; nvim (which $argv[1]); end
 function eff; nvim ~/.config/fish/functions; end
 function eg; nvim ~/.gitconfig; end
 function eh; nvim ~/.hgrc; end
--- a/fish/functions/ep.fish	Mon Oct 15 16:50:22 2018 -0700
+++ b/fish/functions/ep.fish	Fri Oct 19 14:45:41 2018 -0700
@@ -6,6 +6,7 @@
         git cm 'Update' -a
         git push origin master
         git push gist master
+        cd -
     case '*'
         hg -R ~/.plan pull -u
         nvim ~/.plan/README.markdown
--- a/stumpwmrc	Mon Oct 15 16:50:22 2018 -0700
+++ b/stumpwmrc	Fri Oct 19 14:45:41 2018 -0700
@@ -50,9 +50,7 @@
 
 (defun battery ()
   (run-shell-command
-    (hostcase
-      (:alephnull "acpi -b | grep 'Battery 1' | awk -F '[ ,]' '{printf \"%s%s\", $3, $5}' | sed s/Discharging// | sed s/Unknown// | sed s/Full// | sed s/Charging/+/")
-      (t "acpi -b | awk -F '[ ,]' '{printf \"%s%s\", $3, $5}' | sed s/Discharging// | sed s/Unknown// | sed s/Full// | sed s/Charging/+/"))
+    "acpi -b | tail -n1 | awk -F '[ ,]' '{printf \"%s%s\", $3, $5}' | sed s/Discharging// | sed s/Unknown// | sed s/Full// | sed s/Charging/+/"
     t))
 
 
@@ -314,7 +312,8 @@
 
   ("H-n" "next-in-frame")
   ("H-p" "prev-in-frame")
-  ("H-N" "pull-hidden-next"))
+  ("H-N" "pull-hidden-next")
+  ("H-P" "prev-in-frame"))
 
 (define-top-keys ;; splitting
   ("H-s" "sane-vsplit")
--- a/vim/custom-dictionary.utf-8.add	Mon Oct 15 16:50:22 2018 -0700
+++ b/vim/custom-dictionary.utf-8.add	Fri Oct 19 14:45:41 2018 -0700
@@ -244,3 +244,14 @@
 variadic
 GDPR
 HIPAA
+CNV
+subsequences
+Monoploid
+Ploidy
+spliceosome
+exons
+introns
+regexes
+rebase
+submodules
+artisanal
--- a/vim/vimrc	Mon Oct 15 16:50:22 2018 -0700
+++ b/vim/vimrc	Fri Oct 19 14:45:41 2018 -0700
@@ -1400,6 +1400,9 @@
     au FileType go setlocal shiftwidth=8
     au FileType go setlocal foldmethod=syntax
     au FileType go nnoremap <buffer> <silent> M :GoDoc<cr>
+
+    " this language is incredible
+    au FileType go imap <buffer> ,ern<space> if err != nil {<cr>return nil, err<esc>jo
 augroup END
 
 " }}}