Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to provide cwd to vim-fugitive commands #2363

Open
danrasmuson opened this issue Dec 22, 2024 · 0 comments
Open

unable to provide cwd to vim-fugitive commands #2363

danrasmuson opened this issue Dec 22, 2024 · 0 comments

Comments

@danrasmuson
Copy link

danrasmuson commented Dec 22, 2024

All vim fugitive commands use the cwd of the current buffer. This is convenient and helpful except when scripting.

* This command (along with all other commands) always uses the current buffer's repository, so you don't need to worry about the current working directory.

I have a desire to provide a different cwd to command such as...

vim.cmd("vertical Git log cwd=/directory/other/then/buffer_cwd")

But this does not appear possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant