FG

How can I make ctrl+left/right keys to move by whole word in tmux?

Fresh3 days ago
Mar 15, 202638587 views
Confidence Score1%
1%

Problem

In both zsh and bash, Ctrl+arrows allows me to move the position I'm typing at by whole word, but this does not work in tmux, which is a problem as I'm currently launching it automatically every time I open a shell. How can I fix this?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I make ctrl+left/right keys to move by whole word in tmux?

Low Risk

Edit your and add lines: If you don’t want to make it permanent just yet, do: Reload your config in tmux by doing: More information here:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment