Coder Social home page Coder Social logo

Small doc suggestion about lir.nvim HOT 8 CLOSED

tamago324 avatar tamago324 commented on July 17, 2024 3
Small doc suggestion

from lir.nvim.

Comments (8)

tamago324 avatar tamago324 commented on July 17, 2024 2

I've never used dirvish, so I don't know, but what about the following mapping?

lua vim.api.nvim_set_keymap(
    'n',
    '-',
    [[<Cmd>execute 'e ' .. expand('%:p:h')<CR>]],
    { noremap = true }
)

from lir.nvim.

thekaganugur avatar thekaganugur commented on July 17, 2024 1

Hi,
Keybinding you have suggested to @tjdevries works alongside the new fix.
Thank you.

from lir.nvim.

tamago324 avatar tamago324 commented on July 17, 2024

Thank you for suggesting that!
Yes, it's probably a good idea to mention that you can't do anything without setting it up.
I've updated the README.md. What do you think?

Cool plugin :) I like it thus far!

I'm very happy to hear you say that!

from lir.nvim.

tjdevries avatar tjdevries commented on July 17, 2024

Yeah, that's perfect :) thanks for doing that.

One question -- what would be the easiest way for me to map - to open up lir in %:h of the current file? I liked that mapping from dirvish, which I am switching from.

from lir.nvim.

thekaganugur avatar thekaganugur commented on July 17, 2024

Hey, thank you for the plugin.
I too come from 'dirvish' what you suggested worked with one small issue. Is there a way to make it opened with the cursor under the current file? Instead of it being the top most. I want it to select the current file upon opening.

Thanks.

from lir.nvim.

tamago324 avatar tamago324 commented on July 17, 2024

@kgnugur Hi.
That was a bug and has been fixed. (4d6522f)
Could you try it?

Thank you for commenting here, even if you have a small question. Thanks to you, we were able to find the bug and fix it.

from lir.nvim.

tamago324 avatar tamago324 commented on July 17, 2024

@tjdevries May I close this?

from lir.nvim.

tamago324 avatar tamago324 commented on July 17, 2024

Close.
If you have any problems, please contact us.

from lir.nvim.

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.