Comments (5)
Support for vim sessions should be out of the box as long as you have the correct settings for vim session: sessionoptions should contain 'globals'. I'm not sure if vim-obsession is an edge case.
Let me know if this doesn't work for you. I'll need a minimal repro vimrc from you if that's the case.
from vim-wintabs.
Nice ! Actually works perfectly!!
I was using obsession because that was the recommended session plug in for tmux-resurrect. I'm going to add instructions on how to use vim-session instead of obsession on that repo in this pull request that i will finish later tmux-plugins/tmux-resurrect#257
from vim-wintabs.
Hooray using the global session option works is!
I have one concern about using this option though. One benefit of using sessions is that if I am playing around with my Vim set up, and I want a clean reload of Vim (but still reopen all my files), I can just type :wqa<cr>
then nvim -S
.
If I enable the global session options then doing the above reload would not clean Vim very well, because there are a whole lot of global variables that are saved.
So basically, to get obsession working with this plug-in, there will be a much of side-effects.
I'm really not sure what the solution could be.
from vim-wintabs.
I just found this by googling https://github.com/xolox/vim-session#the-gsession_persist_globals-option which allows persistence of specific global variables. I might have a play with this later tonight.
from vim-wintabs.
Yeah I use vim-session myself, and wintabs supports vim-session out of the box: you don't need to register the wintabs global.
from vim-wintabs.
Related Issues (20)
- When restoring from Vim session, buffers from other tabs are copied into the active tab HOT 3
- [Feature request] Close tabs (buffers) to the left/right like chrome HOT 2
- Support displaying vimtabs when statusline display is enabled HOT 2
- Setting g:wintabs_display = 'none' followed by :WintabsRefresh does nothing HOT 2
- Allow overriding buf_label specifically HOT 1
- Request: Ability to click on statusline buffers HOT 1
- If two files are opened only first is displayed in wintabs HOT 3
- Option to disable tabline if only one buffer is open HOT 1
- After closing a tab, the tabbing order doesn't flow correctly
- How to exit vim after closing the last Wintabs?
- Vim error with switchbuf="useopen" in vimdiff
- Colors and styles support HOT 2
- :mkview followed by :loadview makes a buffer tab disappear
- split windows and buffers (when using g:wintabs_display = 'tabline')
- [question] change buffer status line colours HOT 1
- Buffer number HOT 1
- Strange marks in tabline HOT 1
- buffers for each tab rather than window
- persistence of folds between tabs (or buffers in a window)
- Does this project support bufferline.nvim?
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-wintabs.