Questions tagged [modeline]
An annotation at the beginning or end of a text document to configure the editor for that document
3
questions
12
votes
1
answer
1k
views
Is it possible to create custom "set" commands in my rc file and call them from a modeline?
I recently asked a question in which I learned that it is not possible to pass anything except parameters to :set in vim modelines. I understand the security concerns, but I'm wondering if there isn't ...
7
votes
1
answer
663
views
Is there a way to make some modeline that applies to all files in a directory, recursively?
I have a project consisting of files that Vim doesn't recognize by default, but has support for highlighting and indentation. I would like to have a vimrc file or a vimmodeline (or whatever similar) ...
5
votes
2
answers
1k
views
Is there a way to set an abbreviation in a modeline so it is always available local to one file buffer?
I have a handful of files (LaTeX documents) that have one specific proper name that is really obnoxious to type out but used frequently. I've eased the pain of this with an abbreviation like so:
iab ...