vimtricks.wiki Concise Vim tricks, one at a time.

How do you enable filetype-specific settings in Vim?

Answer

filetype plugin indent on

Explanation

This command enables filetype detection, loading of filetype plugins, and filetype-specific indentation. Essential for language-specific behavior.

Next

How do I visually select a double-quoted string including the quotes themselves?