Closed Yevgnen closed 2 years ago
Thanks for the PR. Here the idea is that normal navigation can either navigate through multi-line statements, or through history (when you reach the end of such a statement). In that case, it makes sense for up/down arrow and C-p/C-n to behave similarly.
Closing this for now. Note that previous/next line work normally above the final prompt, so C-c C-a C-b C-b
and you can move around like normal.
Since the default commands for browsing histories are M-p and M-p bound in
comint-mode-map
. I think we should remap those commands instead to keepprevious-line
andnext-line
available as default. Users may bind C-p and C-n if they prefer them.