💻 Software
bash vi mode: what is (arg: N)?
Fresh5 days ago
Mar 15, 2026800 viewsConfidence Score0%
0%
Problem
I am using vi mode in a bash shell. If I enter insert command mode and type a number from 1-9 (eg: 5, in the example below), I get the following prompt: What does this mean? I can't seem to do anything useful with this prompt, and I don't know what its purpose is. I even poked into the bash sources…
Error Output
(arg: 5) <cursor>
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: bash vi mode: what is (arg: N)?
Low Risk
You actually exited insert mode and are in command mode. The number is an argument that can be used with motion keys, just as in : e.g. moves left 5 characters. Likewise you can say to delete the next 5 characters and go into insert mode ( ubstitute…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix