meow-edit / doom-meow-archive

A meow module for Doom Emacs
GNU General Public License v3.0
50 stars 7 forks source link

comint bindings for up/down #3

Closed bdarcus closed 2 years ago

bdarcus commented 2 years ago

Just tested the module, and it's looking good!

One little thing, the details of which I forget in Doom:

Can you add bindings so that, for example, in ielm the up and down arrows cycle through the command history?

not-leader commented 2 years ago

Can you please elaborate? I'm not sure what you mean by this

bdarcus commented 2 years ago

From the help description when using default evil module for <up>, where <down>: is mapped to comint-next-input

<up> runs the command comint-previous-input, which is an interactive native
compiled Lisp function in ‘comint.el’.

It is bound to <up>, C-<up>, <insert-state> <up>, <normal-state> C-p, M-p,
<menu-bar> <inout> <previous-history>.

(comint-previous-input ARG)

Cycle backwards through input history, saving input.

But I guess it's fine if it's bound to C-p and C-n, so fine to close.

not-leader commented 2 years ago

oh this kind of stuff is not the type of stuff meow tries to bind to