Code Monkey home page Code Monkey logo

Comments (4)

raphamorim avatar raphamorim commented on May 27, 2024

Hey @mt-inside thanks for the issue,

Actions None or ReceiveChar doesn't fit for your case? https://raphamorim.io/rio/docs/key-bindings#overwriting

from rio.

raphamorim avatar raphamorim commented on May 27, 2024

Regarding the configuration, if you don't use tmux or similar you can use navigation as plain https://raphamorim.io/rio/docs/navigation#plain

from rio.

mt-inside avatar mt-inside commented on May 27, 2024

Hey @mt-inside thanks for the issue,

Actions None or ReceiveChar doesn't fit for your case? https://raphamorim.io/rio/docs/key-bindings#overwriting

Thanks for the reply!

Action="None" does indeed remove the keybinding. This is great, just what I needed, dunno how I missed that part of the docs.

However I think the docs are a little wrong. Because I hadn't seen Action=None, I was using text="Idiot" just to try to have something intercept Super+W and do something other than close the window. That does add to the existing binding - if I have Rio running tmux, and press Super+W, bang the window's gone, and when I reattach to that tmux, there's the text "Idiot". Is it possible that the overwrite behaviour is matching all three fields (key, with, and action) rather than just key and with ?

from rio.

mt-inside avatar mt-inside commented on May 27, 2024

Regarding the configuration, if you don't use tmux or similar you can use navigation as plain https://raphamorim.io/rio/docs/navigation#plain

Ah cool, I'd missed that too. Do "tabbing" keybindings include Super+Q and Super+W though? I'm fine now because I have the action=None solution, but probably worth clarifying in the docs.

from rio.

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.