FG
💻 Software

How to switch comfortably to vi command mode on the zsh command line?

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

Problem

In vi, I have mapped 'jj' to escape to be able to switch to command mode without using the annoying escape key. Now I want to have the same for command line editing for which I use vi-mode. I already have found the following solution: lets you change with control-j into command mode. Still searchin…

Error Output

bindkey '^j' vi-cmd-mode

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to switch comfortably to vi command mode on the zsh command line?

Low Risk

Note: You should look at for a lot of goodies about customizing and emulating . This is how I mapped to : If you're interested in distinguishing between insert-mode and normal-mode, you could try out the suggestion akira mentions here

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment