FG
💻 Software

Reset terminal after quitting VIM -- colors all messed up

Fresh7 days ago
Mar 15, 20265819 views
Confidence Score0%
0%

Problem

Whenever I quit VIM my terminal colors are all messed up. Manually running on the command line doesn't seem to fix it either. I'm using the Mustang VIM theme. I think I basically need to tell VIM to reset all colors or something before it quits. Any ideas?

Error Output

reset

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Reset terminal after quitting VIM -- colors all messed up

Low Risk

I was having a similar problem with Vim + GNU Screen + Terminal.app. Here was my solution: Create a script called resetcolor: Put this script in your PATH. Then within ~/.vimrc, add the following: Based on this answer.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment