Skip to content

Commit 8bdd002

Browse files
update
1 parent 19e9e57 commit 8bdd002

File tree

4 files changed

+28
-22
lines changed

4 files changed

+28
-22
lines changed

.config/ghostty/config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ resize-overlay = never
3737

3838
quit-after-last-window-closed = true
3939

40-
# vim: ft=ini commentstring=#\ %s
40+
# vim: commentstring=#\ %s

.config/nvim/lazy-lock.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
{
2-
"LuaSnip": { "branch": "master", "commit": "787dee55ca364cc9119787165418fe93b74c1842" },
2+
"LuaSnip": { "branch": "master", "commit": "8d7aa7a7b7c0875e4878d1d2590924bc1c229305" },
33
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
44
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
55
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
66
"fluent.vim": { "branch": "master", "commit": "86f60ebc5dc6ee52c1b7676aa2c950eb4b9af06a" },
77
"friendly-snippets": { "branch": "main", "commit": "de8fce94985873666bd9712ea3e49ee17aadb1ed" },
8-
"indent-blankline.nvim": { "branch": "master", "commit": "e7a4442e055ec953311e77791546238d1eaae507" },
9-
"lazy.nvim": { "branch": "main", "commit": "1159bdccd8910a0fd0914b24d6c3d186689023d9" },
10-
"mason-lspconfig.nvim": { "branch": "main", "commit": "7446f47b3dfb7df801f31a6f6783c2ad119a6935" },
8+
"indent-blankline.nvim": { "branch": "master", "commit": "04e44b09ee3ff189c69ab082edac1ef7ae2e256c" },
9+
"lazy.nvim": { "branch": "main", "commit": "cf8ecc2c5e4332760431a33534240b0cbc6680ab" },
10+
"mason-lspconfig.nvim": { "branch": "main", "commit": "4d0e5b49363cac187326998b96aa6a2884e0e89b" },
1111
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
1212
"neodev.nvim": { "branch": "main", "commit": "46aa467dca16cf3dfe27098042402066d2ae242d" },
1313
"nvim-autopairs": { "branch": "master", "commit": "ee297f215e95a60b01fde33275cc3c820eddeebe" },
1414
"nvim-cmp": { "branch": "main", "commit": "29fb4854573355792df9e156cb779f0d31308796" },
15-
"nvim-lspconfig": { "branch": "master", "commit": "84f867753f659bfd9319f75bd5eb273a315f2da5" },
16-
"nvim-tree.lua": { "branch": "master", "commit": "2a268f631da85e83b7a95291be589bcddfc785d8" },
17-
"nvim-treesitter": { "branch": "master", "commit": "df20c049694474021cffb2cc8687c809adc1cbba" },
18-
"nvim-treesitter-textobjects": { "branch": "master", "commit": "0d79d169fcd45a8da464727ac893044728f121d4" },
15+
"nvim-lspconfig": { "branch": "master", "commit": "54617a18f4cf46f0c2f6d024fa6feb7515fe036d" },
16+
"nvim-tree.lua": { "branch": "master", "commit": "120ba58254835d412bbc91cffe847e9be835fadd" },
17+
"nvim-treesitter": { "branch": "master", "commit": "f9e9370a6f710148f4a3f3f4f23d5349c85c2888" },
18+
"nvim-treesitter-textobjects": { "branch": "master", "commit": "3e450cd85243da99dc23ebbf14f9c70e9a0c26a4" },
1919
"nvim-web-devicons": { "branch": "master", "commit": "19d257cf889f79f4022163c3fbb5e08639077bd8" },
2020
"plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
2121
"rust-tools.nvim": { "branch": "master", "commit": "676187908a1ce35ffcd727c654ed68d851299d3e" },
22-
"schemastore.nvim": { "branch": "main", "commit": "3e54f4bbebea598646b141aa8aeca8a01b6ba601" },
22+
"schemastore.nvim": { "branch": "main", "commit": "ed65feb5b8026d7c6b1981cfe9d97402342d344d" },
2323
"tabular": { "branch": "master", "commit": "12437cd1b53488e24936ec4b091c9324cafee311" },
24-
"telescope-file-browser.nvim": { "branch": "master", "commit": "3b8a1e17187cfeedb31decbd625da62398a8ff34" },
24+
"telescope-file-browser.nvim": { "branch": "master", "commit": "626998e5c1b71c130d8bc6cf7abb6709b98287bb" },
2525
"telescope-fzf-native.nvim": { "branch": "main", "commit": "cf48d4dfce44e0b9a2e19a008d6ec6ea6f01a83b" },
2626
"telescope-zoxide": { "branch": "main", "commit": "54bfe630bad08dc9891ec78c7cf8db38dd725c97" },
27-
"telescope.nvim": { "branch": "master", "commit": "df534c3042572fb958586facd02841e10186707c" },
28-
"tree-sitter-just": { "branch": "main", "commit": "6aee3d2f5b3a47286bae0916daaa6c7a217f6fa4" },
29-
"trouble.nvim": { "branch": "main", "commit": "254145ffd528b98eb20be894338e2d5c93fa02c2" },
30-
"ts-comments.nvim": { "branch": "main", "commit": "98d7d4dec0af1312d38e288f800bbf6ff562b6ab" },
27+
"telescope.nvim": { "branch": "master", "commit": "85922dde3767e01d42a08e750a773effbffaea3e" },
28+
"tree-sitter-just": { "branch": "main", "commit": "1014d2fd6396856c312054d6c30df4d78b62966c" },
29+
"trouble.nvim": { "branch": "main", "commit": "2f3b537f2207ce32f4459f9d56746ee013b5e01b" },
30+
"ts-comments.nvim": { "branch": "main", "commit": "2002692ad1d3f6518d016550c20c2a890f0cbf0e" },
3131
"twoslash-queries.nvim": { "branch": "main", "commit": "b92622c7b71eceefabd02eef24236041069904b1" },
3232
"undotree": { "branch": "master", "commit": "78b5241191852ffa9bb5da5ff2ee033160798c3b" },
3333
"vim-crystal": { "branch": "master", "commit": "dc21188ec8c2ee77bb81dffca02e1a29d87cfd9f" },

.config/nvim/plugin/maximize.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ local IS_MAXIMIZED_VAR = 'maximize_is_maximized'
33

44
local M = {}
55

6+
--- Maximize a window. This works by setting the window size to $COLUMNS x $ROWS, shrinking the other windows.
7+
---
8+
--- For purposes of restoring, a window variable is set on each window of the tabpage containing the height and width before maximizing.
9+
--- @param win number? the window id to maximize
610
function M.maximize(win)
711
local winutil = require('util.win')
812

@@ -32,6 +36,7 @@ function M.maximize(win)
3236
vim.api.nvim_win_set_height(win, vim.go.lines)
3337
end
3438

39+
--- Restores the split windows sizes to what they were before maximizing
3540
function M.restore()
3641
local winutil = require('util.win')
3742

@@ -52,6 +57,7 @@ function M.restore()
5257
end
5358
end
5459

60+
--- Toggles maximize and restore
5561
function M.toggle()
5662
if vim.t[IS_MAXIMIZED_VAR] then
5763
M.restore()

keyboard/keychron_q4_pro/layout.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"KC_LBRC",
3333
"KC_RBRC",
3434
"KC_BSLS",
35-
"LT(4,KC_CAPS)",
35+
"MO(4)",
3636
"KC_A",
3737
"KC_S",
3838
"KC_D",
@@ -162,7 +162,7 @@
162162
"KC_VOLD",
163163
"KC_VOLU",
164164
"KC_DEL",
165-
"KC_TRNS",
165+
"RGB_TOG",
166166
"CUSTOM(9)",
167167
"CUSTOM(10)",
168168
"CUSTOM(11)",
@@ -176,7 +176,7 @@
176176
"KC_PGUP",
177177
"KC_HOME",
178178
"KC_TRNS",
179-
"RGB_TOG",
179+
"KC_CAPS",
180180
"RGB_MOD",
181181
"RGB_VAI",
182182
"RGB_HUI",
@@ -358,10 +358,10 @@
358358
"KC_NO",
359359
"KC_NO",
360360
"KC_NO",
361-
"KC_TRNS",
362-
"KC_LEFT",
363-
"KC_DOWN",
364-
"KC_RGHT"
361+
"CUSTOM(3)",
362+
"MO(2)",
363+
"MO(4)",
364+
"KC_RCTL"
365365
]
366366
],
367367
"encoders": []

0 commit comments

Comments
 (0)