dgrnbrg / vim-redl

A better Vim integration story for Clojure
106 stars 8 forks source link

ctrl+return #9

Closed Raynes closed 11 years ago

Raynes commented 11 years ago

Would it be possible to use control+return instead of control+e to evaluate regardless of position in line? It seems like it makes much more sense.

dgrnbrg commented 11 years ago

You can map <Plug>clj_repl_eval. (note the period) to anything you want. For instance, you could do imap <C-CR> <Plug>clj_repl_eval. in your .vimrc. I use <C-e> instead of <C-CR> since <C-CR> doesn't work in terminal vim.

Raynes commented 11 years ago

Ah, wasn't aware of that issue with terminal vim. Good call!