[Help-bash] How to execute multiple readline commands?
From:
Michal Pesa
Subject:
[Help-bash] How to execute multiple readline commands?
Date:
Sat, 28 Jul 2018 13:58:42 +0200
User-agent:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
Hello,
I would like to execute multiple readline commands. For example the
following macro deleting the line and inserting "goto ":
"\C-x\C-d": "\C-a\C-kgoto "
Is it possible to use something like this instead:
"\C-x\C-d": beginning-of-line kill-line "goto "
As of now, it seems to me that I have to bind all the commands I would
like to use and then use them as a macro (unless I want the keystroke to
execute exactly one command).
Thank you for your time.
Configuration Information:
Machine: x86_64
OS: linux-gnu
Compiler: gcc