7ea1a6d67dee

More
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sat, 24 Sep 2016 11:45:00 +0000
parents 30edc2f560bf
children 8711abae3c3a
branches/tags (none)
files bin/lecdown vim/custom-dictionary.utf-8.add vim/ftplugin/lisp/lispfolding.vim vimperatorrc

Changes

--- a/bin/lecdown	Fri Sep 16 14:40:52 2016 +0000
+++ b/bin/lecdown	Sat Sep 24 11:45:00 2016 +0000
@@ -55,6 +55,9 @@
     inlineMath: [[',,',',,']],
     displayMath: [['!!!','!!!']],
     processEscapes: true
+  },
+  TeX: {
+    equationNumbers: {autoNumber: "AMS"}
   }
 });
 
@@ -85,6 +88,10 @@
 \\newcommand{\\limx}[2]{\\lim\\limits_{x \\to #1}{#2}}
 !!!
 
+!!!
+\\newcommand{\\deriv}[2]{\\frac{d}{d#1}\\left(#2\\right)}
+!!!
+
 </div>
 EOF
 
--- a/vim/custom-dictionary.utf-8.add	Fri Sep 16 14:40:52 2016 +0000
+++ b/vim/custom-dictionary.utf-8.add	Sat Sep 24 11:45:00 2016 +0000
@@ -200,3 +200,4 @@
 ncurses
 docstrings
 accessor
+C
--- a/vim/ftplugin/lisp/lispfolding.vim	Fri Sep 16 14:40:52 2016 +0000
+++ b/vim/ftplugin/lisp/lispfolding.vim	Sat Sep 24 11:45:00 2016 +0000
@@ -132,7 +132,7 @@
 function! GetLispFold(lnum) " {{{
     let save_cursor = getpos('.')
     let save_search = @/
-    let inline_fn_comment_re = '\v^ *;;( .*)?$'
+    let inline_fn_comment_re = '\v^\s*;;( .*)?$'
 
     try
         if getline(a:lnum) =~ '^;;;; '
--- a/vimperatorrc	Fri Sep 16 14:40:52 2016 +0000
+++ b/vimperatorrc	Sat Sep 24 11:45:00 2016 +0000
@@ -31,3 +31,6 @@
 
 " unfuck ublock
 style -name ublick * #nav-bar * { visibility: visible; }
+
+" unfuck completions for ff49
+js services.services.autoCompleteSearch.class_="@mozilla.org/autocomplete/search;1?name=unifiedcomplete"