achristmascarl / rainfrog

🐸 a database management tui for postgres
https://crates.io/crates/rainfrog
MIT License
2.82k stars 55 forks source link

customization (keybindings, colors) #72

Open achristmascarl opened 2 months ago

achristmascarl commented 2 months ago

description

additional config options. also, move default config directory to ~/.config (suggeted by @n14s: ref)

proposed solution

more customization options and documentation on how to configure it

bjesus commented 1 month ago

would love the ability to choose a different modifier key than Alt. I'm using Alt+1/2/3/4 to switch tabs in my terminal, and Alt+Enter goes full screen. in other words, all my Alt-based keybindings are used for control the terminal app itself and so aren't reaching rainfrog.

achristmascarl commented 1 month ago

@bjesus i think this should currently be possible; the customizations section of the readme still needs more documentation, but if you place a rainfrog_config.toml file in the config location for your system (you can verify by running rainfrog --version), and follow the template in .config/rainfrog_config.toml, you should be able to remap everything!