FG

Messed up keys in vim when running inside tmux

Fresh3 days ago
Mar 15, 202613960 views
Confidence Score0%
0%

Problem

I have been playing with tmux and I'm loving it. However, there's an annoying issue when running vim inside it. Somehow the arrow keys get remapped, but only on certain times, like when firing up Command-T, if I try to scroll down the file list, the command is cancelled and I'm thrown into insert m…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Messed up keys in vim when running inside tmux

Low Risk

I simply added to my .tmux.conf This made tmux use xterm instead of screen, so life is beautiful and I don't need to worry about stomping on keybindings.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment