Comments (7)
Actually I'd like to leave this open until I have a PR adding some more options, just as a sort of to-do :)
from flatten.nvim.
I'm not sure I understand what you're describing, could you provide a list of repro steps and/or a video? I'll look into it asap once I have some more info. Thanks for reporting :)
from flatten.nvim.
All good, sorry for the trouble and thanks for the support!
from flatten.nvim.
Sequence.1.mp4
Hopefully this makes it clear, else please let me know @willothy .
It shows: opeining nvim in a new kitty terminal without issues. Then I'm trying to do it in another tab but it immediately closes on me, trying this multiple times. Same for wezterm.
It doesn't happen with the mentioned commit.
I will bisect and add the exact commit for better analysis.
from flatten.nvim.
Ahh, I see
one_per = {
kitty = true, -- Flatten all instance in the current Kitty session
wezterm = true, -- Flatten all instance in the current Wezterm session
},
was added.
Didn't notice this as breaking change or opt-in feature. Had to manually opt out of it.
from flatten.nvim.
Ah, yes I should've marked it as breaking. That's my bad, I was perhaps a bit too hasty merging that. But with that being said, ideally you'd still be able to open a new session in another window. I'm not a fan of not being able to have multiple nvim windows open, even though I like to be able to open things from other Wezterm windows sometimes, so I'll try to get this fixed in the next few days by adding some options for when wezterm/kitty windows nest. Until then, disabling the features should be good :)
from flatten.nvim.
For now you should be able to customize the pipe_path function to suit your needs. Returning nil from that will allow the instance to open. Other than that, what options would be helpful? I'm not quite sure what to add for this.
from flatten.nvim.
Related Issues (20)
- Customizable host address detection HOT 3
- Strange behavior when using git rebase in toggleterm with flatten.nvim HOT 7
- Bug with plugins that automatically change cwd
- [Bug] File opened in another nvim instance HOT 7
- Commits on August 10 Don't respect the window --> open setting HOT 1
- Use `v:parent` channel if/when merged
- When there is space in the filename the filename passed to neovim is escaped HOT 2
- Use vim.rpc* instead of vim.fn.rpc*
- Should `wezterm` and `kitty` integration be disabled by default?
- Todo: separate remote file and remote command logic
- Todo: Use libuv and async for pipes where possible
- Option to return to the terminal after closing a file HOT 19
- Combining with `gf` HOT 3
- Breaking changes on main (flatten.nvim 1.0.0)
- How to avoid swap file warning E325? HOT 1
- Support quickfix mode HOT 6
- `nvim --cmd 'let g:flatten_wait=1' file1` does not work, neither does `-b` HOT 17
- Option to have wezterm only flatten if in the same pane HOT 1
- Doesn't seem to work when using tmux inside of the nested terminal HOT 9
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 flatten.nvim.