Comments (3)
I don’t know that it’s impossible; it could be that sufficiently clever hackery can make it work, as long as you are willing to give up Vim tabs completely forever.
Then the basic approach is to have as many extra Vim tabs as you have buffers. You can then intercept the tab change events caused by the user clicking on the tabline, and switch buffers accordingly.
The problem is making sure that the buffer and window management works exactly like it would if you only had a single Vim tab. E.g. keeping Vim from creating or not-closing empty buffers in various circumstances.
I got most of the way there with several different approaches, each with another combination of tricks to create the right illusion, but each approach had its own cases in which the illusion broke. I didn’t manage to make any of them work perfectly. In the end I gave up.
Someday in the future I may try again, and one of these attempts may even succeed.
from vim-buftabline.
Yes, it would be nice. But it’s very difficult to make it work without glitches. And turning on this feature would make it impossible to use regular Vim tabs at all. If you’re interested, you can try picking up the krazy
branch and finishing what I started, and I shall be happy to look at the results. But I do not intend to put further work into it myself, sorry.
from vim-buftabline.
It's more difficult than I thought vim-airline/vim-airline#369
Anyway, thanks for the quick response.
from vim-buftabline.
Related Issues (20)
- Reorder buffer tabs in MRU order? HOT 2
- Question regarding global manul installation HOT 1
- buftabline and goyo don't work together HOT 5
- NeoVim external GUI tabline needs to be disabled separately HOT 4
- Splits: non-focused split more highlighted than focused one HOT 4
- Highlight name only of the buffer with cursor in it? HOT 3
- tab highlight color override bug — coloring over underline HOT 4
- Is this project dead HOT 1
- Order options for Buftabline HOT 4
- g:buftabline_show = 1 doesn't work when opening quickfix window HOT 4
- Crash with g:buftabline_show = 1 HOT 1
- Is there a way not have gap between buftabline and window top? HOT 1
- Buffers with "%" in filename HOT 1
- opening a vim terminal buffer breaks tab switching HOT 2
- Don't show vim terminal as buffer tab HOT 5
- Buftabline is not clickable on vim? HOT 1
- Improve the documentation for colorscheme customization HOT 6
- Fork permission HOT 2
- What's the colorscheme or color configs for the image in README doc? HOT 4
- I have buftabline on two different computers, one asked me to save files when I switch buffers the other does not HOT 1
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 vim-buftabline.