fe782aa85d4d

More
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Tue, 16 Feb 2016 11:10:23 +0000
parents 1f45b7e02dca
children 5c97265b7ffc
branches/tags (none)
files fish/config.fish vim/vimrc

Changes

--- a/fish/config.fish	Tue Feb 09 13:44:36 2016 +0000
+++ b/fish/config.fish	Tue Feb 16 11:10:23 2016 +0000
@@ -1,5 +1,6 @@
 # Useful functions {{{
 
+function eb; vim ~/Dropbox/bitly.txt; end
 function ed; vim ~/.vim/custom-dictionary.utf-8.add; end
 function ef; vim ~/.config/fish/config.fish; end
 function eff; vim ~/.config/fish/functions; end
--- a/vim/vimrc	Tue Feb 09 13:44:36 2016 +0000
+++ b/vim/vimrc	Tue Feb 16 11:10:23 2016 +0000
@@ -810,9 +810,12 @@
     au FileType clojure silent! call TurnOnClojureFolding()
     au FileType clojure compiler clojure
     au FileType clojure setlocal report=100000
+    au FileType clojure setlocal isk-=.
+
+    au FileType clojure iabbrev <buffer> defun defn
 
     " Things that should be indented 2-spaced
-    au FileType clojure setlocal lispwords+=when-found,defform,when-valid,try,while-let
+    au FileType clojure setlocal lispwords+=when-found,defform,when-valid,try,while-let,try+,throw+
 
     au FileType clojure RainbowParenthesesActivate
     au syntax clojure RainbowParenthesesLoadRound
@@ -1845,6 +1848,15 @@
 augroup END
 
 " }}}
+" Wisp {{{
+
+augroup ft_wisp
+    au!
+
+    au BufRead,BufNewFile *.wisp set ft=clojure
+augroup END
+
+" }}}
 " XML {{{
 
 augroup ft_xml
@@ -2505,7 +2517,7 @@
 endfunc
 
 " TODO: Figure out the diffexpr shit necessary to make this buffer-local.
-" nnoremap <leader>W :call ToggleDiffWhitespace()<CR>
+nnoremap <leader>W :call ToggleDiffWhitespace()<CR>
 
 " }}}
 " Error Toggles {{{