85bedd1649b9

More
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sun, 07 May 2017 16:15:49 +0000
parents c6a5e3f83620
children 73adae8ca49d
branches/tags (none)
files .hgsub .hgsubstate bin/code-to-pdf bin/eq-dotcount bin/sbcl-rlwrap fish/functions/histgrep.fish lispwords marked-sjl.css vim/after/plugin/tslime2-load.vim vim/after/plugin/tslime2.vim vim/custom-dictionary.utf-8.add vim/vimrc

Changes

--- a/.hgsub	Mon Mar 27 14:38:10 2017 +0000
+++ b/.hgsub	Sun May 07 16:15:49 2017 +0000
@@ -42,8 +42,6 @@
 vim/bundle/swig                  = [git]git://github.com/vim-scripts/SWIG-syntax.git
 vim/bundle/syntastic             = [git]git://github.com/scrooloose/syntastic.git
 vim/bundle/targets               = [git]git://github.com/wellle/targets.git
-vim/bundle/timl                  = [git]git://github.com/tpope/timl.git
-vim/bundle/tslime2               = [git]git://github.com/sjl/tslime2.vim.git
 vim/bundle/vim-completes-me      = [git]git://github.com/ajh17/VimCompletesMe.git
 vim/bundle/vimtex                = [git]git://github.com/lervag/vimtex.git
 vim/bundle/vitality              = [hg]https://bitbucket.org/sjl/vitality.vim
--- a/.hgsubstate	Mon Mar 27 14:38:10 2017 +0000
+++ b/.hgsubstate	Sun May 07 16:15:49 2017 +0000
@@ -42,8 +42,6 @@
 19c3d966440b6cfe8d74251881a48e961ddb8648 vim/bundle/swig
 cc6b92afa640db4342dc9ab9fd4215316888d6fa vim/bundle/syntastic
 f6f2d6618a321f5b0065586a7bc934325fec81ab vim/bundle/targets
-01deb947b22201c8a3dfee5ae97b11228bd9cc36 vim/bundle/timl
-d143308c5f385cce76dba5abf7b8b3737d711a4f vim/bundle/tslime2
 4367cf0727c8c7de9f7f056825e0dc04f8981f35 vim/bundle/vim-completes-me
 5d5c71044880443035e07009497962feacb56b20 vim/bundle/vimtex
 bf3fd7f67e730f93765bd3c1cfcdb18fd4043521 vim/bundle/vitality
--- a/bin/code-to-pdf	Mon Mar 27 14:38:10 2017 +0000
+++ b/bin/code-to-pdf	Sun May 07 16:15:49 2017 +0000
@@ -10,7 +10,7 @@
     --header-font "Menlo-Bold@10" \
     --margins=60:60:18:60 \
     --fancy-header=sjl \
-    --title $TITLE \
+    --title "$TITLE" \
     --baselineskip 3 \
     --line-numbers \
     --highlight \
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/eq-dotcount	Sun May 07 16:15:49 2017 +0000
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+grep -Eo 'has taken \d+ damage from your' | cut -d' ' -f3 | awk '{s+=$1} END {print s}' -
--- a/bin/sbcl-rlwrap	Mon Mar 27 14:38:10 2017 +0000
+++ b/bin/sbcl-rlwrap	Sun May 07 16:15:49 2017 +0000
@@ -1,4 +1,4 @@
 #!/usr/bin/env bash
 
 set -e
-rlwrap --histsize 1000 --history-filename "$HOME/.rlwrap-lisp-history" -- ros -L sbcl run -l ~/.sbclrc -- --dynamic-space-size 8000 "$@"
+rlwrap --histsize 1000 --history-filename "$HOME/.rlwrap-lisp-history" -- ros -L sbcl run -l ~/.sbclrc -- --dynamic-space-size 4000 "$@"
--- a/fish/functions/histgrep.fish	Mon Mar 27 14:38:10 2017 +0000
+++ b/fish/functions/histgrep.fish	Sun May 07 16:15:49 2017 +0000
@@ -1,3 +1,3 @@
 function histgrep -d "grep shell history because my brain is garbage"
-    history | grep $argv
+    history | grep $argv | gtac
 end
--- a/lispwords	Mon Mar 27 14:38:10 2017 +0000
+++ b/lispwords	Sun May 07 16:15:49 2017 +0000
@@ -1,6 +1,7 @@
 ; unfuck normal shit
 (1 if)
 (1 ccase)
+(1 ctypecase)
 (-1 loop)
 (2 defmethod)
 (2 define-compiler-macro)
--- a/marked-sjl.css	Mon Mar 27 14:38:10 2017 +0000
+++ b/marked-sjl.css	Sun May 07 16:15:49 2017 +0000
@@ -12,7 +12,7 @@
 }
 
 html>body {
-    font-size:16px
+    font-size:14px
 }
 
 h1 {
--- a/vim/after/plugin/tslime2-load.vim	Mon Mar 27 14:38:10 2017 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-source ~/.vim/bundle/tslime2/plugin/tslime.tim
--- a/vim/after/plugin/tslime2.vim	Mon Mar 27 14:38:10 2017 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-
-source ~/.vim/bundle/tslime2/plugin/tslime.tim
--- a/vim/custom-dictionary.utf-8.add	Mon Mar 27 14:38:10 2017 +0000
+++ b/vim/custom-dictionary.utf-8.add	Sun May 07 16:15:49 2017 +0000
@@ -215,3 +215,5 @@
 bitrot
 platformer
 maintainership
+GDL
+ZDD
--- a/vim/vimrc	Mon Mar 27 14:38:10 2017 +0000
+++ b/vim/vimrc	Sun May 07 16:15:49 2017 +0000
@@ -263,6 +263,8 @@
 
 iabbrev c8 CHIP-8
 
+iabbrev todo TODO
+
 iabbrev sl@ steve@stevelosh.com
 
 silent! digr -. 8230 "U+2026=…    HORIZONTAL ELLIPSIS
@@ -1205,6 +1207,17 @@
 augroup END
 
 " }}}
+" EQ {{{
+
+augroup ft_eq
+    au!
+
+    autocmd BufNewFile,BufRead eqlog_*.txt set filetype=eq
+
+    vnoremap <localleader>d ::w !~/lib/dotfiles/bin/eq-dotcount<cr>
+augroup END
+
+" }}}
 " Firefox {{{
 
 augroup ft_firefox
@@ -1362,6 +1375,15 @@
 augroup END
 
 " }}}
+" Latex {{{
+
+let g:tex_flavor = 'latex'
+
+augroup ft_latex
+    au!
+augroup END
+
+" }}}
 " Lilypond {{{
 
 augroup ft_lilypond
@@ -1480,9 +1502,6 @@
     au FileType pgsql set softtabstop=2 shiftwidth=2
     au FileType pgsql setlocal commentstring=--\ %s comments=:--
 
-    " Send to tmux with localleader e
-    au FileType pgsql nnoremap <buffer> <silent> <localleader>e :let psql_tslime_view = winsaveview()<cr>vip"ry:call SendToTmux(@r)<cr>:call winrestview(psql_tslime_view)<cr>
-
     " kill pager with q
     au FileType pgsql nnoremap <buffer> <silent> <localleader>q :call SendToTmuxRaw("q")<cr>
 augroup END
@@ -1844,29 +1863,6 @@
 augroup END
 
 " }}}
-" TimL {{{
-
-augroup ft_timl
-    au!
-
-    au FileType timl silent! call TurnOnClojureFolding()
-
-    " Things that should be indented 2-spaced
-    " au FileType clojure setlocal lispwords+=when-found,defform,when-valid
-
-    au FileType timl RainbowParenthesesActivate
-    au syntax timl RainbowParenthesesLoadRound
-    au syntax timl RainbowParenthesesLoadSquare
-    au syntax timl RainbowParenthesesLoadBraces
-
-    au FileType timl call EnableParedit()
-
-    " Indent top-level form.
-    au FileType timl nmap <buffer> gi mz99[(v%='z
-    " ])
-augroup END
-
-" }}}
 " Vagrant {{{
 
 augroup ft_vagrant
@@ -2508,19 +2504,6 @@
 let g:targets_pairs = '()b {}B []r <>'
 
 " }}}
-" tslime {{{
-
-let g:tslime_ensure_trailing_newlines = 1
-let g:tslime_normal_mapping = '<localleader>T'
-let g:tslime_visual_mapping = '<localleader>t'
-let g:tslime_vars_mapping = '<localleader>t'
-
-" }}}
-" tslime2 {{{
-
-let g:tslime2_ensure_trailing_newlines = 1
-
-" }}}
 
 " }}}
 " Text objects ------------------------------------------------------------ {{{