Skip to content

Keybindings config flag#274

Merged
danvergara merged 7 commits intomainfrom
keybindings-config-flag
Oct 17, 2025
Merged

Keybindings config flag#274
danvergara merged 7 commits intomainfrom
keybindings-config-flag

Conversation

@danvergara
Copy link
Copy Markdown
Owner

Keybindings config flag

Description

This PR introduces a new feature that allows users to configure the keybindings of the TUI through the .dblab.yaml file.

A new flag --keybindings (or -k) has been added to the CLI. When this flag is used, the application will load the keybindings from the configuration file.

The README.md and docs/usage.md files have been updated to document this new feature.

The purpose of this change is to separate the connection config from the key bindings, so that, the user does not have to relay on the --config flag every time new keybindings values needs to be used.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  1. Run make run to start the application with the custom keybindings.
  2. Verify that the keybindings from the .dblab.yaml file are being used.
  3. Run go test ./... to run the test suite.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have checked my code and corrected any misspellings

@danvergara danvergara force-pushed the keybindings-config-flag branch from 7d4799b to c4e6d77 Compare October 17, 2025 05:51
@danvergara danvergara merged commit 68bcf9d into main Oct 17, 2025
4 checks passed
@danvergara danvergara deleted the keybindings-config-flag branch October 17, 2025 06:04
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

Successfully merging this pull request may close these issues.

1 participant