lnk: added keyb

main
Bryan 2025-09-27 09:31:44 -06:00
parent 298cd3a5da
commit d8d006edec
7 changed files with 408 additions and 0 deletions

13
.config/keyb/config.yml Normal file
View File

@ -0,0 +1,13 @@
settings:
keyb_path: "$HOME/.config/keyb/keyb.yml"
border: "rounded"
placeholder: ''
color:
counter_fg: "#000000"
counter_bg: "#00EE44"
cursor_fg: "#000000"
cursor_bg: "#00EE44"
# filter_bg: "#000000"
filter_fg: "#FFFFFF"
border_color: "#FFFFFF"

56
.config/keyb/cortile.yml Normal file
View File

@ -0,0 +1,56 @@
- name: cortile
keybinds:
- name: "Enable tiling on the current screen"
key: "Ctrl+Shift+Home"
- name: "Disable tiling on the current screen"
key: "Ctrl+Shift+End"
- name: "Toggle between enable and disable"
key: "Ctrl+Shift+T"
- name: "Toggle window decoration on and off"
key: "Ctrl+Shift+D"
- name: "Disable tiling and restore windows"
key: "Ctrl+Shift+R"
- name: "Reset layouts to default proportions"
key: "Ctrl+Shift+BackSpace"
- name: "Cycle through next layouts"
key: "Ctrl+Shift+Next"
- name: "Cycle through previous layouts"
key: "Ctrl+Shift+Prior"
- name: "Activate vertical- left layout"
key: "Ctrl+Shift+Left"
- name: "Activate vertical- right layout"
key: "Ctrl+Shift+Right"
- name: "Activate horizontal- top layout"
key: "Ctrl+Shift+Up"
- name: "Activate horizontal- bottom layout"
key: "Ctrl+Shift+Down"
- name: "Activate maximized layout"
key: "Ctrl+Shift+Space"
- name: "Activate fullscreen layout"
key: "Ctrl+Shift+Return"
- name: "Increase number of maximum slave windows"
key: "Ctrl+Shift+Plus"
- name: "Decrease number of maximum slave windows"
key: "Ctrl+Shift+Minus"
- name: "Increase number of master windows"
key: "Ctrl+Shift+KP_Add"
- name: "Decrease number of master windows"
key: "Ctrl+Shift+KP_Subtract"
- name: "Move focus to the next window"
key: "Ctrl+Shift+KP_2"
- name: "Move focus to the previous window"
key: "Ctrl+Shift+KP_8"
- name: "Move the active window to the next screen"
key: "Ctrl+Shift+KP_9"
- name: "Move the active window to the previous screen"
key: "Ctrl+Shift+KP_7"
- name: "Make the active window master"
key: "Ctrl+Shift+KP_5"
- name: "Make the next window master"
key: "Ctrl+Shift+KP_6"
- name: "Make the previous window master"
key: "Ctrl+Shift+KP_4"
- name: "Increase proportion of master- slave area"
key: "Ctrl+Shift+KP_3"
- name: "Decrease proportion of master- slave area"
key: "Ctrl+Shift+KP_1"

144
.config/keyb/keyb.yml Normal file
View File

@ -0,0 +1,144 @@
- name: kitty
keybinds:
- name: "Line up"
key: "ctrl+shift+up"
- name: "Line down"
key: "ctrl+shift+down"
- name: "Page up"
key: "ctrl+shift+page_up"
- name: "Page down"
key: "ctrl+shift+page_down"
- name: "Top"
key: "ctrl+shift+home"
- name: "Bottom"
key: "ctrl+shift+end"
- name: "Previous shell prompt"
key: "ctrl+shift+z"
- name: "Next shell prompt"
key: "ctrl+shift+x"
- name: "Browse scrollback in less"
key: "ctrl+shift+h"
- name: "Browse last cmd output"
key: "ctrl+shift+g"
- name: "New tab"
key: "ctrl+shift+t"
- name: "Close tab"
key: "ctrl+shift+q"
- name: "Next tab"
key: "ctrl+shift+right"
- name: "Previous tab"
key: "ctrl+shift+left"
- name: "Next layout"
key: "ctrl+shift+l"
- name: "Move tab forward"
key: "ctrl+shift+."
- name: "Move tab backward"
key: "ctrl+shift+,"
- name: "Set tab title"
key: "ctrl+shift+alt+t"
- name: "Copy to clipboard"
key: "ctrl+shift+c"
- name: "Paste from clipboard"
key: "ctrl+shift+v"
- name: "Paste from selection"
key: "ctrl+shift+s"
- name: "Increase font size"
key: "ctrl+shift+equal"
- name: "Decrease font size"
key: "ctrl+shift+minus"
- name: "Restore font size"
key: "ctrl+shift+backspace"
- name: "New window"
key: "ctrl+shift+enter"
- name: "New OS window"
key: "ctrl+shift+n"
- name: "Close window"
key: "ctrl+shift+w"
- name: "Next window"
key: "ctrl+shift+]"
- name: "Previous window"
key: "ctrl+shift+["
- name: "Move window forward"
key: "ctrl+shift+f"
- name: "Move window backward"
key: "ctrl+shift+b"
- name: "Move window to top"
key: "ctrl+shift+`"
- name: "Visually focus window"
key: "ctrl+shift+f7"
- name: "Visually swap window"
key: "ctrl+shift+f8"
- name: "Focus specific window"
key: "ctrl+shift+1, ctrl+shift+2 … ctrl+shift+0"
- name: "Open URL"
key: "ctrl+shift+e"
- name: "Insert selected path"
key: "ctrl+shift+p>f"
- name: "Open selected path"
key: "ctrl+shift+p>shft+f"
- name: "Insert selected line"
key: "ctrl+shift+p>l"
- name: "Insert selected word"
key: "ctrl+shift+p>w"
- name: "Insert selected hash"
key: "ctrl+shift+p>h"
- name: "Open the selected file at the selected line"
key: "ctrl+shift+p>n"
- name: "Open the selected hyperlink"
key: "ctrl+shift+p>y"
- name: cortile
keybinds:
- name: "Enable tiling on the current screen"
key: "Ctrl+Shift+Home"
- name: "Disable tiling on the current screen"
key: "Ctrl+Shift+End"
- name: "Toggle between enable and disable"
key: "Ctrl+Shift+T"
- name: "Toggle window decoration on and off"
key: "Ctrl+Shift+D"
- name: "Disable tiling and restore windows"
key: "Ctrl+Shift+R"
- name: "Reset layouts to default proportions"
key: "Ctrl+Shift+BackSpace"
- name: "Cycle through next layouts"
key: "Ctrl+Shift+Next"
- name: "Cycle through previous layouts"
key: "Ctrl+Shift+Prior"
- name: "Activate vertical- left layout"
key: "Ctrl+Shift+Left"
- name: "Activate vertical- right layout"
key: "Ctrl+Shift+Right"
- name: "Activate horizontal- top layout"
key: "Ctrl+Shift+Up"
- name: "Activate horizontal- bottom layout"
key: "Ctrl+Shift+Down"
- name: "Activate maximized layout"
key: "Ctrl+Shift+Space"
- name: "Activate fullscreen layout"
key: "Ctrl+Shift+Return"
- name: "Increase number of maximum slave windows"
key: "Ctrl+Shift+Plus"
- name: "Decrease number of maximum slave windows"
key: "Ctrl+Shift+Minus"
- name: "Increase number of master windows"
key: "Ctrl+Shift+KP_Add"
- name: "Decrease number of master windows"
key: "Ctrl+Shift+KP_Subtract"
- name: "Move focus to the next window"
key: "Ctrl+Shift+KP_2"
- name: "Move focus to the previous window"
key: "Ctrl+Shift+KP_8"
- name: "Move the active window to the next screen"
key: "Ctrl+Shift+KP_9"
- name: "Move the active window to the previous screen"
key: "Ctrl+Shift+KP_7"
- name: "Make the active window master"
key: "Ctrl+Shift+KP_5"
- name: "Make the next window master"
key: "Ctrl+Shift+KP_6"
- name: "Make the previous window master"
key: "Ctrl+Shift+KP_4"
- name: "Increase proportion of master- slave area"
key: "Ctrl+Shift+KP_3"
- name: "Decrease proportion of master- slave area"
key: "Ctrl+Shift+KP_1"

88
.config/keyb/keyb.yml.bak Normal file
View File

@ -0,0 +1,88 @@
- name: kitty
keybinds:
- name: "Line up"
key: "ctrl+shift+up"
- name: "Line down"
key: "ctrl+shift+down"
- name: "Page up"
key: "ctrl+shift+page_up"
- name: "Page down"
key: "ctrl+shift+page_down"
- name: "Top"
key: "ctrl+shift+home"
- name: "Bottom"
key: "ctrl+shift+end"
- name: "Previous shell prompt"
key: "ctrl+shift+z"
- name: "Next shell prompt"
key: "ctrl+shift+x"
- name: "Browse scrollback in less"
key: "ctrl+shift+h"
- name: "Browse last cmd output"
key: "ctrl+shift+g"
- name: "New tab"
key: "ctrl+shift+t"
- name: "Close tab"
key: "ctrl+shift+q"
- name: "Next tab"
key: "ctrl+shift+right"
- name: "Previous tab"
key: "ctrl+shift+left"
- name: "Next layout"
key: "ctrl+shift+l"
- name: "Move tab forward"
key: "ctrl+shift+."
- name: "Move tab backward"
key: "ctrl+shift+,"
- name: "Set tab title"
key: "ctrl+shift+alt+t"
- name: "Copy to clipboard"
key: "ctrl+shift+c"
- name: "Paste from clipboard"
key: "ctrl+shift+v"
- name: "Paste from selection"
key: "ctrl+shift+s"
- name: "Increase font size"
key: "ctrl+shift+equal"
- name: "Decrease font size"
key: "ctrl+shift+minus"
- name: "Restore font size"
key: "ctrl+shift+backspace"
- name: "New window"
key: "ctrl+shift+enter"
- name: "New OS window"
key: "ctrl+shift+n"
- name: "Close window"
key: "ctrl+shift+w"
- name: "Next window"
key: "ctrl+shift+]"
- name: "Previous window"
key: "ctrl+shift+["
- name: "Move window forward"
key: "ctrl+shift+f"
- name: "Move window backward"
key: "ctrl+shift+b"
- name: "Move window to top"
key: "ctrl+shift+`"
- name: "Visually focus window"
key: "ctrl+shift+f7"
- name: "Visually swap window"
key: "ctrl+shift+f8"
- name: "Focus specific window"
key: "ctrl+shift+1, ctrl+shift+2 … ctrl+shift+0"
- name: "Open URL"
key: "ctrl+shift+e"
- name: "Insert selected path"
key: "ctrl+shift+p>f"
- name: "Open selected path"
key: "ctrl+shift+p>shft+f"
- name: "Insert selected line"
key: "ctrl+shift+p>l"
- name: "Insert selected word"
key: "ctrl+shift+p>w"
- name: "Insert selected hash"
key: "ctrl+shift+p>h"
- name: "Open the selected file at the selected line"
key: "ctrl+shift+p>n"
- name: "Open the selected hyperlink"
key: "ctrl+shift+p>y"

89
.config/keyb/kitty.yml Normal file
View File

@ -0,0 +1,89 @@
# https://github.com/cheat/cheatsheets
- name: kitty
keybinds:
- name: "Line up"
key: "ctrl+shift+up"
- name: "Line down"
key: "ctrl+shift+down"
- name: "Page up"
key: "ctrl+shift+page_up"
- name: "Page down"
key: "ctrl+shift+page_down"
- name: "Top"
key: "ctrl+shift+home"
- name: "Bottom"
key: "ctrl+shift+end"
- name: "Previous shell prompt"
key: "ctrl+shift+z"
- name: "Next shell prompt"
key: "ctrl+shift+x"
- name: "Browse scrollback in less"
key: "ctrl+shift+h"
- name: "Browse last cmd output"
key: "ctrl+shift+g"
- name: "New tab"
key: "ctrl+shift+t"
- name: "Close tab"
key: "ctrl+shift+q"
- name: "Next tab"
key: "ctrl+shift+right"
- name: "Previous tab"
key: "ctrl+shift+left"
- name: "Next layout"
key: "ctrl+shift+l"
- name: "Move tab forward"
key: "ctrl+shift+."
- name: "Move tab backward"
key: "ctrl+shift+,"
- name: "Set tab title"
key: "ctrl+shift+alt+t"
- name: "Copy to clipboard"
key: "ctrl+shift+c"
- name: "Paste from clipboard"
key: "ctrl+shift+v"
- name: "Paste from selection"
key: "ctrl+shift+s"
- name: "Increase font size"
key: "ctrl+shift+equal"
- name: "Decrease font size"
key: "ctrl+shift+minus"
- name: "Restore font size"
key: "ctrl+shift+backspace"
- name: "New window"
key: "ctrl+shift+enter"
- name: "New OS window"
key: "ctrl+shift+n"
- name: "Close window"
key: "ctrl+shift+w"
- name: "Next window"
key: "ctrl+shift+]"
- name: "Previous window"
key: "ctrl+shift+["
- name: "Move window forward"
key: "ctrl+shift+f"
- name: "Move window backward"
key: "ctrl+shift+b"
- name: "Move window to top"
key: "ctrl+shift+`"
- name: "Visually focus window"
key: "ctrl+shift+f7"
- name: "Visually swap window"
key: "ctrl+shift+f8"
- name: "Focus specific window"
key: "ctrl+shift+1, ctrl+shift+2 … ctrl+shift+0"
- name: "Open URL"
key: "ctrl+shift+e"
- name: "Insert selected path"
key: "ctrl+shift+p>f"
- name: "Open selected path"
key: "ctrl+shift+p>shft+f"
- name: "Insert selected line"
key: "ctrl+shift+p>l"
- name: "Insert selected word"
key: "ctrl+shift+p>w"
- name: "Insert selected hash"
key: "ctrl+shift+p>h"
- name: "Open the selected file at the selected line"
key: "ctrl+shift+p>n"
- name: "Open the selected hyperlink"
key: "ctrl+shift+p>y"

17
.config/keyb/merge.lua Normal file
View File

@ -0,0 +1,17 @@
local config_dir = "/home/bryan/.config/keyb"
local output_filename = "merged.yml"
local output_filename_full = vim.fs.joinpath(config_dir, output_filename)
vim.system({ "mv", output_filename_full, output_filename_full .. ".bak" }):wait()
local outfile = io.open(output_filename_full, "a")
print(output_filename_full)
for file in vim.fs.dir(config_dir) do
if file:match("%.yml$") and not file:match("config") and not file:match(output_filename) then
vim.print(file)
local infile = io.open(vim.fs.joinpath(config_dir, file), "r")
local contents = infile:read("*a")
outfile:write(contents)
end
end

1
.lnk
View File

@ -1,4 +1,5 @@
.config/glow
.config/keyb
.config/ov/config.yaml
.config/qalculate/qalc.cfg
.config/starship.toml