Top "Ftplugin" questions

ftplugin is the Vim editor's mechanism for running a set of commands based on the filetype of the file being edited (for instance, html, C, javascript, etc).

Best way to organize filetype settings in .vim and .vimrc?

I'm going through my vim dotfiles to tidy them up. I've noticed that through time I've added various filetype specific …

file-type vim ftplugin
How to edit HTML in Vim?

I'm new to Vim and I'm trying to get used to it. I just created a .vimrc file and got …

html vim indentation ftplugin
How to manually load an ftplugin after startup in Vim?

Say I load a .txt file into Vim. Then I want to change the filetype=html but I also want …

plugins vim ftplugin
Autocommand for new file of specific filetype

I want to run some vim commands anytime I create a new file of a specific file type, sort of …

vim ftplugin autocommand