Bug 1303304
Summary: | gvim windows are empty when restoring saved session in KDE | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jonathan Wakely <jwakely> |
Component: | vim | Assignee: | Karsten Hopp <karsten> |
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 23 | CC: | ignatenko, karsten, moshima.web |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-04-20 09:31:43 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jonathan Wakely
2016-01-30 13:29:53 UTC
I think you need either a plugin like http://www.vim.org/scripts/script.php?script_id=3150 or use something like 'autocmd VimLeavePre * mksession! .vim.sess' and gvim -S .vim.sess as described at http://superuser.com/questions/148802/restore-session-in-gvim-like-in-firefox Neither solution is something I would like to add to vim atm. Session management really needs to be fixed upstream. Better support for mksession is one of the features that VIM sponsors have voted upon, but is is way down the list: http://www.vim.org/sponsor/vote_results.php Thanks, that makes sense (although I'd say in that case KDE should not be trying to save gvim windows at all if it doesn't work). The plugin looks useful, especially if I can somehow get KDE to trigger it when saving a session. Thanks again. |