Commits

Meikel Brandmeyer  committed cebe1c2

Fix infinite loop for suitable redefinitions of <CR>

  • Participants
  • Parent commits 66215f3

Comments (0)

Files changed (1)

File vim/plugin/clojure.vim

 call vimclojure#MakeCommandPlug("n", "StartLocalRepl", "vimclojure#StartRepl", "b:vimclojure_namespace")
 
 inoremap <Plug>ClojureReplEnterHook <Esc>:call b:vimclojure_repl.enterHook()<CR>
-imap <Plug>ClojureReplEvaluate <Esc>GA<CR>
+inoremap <Plug>ClojureReplEvaluate <Esc>G$:call b:vimclojure_repl.enterHook()<CR>
 nnoremap <Plug>ClojureReplHatHook :call b:vimclojure_repl.hatHook()<CR>
 inoremap <Plug>ClojureReplUpHistory <C-O>:call b:vimclojure_repl.upHistory()<CR>
 inoremap <Plug>ClojureReplDownHistory <C-O>:call b:vimclojure_repl.downHistory()<CR>