GithubHelp home page GithubHelp logo

Comments (8)

francoiscabrol avatar francoiscabrol commented on August 17, 2024

I have the same version of ranger (1.8.1) and neovim 0.2 works well for me...
Does someone else can reproduce it?
Do you have an idea about what does it mean?

from ranger.vim.

lohfu avatar lohfu commented on August 17, 2024

My my, i am terribly sorry but it appeared i had actually implemented my own version of your plugin... was sure i was using this. Testing your plugin again it seems to work, but RangerWorkingDirectory is not opening ranger at all.

The reason i wasn't using your plugin was i wanted to open ranger with the current file selected when not opening the working directory. I got both the RangerWorkingDirectory command working and selecting the current file... Would you be interested in a PR or do you not want to select the current file when opening ranger?

from ranger.vim.

francoiscabrol avatar francoiscabrol commented on August 17, 2024

Humm I am not sure to understand... what you want is selecting the current file when opening the current file's folder with RangerCurrentDirectory?

from ranger.vim.

francoiscabrol avatar francoiscabrol commented on August 17, 2024

Because RangerWorkingDirectory open the workspace directory from where vim was opened... The current file can't be selected (except if the file is in this folder)

from ranger.vim.

lohfu avatar lohfu commented on August 17, 2024

Humm I am not sure to understand... what you want is selecting the current file when opening the current file's folder with RangerCurrentDirectory?

Yes exactly... I do this simply by using the --selectfile option when opening ranger...

from ranger.vim.

rosshadden avatar rosshadden commented on August 17, 2024

@lohfu I had the same error (and the same situation where I'm using my own custom version of this code, which handles selecting files). I fixed it simply by adding an extra argument to on_exit.

from ranger.vim.

francoiscabrol avatar francoiscabrol commented on August 17, 2024

I think the bug when you want to run RangerWorkingDirectory is fixed with #26

from ranger.vim.

francoiscabrol avatar francoiscabrol commented on August 17, 2024

about the behaviour for opening the selected file, I will add it

from ranger.vim.

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.