Questions tagged [filetype-git]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
89 views

How fugitive-specific is the 'git' filetype?

When you run fugitive's :Gblame, it opens a buffer whose 'filetype' is fugitiveblame. You can hit q to close its window. You can also hit o to view the commit for the line your cursor is on in a ...
8
votes
3answers
1k views

How to get git diff in vim when writing a commit message?

This may be a weird question, because I already have this setup in my dotfiles somewhere, I just don't know how to tell a friend to set it up in their dotfiles. I want to know how to get a nice git ...
6
votes
1answer
1k views

Warning when opening commit message with Neovim

I've been using Neovim for a few days with no problem, so I decided to switch my git config to use Neovim instead of vim. Here's what I put in my global .gitconfig: [core] editor = nvim And here'...
4
votes
1answer
322 views

Why does Vim force programming indentation when in “gitcommit” filetype?

I found that when I am using Vim to compose git commit messages (which I have been doing for a very long time now) that there are occasionally some quirks. For example today I wrote a commit message ...