Commits

Meikel Brandmeyer  committed 8f41a7e

Document new Repl enter behaviour

  • Participants
  • Parent commits bef1070

Comments (0)

Files changed (1)

File vim/doc/clojure.txt

 will send it to the Clojure instance. In case the expression is incomplete,
 eg. after "(defn foo" will result in a newline for multiline expressions.
 
+A newline will also be inserted if you are inside of the expression. The
+expression will only be submitted to the Repl when you hit enter after
+the last character of the buffer. If you are inside the expression and
+want to start the evaluation immediately you may use <C-CR> instead of
+the plain <CR>.
+
 Previously sent expressions may be recalled via <C-Up> and <C-Down>.
 Note: sending multiple expressions will save them in the same history
 entry. So playing back with <C-Up> will again send all of the contained
 
 The Plugs are:
  - <Plug>ClojureReplEnterHook for the enter key
+ - <Plug>ClojureReplEvaluate for immediate evaluation (<C-CR>)
  - <Plug>ClojureReplUpHistory for going backwards in history (<C-Up>)
  - <Plug>ClojureReplDownHistory for going forwards in history (<C-Down>)