haskell / haskell-mode

Emacs mode for Haskell
http://haskell.github.io/haskell-mode/
GNU General Public License v3.0
1.31k stars 339 forks source link

comint & ess mode keybindings #271

Open vapniks opened 10 years ago

vapniks commented 10 years ago

It would be nice to have the same keybindings that we have in comint mode & ess mode, e.g from comint-mode: C-c C-u = kill input line C-c C-p = move cursor to previous prompt C-c C-n = move cursor to next prompt M-r = search input history backwards from ess-mode: C-c C-j = evaluate current line C-c C-b = evaluate buffer C-c C-r = evaluate region

gracjan commented 9 years ago

For the lazy:

Overall this seems like impressive prior art and a well established practice.

purcell commented 9 years ago

C-c C-p = move cursor to previous prompt C-c C-n = move cursor to next prompt

These are now done, at least.

vapniks commented 9 years ago

cheers Steve, that's more sane :)

purcell commented 9 years ago

cheers Steve, that's more sane :)

Nothing to thank me for: that was a recently-submitted contribution, in 417405d84ddb65494633c1716c701b983161ec7d. :-) If you dig in there, it might be trivial to add some or all of the other bindings.