4ddd1c8ca46c

more clojure stuff
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Tue, 02 Jul 2013 17:03:11 -0700
parents 1c0e66191283
children a3ff27f963ce
branches/tags (none)
files vim/after/plugin/fireplace-map-unfucking.vim vim/vimrc

Changes

--- a/vim/after/plugin/fireplace-map-unfucking.vim	Tue Jul 02 16:48:02 2013 -0700
+++ b/vim/after/plugin/fireplace-map-unfucking.vim	Tue Jul 02 17:03:11 2013 -0700
@@ -49,11 +49,11 @@
     au Filetype clojure nmap <buffer> <localleader>s <Plug>FireplaceSource
 
     " Eval Form
-    " au Filetype clojure nmap <buffer> <localleader>ef
+    au Filetype clojure nmap <buffer> <localleader>ef <Plug>FireplacePrintab
 
     " Eval Top-Level Form
-    " au Filetype clojure nmap <buffer> <localleader>ee
+    au Filetype clojure nmap <buffer> <localleader>ee mz:call PareditFindDefunBck()<cr><Plug>FireplacePrintab'z
 
-    " Open clojure command line editor client thing
-    " au Filetype clojure nmap <buffer> <localleader>E
+    " Open clojure command line editor client window thing
+    au Filetype clojure exe 'nmap <buffer> <localleader>E <Plug>FireplacePrompt' . &cedit . 'i'
 augroup END
--- a/vim/vimrc	Tue Jul 02 16:48:02 2013 -0700
+++ b/vim/vimrc	Tue Jul 02 17:03:11 2013 -0700
@@ -621,6 +621,9 @@
     au FileType clojure compiler clojure
     au FileType clojure setlocal report=100000
     au FileType clojure RainbowParenthesesToggle
+    au FileType clojure RainbowParenthesesLoadRound
+    au FileType clojure RainbowParenthesesLoadSquare
+    au FileType clojure RainbowParenthesesLoadBraces
 
     " Friendlier Paredit mappings.
     au FileType clojure noremap <buffer> () :<c-u>call PareditWrap("(", ")")<cr>