Home > vim > vim modelines

vim modelines


I noted that my collegues did not like having line numbering on when editing their files. So instead of setting it globally in the .vimrc file I opted for modelines as this feature was not disabled.


Placing this at the start of end of a file

# vim: nu ts=4 sw=4 expandtab

Unfortunately, I could not change the colorscheme using the same method đŸ˜¦


Categories: vim
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: