Vim Tips Wiki
Advertisement

Previous TipNext Tip

Tip: #1378 - Change the color scheme to show where you are

Created: November 3, 2006 14:22 Complexity: basic Author: info at bertram dash scharpf dot de Version: n/a Karma: 4/3 Imported from: Tip#1378

When you edit files in two different directories, for example

when copying parts of code from one into the other, you may

change Vims color scheme so that you always see at the first

glance in which directory the file resides that you edit:


autocmd BufEnter * if match(@%,'/otherdir/')>=0

Comments

What the --AT--% in the command means?

Anonymous , January 1, 2007 21:17


Advertisement