Vim allows you to insert modelines to specify options you'd like for a specific file. For example, you could have a perl script as follows:
#!/usr/bin/perl
# vim: set expandtab:
use strict;
This would tell Vim to expand tabs in the current file. See :help modeline for more info.
Showing posts with label modeline. Show all posts
Showing posts with label modeline. Show all posts
Friday, January 9, 2009
Subscribe to:
Posts (Atom)