new action 'edit_config' that behaves like ghostty +edit-config and can be bound to a key combination
#10042
Unanswered
gwallet
asked this question in
Feature Requests, Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Context
ghosttyis currently customizable via a text config file.The config file location depends on the operating system in use and embrace each "configuration file location" strategy ($XDG_CONFIG on Linux, ~/Library/Application Support/… on Mac OS, …)
As such, there are 2 ways of editing the configuration file without dealing with the location, either:
<super>+,on mac for example) bound to the actionopen_configghostty +edit-configThe latter is using the ${EDITOR} to open the file within the terminal session.
Proposal
By adding a new action, like
edit_config, someone could overload the default keybinding to open the config file fromopen_configtoedit_configin order to edit the config from within the terminal session.Terminal emulator user should mostly be familiar with command line text editing and this proposal aim to make ghostty configuration workflow totally integrated with the terminal session.
This proposal is different than the closed issues and merged PR about how to open the configuration file in a proper way depending on the OS. In the current scope of this proposal, the default behaviour consisting of opening the file with a text editing app (GUI) still remains.
Beta Was this translation helpful? Give feedback.
All reactions