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

[Feature Request] Allow keybindings to change configuration options #2645

Closed
gondolyr opened this issue Jul 24, 2023 · 1 comment
Closed

Comments

@gondolyr
Copy link

What?

I would like the ability to set keybindings in the configuration that modify the active session's configuration (or tab/pane). There should at least be a way to flip between Boolean values, though I'm not sure what the value of setting arbitrary string values (outside of enums) for options such as default_layout would be here. I think as an MVP for this feature, only Boolean options should be supported.

The Ctrl z p keybinding activates the TogglePaneFrames action, which is like toggling the pane_frames option, though is built-in.

Why?

I would like to toggle copy_on_select so that I can highlight text I've dumped with cat.

Challenges

We probably wouldn't want to end up in a situation where a keybinding causes a recursive reconfiguration so maybe this feature should be limited in scope. Maybe it would be fine if it does happen?

Related Issues

These are issues I've read that seem similar to my request.

@jaeheonji
Copy link
Member

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

2 participants