Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Keybindings support #151

Open
DillonDepeel opened this issue Apr 20, 2023 · 5 comments
Open

Add Keybindings support #151

DillonDepeel opened this issue Apr 20, 2023 · 5 comments

Comments

@DillonDepeel
Copy link

Is there a way to use keybindings to interact with carbonyl instead of using mouse? (like on browsh)

@bitcoinmeetups
Copy link

I second this. Keybindings and shortcut support would be useful. Think of what links has got for example. As far as I know there is not even a shortcut to go the address bar in carbonyl. Best would be configurable shortcuts.

@andrewp907
Copy link

andrewp907 commented Nov 13, 2023

Ditto for me. The real draw of carbonyl is not needing to fire up a graphical environment just to use necessary services whose designers assumed that everyone has Google Chrome installed. I do not have a mouse and I don't know whether anyone else has touchscreen support without logging into a desktop environment, but I certainly don't.

I would use browsh, but they seem to have the same problem: scrolling up and down is the only interaction available from the keyboard.

@Marat-Gumerov
Copy link

I hope there will be hotkeys like in Vimium extension

@arisolt
Copy link

arisolt commented Mar 18, 2024

+1 this feature is absolutely a must-have

@izelnakri
Copy link

Hi @fathyb I think there should be 2 solutions for this:

Either a nix-like configuration file where keys represent some string actions(Toggle address bar)/keybindings(). Cornlang is a great minimal alternative for this written in rust: https://cornlang.dev/

Or you can utilize ron and expose the Struct/Trait methods directly: https://github.com/extrawurst/gitui/blob/master/vim_style_key_config.ron

I'd love to have this feature as well. This could be super useful for using carbonyl as my TUI rendering engine. Esentially I can build dev tools like AI chat interfaces that could be written once as a web application, then used in the terminal with carbonyl under the hood or a localhost website.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants