FG

How can I include vim settings in source code so that the file is displayed the same way?

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

Problem

I vaguely remember that there is a way to store instructions for vim in my file (like tabstop width etc). I'm not speaking of settings in vimrc but of storing those settings with in the file to be edited. That way the tabstop has always the right width even if I transfer this file to another comput…

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 include vim settings in source code so that the file is displayed the same way?

Low Risk

Put a comment with in it, ending with a newline. If vim doesn't pick this up then you may need to add to . See for full details.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment