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

Move Up Move Down key bind AS VIM #394

Closed
zhangshengshan opened this issue Jan 5, 2023 · 6 comments
Closed

Move Up Move Down key bind AS VIM #394

zhangshengshan opened this issue Jan 5, 2023 · 6 comments
Labels
enhancement New feature or request tui

Comments

@zhangshengshan
Copy link

Move Up bind k
Move Down bind j
Move Left bind h
Move right bind l

@fujiapple852 fujiapple852 added enhancement New feature or request tui labels Jan 5, 2023
@fujiapple852
Copy link
Owner

Thanks for raising this @zhangshengshan. Perhaps it would be good to expand this such that Trippy supports a ~/.trippy.toml config file in which custom keybindings could be defined?

@fujiapple852
Copy link
Owner

Tracking issue for creating a config file: #412

@fujiapple852
Copy link
Owner

@zhangshengshan PR #447 (still WIP) allows you to override these key bindings as follows:

trip --tui-binding next-hop=j,previous-hop=k,next-trace=i,previous-trace=h,toggle-help=ctrl+h,address-mode-ip-only=ctrl+i google.com bbc.co.uk

This will be available in the 0.7.0 release and later will be supported in a config file.

@fujiapple852 fujiapple852 added this to the 0.7.0 milestone Mar 24, 2023
@fujiapple852 fujiapple852 self-assigned this Mar 24, 2023
@fujiapple852
Copy link
Owner

Fixed via #448

@fujiapple852 fujiapple852 removed this from the 0.7.0 milestone Mar 25, 2023
@fujiapple852 fujiapple852 removed their assignment Mar 25, 2023
@fujiapple852
Copy link
Owner

@zhangshengshan support for specify keybindings is now also available in the trippy config file, see #412

@fujiapple852
Copy link
Owner

@zhangshengshan 0.8.0, which support a config file for specifying key bindings, has been released: https://github.com/fujiapple852/trippy/releases/tag/0.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tui
Projects
None yet
Development

No branches or pull requests

2 participants