Comments (5)
Ah, yes, the lcd
issue. Actually, it’s a known quirk of :mkview
I documented in the plugin help’s FAQTroubleshooting section. The maddening thing about it is that it is both inconsistent (according to the Vim help, it should only store actually set local working directories, but that seems to be wishful thinking: I’ve noticed it often, but, crucially, not always, switches when there is no need to) and hard to fix (due to the train wreck Vim’s working directory API is).
I’ll ponder approaches to fixing this (again – it’s been sitting in the private Trello for this plugin for quite some time now), but I can’t promise anything ATM.
from vim-stay.
Until I get around to this, you might be interested in the workaround I suggested in #10 .
from vim-stay.
Thanks! This is much better than the workaround that I've been using - save cwd on Vim start and cd to it on each file opening.
from vim-stay.
JFI: Neovim has tab local directories now additionally: neovim/neovim@5ebffaa
from vim-stay.
Thanks, but I was aware of that, having been part of the discussion that led to the feature ;). Unluckily, neither that feature nor Vim’s recent getcwd()
patch affect my previous arguments much. I have been pondering a different approach for a while now, and might integrate it into the 1.5 release. Speaking of which, did you have an opportunity to look at #13?
from vim-stay.
Related Issues (20)
- Avoid doubling on Session Load HOT 21
- getbufvar signature incompatible with vim < v7.4 HOT 6
- View session state intermittently gets out of sync with view HOT 15
- Check for sourcing of view session files is too naive HOT 5
- Activates wrong window of multiple buffer windows HOT 24
- View session files override modelines
- Focus gets confused, ends up with no split focused HOT 12
- Error when opening a file (v1.4.0) HOT 2
- vim-stay in neovim produces E484 error when opening new file HOT 11
- view files for files in &backupskip HOT 2
- Error when using BufStayLoadPost autocmd HOT 7
- Slight incompatibility with Vimwiki plugin HOT 8
- Can't create view folder in C:\Program Files\Vim/vimfiles/view HOT 1
- Add command or option to `:CleanViewdir`'s only nonexisting files. HOT 2
- Does this plugin automatically clear out views beyond a certain date HOT 4
- "vim-stay could not read the view session file" for new files HOT 21
- vim-stay error E867: (NFA) Unknown operator '\zh' HOT 21
- Stay should not load view state when re-editing buffer in another window HOT 21
- Should this plugin save the arglist?
- vim-stay breaks vim-fetch HOT 2
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-stay.