utop icon indicating copy to clipboard operation
utop copied to clipboard

Feature Request: Ctrl-w, ctlrl-n, ctrl-p

Open jordwalke opened this issue 11 years ago • 5 comments

In most terminal based apps, ctrl-w would delete backwards one word, and ctrl-n/p would either (1. move the cursor up/down in the text that is being typed, or 2. Cycle between previous, next command in the history).

jordwalke avatar Nov 30 '14 03:11 jordwalke

This should probably be done in lambda-term. @diml?

whitequark avatar Nov 30 '14 14:11 whitequark

@whitequark yes

@jordwalke C-n/p does what you describe with the last version of lambda-term. C-w is bound by default to cutting the current region to the clipboard, like in emacs. You can change it with the following ~/.lambda-term-inputrc file:

C-w: kill-prev-word

ghost avatar Dec 01 '14 08:12 ghost

Sounds great!

jordwalke avatar Dec 01 '14 09:12 jordwalke

those other commands are as follows:

C-n: history-next
C-p: history-prev

You can also type lambda-term-actions from the terminal to see all available commands.

jplew avatar Mar 22 '20 11:03 jplew