Commits

Steve Losh  committed 4ddd1c8

more clojure stuff

  • Participants
  • Parent commits 1c0e661

Comments (0)

Files changed (2)

File vim/after/plugin/fireplace-map-unfucking.vim

     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
     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>