lnk: sync configuration files
parent
6e7fc29f09
commit
ebbd5a1b36
|
|
@ -1,3 +1,60 @@
|
|||
- 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"
|
||||
# https://github.com/cheat/cheatsheets
|
||||
- name: kitty
|
||||
keybinds:
|
||||
- name: "Line up"
|
||||
|
|
@ -86,59 +143,3 @@
|
|||
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"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,60 @@
|
|||
- 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"
|
||||
# https://github.com/cheat/cheatsheets
|
||||
- name: kitty
|
||||
keybinds:
|
||||
- name: "Line up"
|
||||
|
|
|
|||
|
|
@ -1,17 +1,29 @@
|
|||
#! nvim -l
|
||||
local config_dir = "/home/bryan/.config/keyb"
|
||||
local output_filename = "merged.yml"
|
||||
local output_filename = "keyb.yml"
|
||||
|
||||
local output_filename_full = vim.fs.joinpath(config_dir, output_filename)
|
||||
|
||||
vim.print("\nBacking up " .. output_filename .. " to " .. output_filename .. ".bak\n")
|
||||
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)
|
||||
vim.print("Merging files...\n\n")
|
||||
|
||||
if outfile then
|
||||
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 .. " >> " .. output_filename)
|
||||
local infile = io.open(vim.fs.joinpath(config_dir, file), "r")
|
||||
|
||||
if infile then
|
||||
local contents = infile:read("*a")
|
||||
|
||||
if contents then
|
||||
outfile:write(contents)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
vim.print("\n")
|
||||
|
|
|
|||
|
|
@ -165,7 +165,7 @@ layout_horizontal_top = "Control-Shift-Up"
|
|||
layout_horizontal_bottom = "Control-Shift-Down"
|
||||
|
||||
# Activates the maximized layout (Space = Blank).
|
||||
layout_maximized = "Control-Shift-M"
|
||||
layout_maximized = "Control-Shift-Space"
|
||||
|
||||
# Activates the fullscreen layout (Return = Enter).
|
||||
layout_fullscreen = "Control-Shift-F"
|
||||
|
|
|
|||
Loading…
Reference in New Issue