We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Adds the --tui-key-bindings and --print-tui-binding-commands command line options.
--tui-key-bindings
--print-tui-binding-commands
Use --tui-key-bindings as follows:
trip --tui-key-bindings previous-hop=k,next-hop=j,quit=shift-d
The above will bind the key k and j to the previous-hop and next-hop commands respectively and binds the key shift-d to the quit command.
k
j
previous-hop
next-hop
shift-d
quit
The supported modifiers are: shift, ctrl, alt, super, hyper & meta.
shift
ctrl
alt
super
hyper
meta
Multiple modifiers may be specified, for example ctrl-shift-b.
ctrl-shift-b
Use --print-tui-binding-commands to print out all available commands that can be bound. Currently these are:
h
down
up
right
left
i
n
b
f
c
]
}
[
{
=
-
ctrl-r
ctrl-k
esc
z
q
The text was updated successfully, but these errors were encountered:
feat: add support for custom key bindings (#448)
6708138
192bac9
bc5531a
f35491b
Successfully merging a pull request may close this issue.
Adds the
--tui-key-bindings
and--print-tui-binding-commands
command line options.Use
--tui-key-bindings
as follows:The above will bind the key
k
andj
to theprevious-hop
andnext-hop
commands respectively and binds the keyshift-d
to thequit
command.The supported modifiers are:
shift
,ctrl
,alt
,super
,hyper
&meta
.Multiple modifiers may be specified, for example
ctrl-shift-b
.Use
--print-tui-binding-commands
to print out all available commands that can be bound. Currently these are:h
down
up
right
left
i
n
b
f
c
]
}
[
{
=
-
ctrl-r
ctrl-k
esc
z
q
The text was updated successfully, but these errors were encountered: