Hi Ember,
thanks for developing madeline!
When I use rc + madeline, there is one thing that I really miss:
Pasting a token/argument of a previous command!
In bash, this is called `yank-last-arg` or `insert-last-argument` and
bound to "Alt+.".
In fish, this is called `history-token-search-backward`.
Do you plan implementing such a feature? Would you accept a patch
implementing this?
If yes, do you prefer the bash or the fish way?
Example:
$ cmdA argA_1 argA_2
$ cmdB argB_1 argB_2
$ cmdC [Alt+.]
Bash would insert argB_2, and after another [Alt+.] argA_2.
Fish would iterate over argB_2, argB_1, cmdB, argA_2, argA_1, cmdA.
IMO, it would be best to iterate over all arguments but not the
commands: argB_2, argB_1, argA_2, argA_1.
Best regards,
Max