Git Product home page Git Product logo

Comments (11)

themoken avatar themoken commented on August 15, 2024

You can rectify that with

:bind j scroll-down

and

:bind k scroll-up

when the reader is open. It's a bit weird, you have to close the info box that opens between, so your bind doesn't get confused by the infobox (stupidly).

Anyway, I'll make the binds default, as they should be, and try to fix the above.

from canto-curses.

mkaito avatar mkaito commented on August 15, 2024

I'll do that.

I only thought they'd work because it's mentioned in the docs.

from canto-curses.

themoken avatar themoken commented on August 15, 2024

Yeah, it should. Just fixed it in git.

from canto-curses.

mkaito avatar mkaito commented on August 15, 2024

It would seem :bind k scroll-up refuses to work. j works fine, though. Odd.

from canto-curses.

themoken avatar themoken commented on August 15, 2024

Make sure you closed the infobox in between (I tried to ninja-edit my first response). It should say it bound reader.k

from canto-curses.

mkaito avatar mkaito commented on August 15, 2024

I just edited the config by hand 😸

By the way, and excuse me for hijacking this, but is there a bind/command list somewhere? I'm trying to figure out whether I can bind a yank command,

from canto-curses.

themoken avatar themoken commented on August 15, 2024

Ugh. Bad, bad! Editing JSON by hand =)

Anyway, the best place to see the binds is in the source gui.py. A yank command would be pretty easy to do in source (add a cmd_yank to the taglist class), but to accomplish it outside of the source would require a plugin ... something that's rather undocumented.

from canto-curses.

mkaito avatar mkaito commented on August 15, 2024

Beats editing XML, although I'd much prefer standard rc file syntax.

Should I fork and add a yank command, or would you kindly take care of that as a feature request?

from canto-curses.

themoken avatar themoken commented on August 15, 2024

I'm actually working on a quick plugin at the moment

from canto-curses.

themoken avatar themoken commented on August 15, 2024

Hey, I just added a yank plugin to source. Unfortunately, I screwed up a line in the main codebase so :yank-title in a reader won't work until you're on git, but :yank-link [#] will in the reader.

:yank-title and :yank-link will work in the tag list too

BTW: xclip has to be in $PATH, of course

from canto-curses.

mkaito avatar mkaito commented on August 15, 2024

Awesome. I'll check it out right away 😸

from canto-curses.

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.