Comments (2)
@bew you can execute git commands from anywhere in the system by pointing it to the directory/subdirectory where a .git exists. In order to achieve this you need to use the -C
flag followed by the directory. For example:
git -C path/to/your/repo ls-files
Goal is to make any buffer no matter where you open it from within the filesystem to work seamlessly as if you were in the .git directory.
Achieving this will be a bit tricky because of the tight coupling, but achievable none the less.
from vgit.nvim.
How does that work then, what kind of functionality you want to work?
AFAIK all features of vgit comes from git being available
from vgit.nvim.
Related Issues (20)
- How do I open a file from the project diff preview? HOT 7
- Plug instructions HOT 1
- Ability to scroll and navigate inside buffer_history_preview() HOT 1
- project_commit_preview
- Error when trying to diff a file when a patch was applied HOT 3
- certain buffers do not react to selection moving up and down HOT 2
- vgit doesn't resize the buffer while on split view HOT 2
- simultaneously scroll split diff viewer when preview project diff HOT 2
- Phantom inline git-blame messages at the bottom of buffers HOT 2
- [VGit] fatal: path '.config/nvim/lua/plugins/init.lua HOT 3
- Color sidebar on Git Worktree directories
- [Question] How do I switch views between filed on `VGit project_diff_preview`? HOT 3
- Hunk Buffer
- Selection And Buffer hunk HOT 2
- Press q to record macro not working HOT 1
- E154: Duplicate tag ":VGit" HOT 3
- Replace `j`, `k` with event `CursorMoved` HOT 3
- How is this better or different from `vim-fugitive`?
- Staging and unstaging hunks in `project_diff_preview` mode doesn't work
- Exploding memory consumption on large files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vgit.nvim.