Quantcast
Channel: Is it possible to assign multiple commands to a single hotkey? (bash, xterm) - Unix & Linux Stack Exchange
Browsing latest articles
Browse All 3 View Live

Answer by Miroslav Koškár for Is it possible to assign multiple commands to a...

It's not possible to assign multiple commands to a single hotkey directly. Normally one would do following in the ~/.inputrc"\C-x": some-readline-command (eg. kill-whole-line)However, you can do...

View Article



Answer by choroba for Is it possible to assign multiple commands to a single...

You can add the following line into ~/.inputrc:"\C-x": kill-whole-lineOr, add the following into your ~/.bashrc:bind '"\C-x": kill-whole-line'To see all the possible bindings and which are in effect,...

View Article

Is it possible to assign multiple commands to a single hotkey? (bash, xterm)

Back in the day, if my cursor was in the middle of a really long shell command I'd just hit Ctrl+C to get myself a new command prompt.Then I learned about Ctrl+K/C and life was good. Unfortunately...

View Article
Browsing latest articles
Browse All 3 View Live


Latest Images