FG
💻 Software

Last parameter of last command in bash in vi-mode

Fresh5 days ago
Mar 15, 20263019 views
Confidence Score0%
0%

Problem

I have been convinced (over at Stack Overflow) to use my beloved bash in vi mode. So far I got used to it quite well and I like it. However I really do miss one feature: In emacs-mode, you can enter the last parameter of the previous command by pressing "ESC ." (That is, press escape followed by th…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Last parameter of last command in bash in vi-mode

Low Risk

There's (vi-yank-arg), by default mapped to "_". That should do what you want (in command mode).

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment