GithubHelp home page GithubHelp logo

Comments (5)

kopischke avatar kopischke commented on May 8, 2024

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.

kopischke avatar kopischke commented on May 8, 2024

Until I get around to this, you might be interested in the workaround I suggested in #10 .

from vim-stay.

sergei-dyshel avatar sergei-dyshel commented on May 8, 2024

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.

blueyed avatar blueyed commented on May 8, 2024

JFI: Neovim has tab local directories now additionally: neovim/neovim@5ebffaa

from vim-stay.

kopischke avatar kopischke commented on May 8, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.