feat: ctrl scroll modifier

Use the `ctrl` button to scroll by a factor of ten
This commit is contained in:
Jack Wills
2025-08-21 15:19:10 +00:00
parent 8939ac0345
commit c5bbffdb5f
18 changed files with 249 additions and 130 deletions
+7
View File
@@ -42,6 +42,7 @@
// 3) F1-F12
// 4) backspace, tab, backtab, delete, end, esc, home, insert, pagedown, pageup, left, right, up, down
// Each definition can have two keys associated with it
// WARNING "scroll_many" only accepts control, alt, shift, with no secondary option
// If any key clashes are found, oxker will revert to it's default keymap
"keymap": {
// Clear any popup boxes, filter panel, or help panel
@@ -74,10 +75,12 @@
"save_logs": [
"s"
],
// TODO "scroll_down_many" will be removed in the next release
// Scroll down a list by many
"scroll_down_many": [
"pagedown"
],
// TODO rename in next release
// Scroll down a list by one item
"scroll_down_one": [
"down",
@@ -87,14 +90,18 @@
"scroll_end": [
"end"
],
// Modifier to scroll by 10 lines isntead of one, used in conjunction with scroll_up_x/scroll_down_x
"scroll_many": ["control"],
// Scroll up to the start of a list
"scroll_start": [
"home"
],
// TODO "scroll_up_many" will be removed in the next release
// Scroll up a list by many
"scroll_up_many": [
"pageup"
],
// TODO rename in next release
// Scroll up a list by one item
"scroll_up_one": [
"up",
+11 -2
View File
@@ -55,8 +55,10 @@ show_logs = true
# 3) F1-F12
# 4) backspace, tab, backtab, delete, end, esc, home, insert, pagedown, pageup, left, right, up, down
# Each definition can have two keys associated with it
# WARNING "scroll_many" only accepts control, alt, shift, with no secondary option
# If any key clashes are found, oxker will revert to it's default keymap
[keymap]
@@ -74,16 +76,23 @@ filter_mode = ["/", "F1"]
quit = ["q"]
# Save logs of selected container to file on disk
save_logs = ["s"]
# TODO "scroll_down_many" will be removed in the next release
# scroll down a list by many
scroll_down_many = ["pagedown"]
# TODO rename in next release
# scroll down a list by one item
scroll_down_one = ["down", "j"]
# scroll down to the end of a list
scroll_end = ["end"]
# Modifier to scroll by 10 lines isntead of one, used in conjunction with scroll_up_x/scroll_down_x
scroll_many = ["control"]
# scroll up to the start of a list
scroll_start = ["home"]
# TODO "scroll_up_many" will be removed in the next release
# scroll up a list by many
scroll_up_many = ["pageup"]
# TODO rename in next release
# scroll up a list by one item
scroll_up_one = ["up", "k"]
# Horizontal scroll of the logs
@@ -111,7 +120,6 @@ toggle_help = ["h"]
toggle_mouse_capture = ["m"]
# Reduce the height of the logs list section
log_section_height_decrease = ["-"]
# Increase the height of the logs list section
log_section_height_increase = ["+"]
# Toggle visibility of the log section
log_section_toggle = ["\\"]
@@ -191,6 +199,7 @@ selected_filter_text = "black"
# Highlighted text color
highlight = "magenta"
# The color the of Docker commands available for each container
[colors.commands]
# Background color of panel