Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow using the "%" variable in git commands
Closes #686 For example, when running: :Git add % neovim throws the following exception: E499: Empty file name for '%' or '#', only works with ":p:h": terminal git add % It is a result of the tabnew command, it creates a new blank tab where "%" is empty. This commit changes "tabnew" to "tabedit %" so you're still working on the same file. Once the command is done running the tab closes.
- Loading branch information
b7b2300
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still getting similar issue when running "Git status" (or any other Git command).
Using latest vim-fugitive.