# Vim Runtime Folders ## Metadata **Status**:: #x **Zettel**:: #zettel/literature **Created**:: [[2023-08-05]] **Topic**:: [[♯ Vim]] ## Synopsis For each directory in `runtimepath` - Vim sources all vim files in `plugin`. - When Vim encounters a undefined function `foo#bar#name`, it tries to load the function from `autoload/foo/bar.vim`. - Use `ftplugin` as an alternative `autocmd FileType`. - Built-in modules can be disabled by `let b:did_ftplugin = 1` - The folders in `after` are loaded after their counterparties.