Comments (6)
Found it, custom setf terminal
was conflicting with toggleterm's filetype.
from toggleterm.nvim.
Hi @romgrk, do you have set hidden
on in your config? if not this is one known thing that causes this issue. If you do already use that but are still seeing this can you try a minimal config with just this plugin and see if it still causes this issue
from toggleterm.nvim.
Not reproducible with minimal config. Any idea what kind of issue might be causing this?
from toggleterm.nvim.
@romgrk do you have an terminal related autocommands? I previously encountered this in #25 I think, the issue there being that that person didn't have set hidden
on which meant when the terminal was being hidden it was being disposed of so every time it was triggered it wouldn't find the previous one.
In your screenshots it's appears to be trying to recreate terminal 1
each time, so it mustn't be finding it. Can you try toggling one terminal open, then running require('toggleterm.terminal').get_all()
should return the map of all terminals. If it's empty then that would explain why the second toggle is creating a new term but not sure why the terminal wouldn't be being saved on open.
from toggleterm.nvim.
It's the same terminal, but shown in two separate windows, changes in one are reflected in the other window. I'll debug further later, unless you have any other guesses as to what might be the cause.
from toggleterm.nvim.
No nothing off the top of my head other than I think something else must be set somewhere i.e. a vim setting I'm not thinking of or an autocommand, sorry no immediate ideas/suggestions other than the classic binary settings search
from toggleterm.nvim.
Related Issues (20)
- [BUG] `:tabnew %` on a toggleterm buffer causes it to lose cursor position HOT 1
- Q: How do you close a terminal? HOT 1
- [BUG] images support bug? HOT 2
- Can't use terminal keymaps HOT 1
- [BUG] Calling toggle in quick succession does not respect persist_mode/start_in_insert HOT 1
- [Feature Request] Next/Previous Terminal HOT 2
- [BUG] windows Custom Terminals fail
- [BUG] weird black space at the left of the terminal HOT 6
- Is it possible to allow users to open the toggleterm in the current window, just like :term? HOT 1
- Help Request: Issues trying to set toggle-term on Windows HOT 4
- Cannot open multiple terminals while in terminal mode HOT 3
- [BUG] Toggleterm does not respond or sometimes blinks when creating a new window HOT 1
- [INFO] Trying to exit Terminal mode
- [FR]: Allow `Terminal:new()` to take custom `width` and `height` HOT 1
- [Question] Frame color is not matching with the rest HOT 2
- [BUG] set_opfunc is undefined HOT 5
- Please check instructions HOT 2
- [feature] Add a function to send keypress to the terminal HOT 1
- How can I remove this line on the top of toggle term and zshrc?
- [BUG] Lines send before REPL is opened
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 toggleterm.nvim.