Comments (13)
+1 for this.
Does anyone have a workaround in the meantime?
from vim-session.
I just tried modifying the session plugin to ignore the MiniBufExplorer window (similar to the existing code for BufExplorer), but this only caused other layout issues (e.g. additional 1-line splits that shouldn't be there).
@xolox: are you reading this? I'd be glad if you could point me in the right direction ;-)
from vim-session.
I have the same problem. The plug minibufexp always have some problem when used with other plug, such as nerd tree. I thing that minibufexp is good ideal, but not work well.
from vim-session.
Yep, same problem here. I've just sent xolox (Peter) a mail in his native tongue, hope that helps! ;-)
from vim-session.
I've had limited success with setting minibufexplorer's autoupdate feature to 0 and then deleting the minibuf window, just before opening and saving a session. Right after the save and open, I reset autoupdate to 1.
Unfortunately, Nerdtree is no longer restored properly as a result of this. And minibuf's "status bar" is not drawn completely either.
Here's what I inserted at the top of the xolox#session#open_cmd and xolox#session#save_cmd functions, inside autoload/xolox/session.vim file.
if (bufnr('MiniBufExplorer') != -1)
let g:miniBufExplorerAutoUpdate = 0
exe bufwinnr(bufnr("MiniBufExplorer")) . "wincmd q"
endif
And this is what I added at the end of each of these functions:
if (bufnr('MiniBufExplorer') != -1)
let g:miniBufExplorerAutoUpdate = 1
endif
from vim-session.
+1 for this.
I use TabList on left, MiniBufExpl on top and NERDTree on left.
With :mksession I can at least manually close NERDTree window and re-open one,
But with :SaveSession it lost main edit windows.
Wish support for MiniBufExpl would be add, thanks.
from vim-session.
Probably should have posted here earlier, sorry about that; I've looked into adding support for MiniBufExpl several times but it's far from trivial (in combination with other plug-ins) so I always got stuck. I may take another stab at it today.
from vim-session.
Now I remember why I gave up: I would never want to use the minibufexpl plug-in because it instantly wrecks my sessions with multiple explorer splits in every tab page. It's complete chaos, I wouldn't even know how the session plug-in should handle which windows?! Should it just ignore all minibufexpl split windows / buffers and let the minibufexpl take care of restoring itself after a session restore?
from vim-session.
I think you can try ignore minibufexpl when save/restore session, if it can be.
For now I barely use session, instead I open tmux and keep it running background when idle,
the problem is reboot machine.
In simple, maybe a single 'open file list' is enough for a session ?
from vim-session.
Has anyone been able to find an alternative? Would be cool to see the two play together
from vim-session.
Sorry for the long silence, unfortunately I don't have anything new to add here yet, I just wanted to add a pointer to a new issue I just created: #98.
from vim-session.
+1. I started using vim-session but it conflicts with minibuf, so now I have to choose (or because I don't use NerdTree, figure out how to close the minibuf pane before vim-session saves it)
Edit: the interesting thing, is as long as I don't add the
:let g:session_autoload = 'yes'
line and load it when the prompt comes up, then it works fine.
from vim-session.
Proposing a solution for support of MiniBufExplorer: #132 . Works fine for me. Tested only with xolox#session#include_tabs()==true .
from vim-session.
Related Issues (20)
- gVim 8.1.1 full-screen HOT 2
- Saving session with makefile quicklist not working. HOT 4
- OpenSession - Entering a number without hitting enter
- autosave hidden unnamed buffers
- Persist markers into session? HOT 1
- Color scheme is not loaded properly when auto restoring session on VimEnter HOT 2
- RestartVim not working (linux vim 8.0.1453)
- Swich sessions HOT 1
- Forking this project HOT 1
- Files don't close when saving session in windows
- Missing/stale functions/mappings after some plugins get installed or removed
- Rename SaveSession, OpenSession, etc. to SessionSave, SessionOpen, etc.
- Swapfiles conflict when opening session in two Vim sessions
- Error while opening a session that contains at least one terminal buffer.
- Add support of Buffer Explorer plugin
- vim-session reorders the opened tabs
- newvim :setlocal buftype=acwrite & E676
- Save :Focus from vim-dispatch?
- slow
- Session is not completely restored on auto-load
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-session.