As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [ftplugin]

The tag has no usage guidance.

4 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
1 answer
70 views

Why is there an ftplugin directory for each plugin?

I am trying to get started with VimTeX. I am reading through a guide (https://www.ejmastnak.com/tutorials/vim-latex/vimtex.html) and using vim-plug to manage plugins. I am very new to Vim generally, ...
monty_m's user avatar
  • 21
0 votes
0 answers
17 views

How to have placeholder text when Opening some filetypes

I would like to have a reminder of my mappings when I open say tex files. Idealy I would like something like the vim screen that shows vim version and stuff but I don't think that gonna be possible/...
Neo Mosaid's user avatar
0 votes
0 answers
27 views

BufReadPre only with vimdiff OR regex to ignore

I am trying to ignore hardcoded line numbers when running vimdiff on files. The regex ^\s*\d\+: properly identifies all the line numbers (which are only on some lines, not all lines). So far I've ...
Micah Lindstrom's user avatar
0 votes
0 answers
166 views

Filetype inheritance

I know that it's not very common, but there are few cases in which I would really like to inherit the configurations for one filetype in another. Example: whatever I set for sh I would like to inherit ...
Annibale's user avatar
  • 101