Comments (3)
Same problem, but with xplr.
from fm-nvim.
vim-floaterm includes its own little binary/script which can be run from within a terminal to open said files into the current neovim instance. I see lazygit seems to open files using the $EDITOR
(if set). I mention the vim-floaterm binary, because in this case we could set the EDITOR=floaterm
and it will trick lazygit into opening the file into the current vim instance.
HOWEVER, I also found this section in the lazygit docs, which mentions nvim-remote
. It allows to open the files in the current neovim instance as well, without intervention by this plugin here. I just gave it a try and it doesn't exactly work either (for me at least, not sure if my setup is problematic). When I launch :terminal
and then open lazygit therein, then it opens (e
) the file within my current neovim instance. However, when I open lazygit via this plugin it opens a nested neovim instance. I also had to alias my vim
to nvr
as this lazygit setting made it look for vim
instead of nvr
for some reason.
If anyone is interested, I'd be curious to know if you get this nvim-remote
thing working for lazygit (maybe something is wrong in my setup)? If it does then that's great, this plugins seems to have gone stale for a year now.
from fm-nvim.
Same for GitUI
from fm-nvim.
Related Issues (20)
- Open browser with current file selected HOT 9
- Allow directional splits HOT 1
- Ctrl-j and Ctrl-k not working when using Broot HOT 4
- enter key doesn't work as expected when using xplr HOT 6
- FEATURE:bookmark HOT 2
- LF icons not working HOT 6
- split mode does not work HOT 1
- [Feature] Change current directory HOT 2
- Close buffer along with window HOT 1
- Update buffer on file action with LF HOT 9
- [Feature Request] Allow custom border characters HOT 1
- Joshuto does not work HOT 3
- Make it possible to disable or override a mapping
- Xplr not open file inside already open buffer
- Can it run in the background permanently
- Joshuto does not work HOT 2
- broot just.. doesn't work?
- Add support for Yazi HOT 1
- Cannot open files that contain spaces in file/path name
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 fm-nvim.