From 4c560e29adcd180babfa53541bf890c277e5e7f8 Mon Sep 17 00:00:00 2001 From: Cody Duong Date: Wed, 24 Apr 2024 21:35:07 -0500 Subject: [PATCH] add nvim --- .gitmodules | 3 +++ .../PowerToys/Keyboard Manager/README.md | 2 ++ .../PowerToys/Keyboard Manager/default.json | 22 ++++++++++++++----- windows/.files/%LOCALAPPDATA%/nvim | 1 + .../.config/komorebi/komorebi.ahk | 4 +++- .../.config/komorebi/komorebi.lib.ahk | 5 +++++ 6 files changed, 31 insertions(+), 6 deletions(-) create mode 100644 .gitmodules create mode 160000 windows/.files/%LOCALAPPDATA%/nvim diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..fb49037 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "windows/.files/%LOCALAPPDATA%/nvim"] + path = windows/.files/%LOCALAPPDATA%/nvim + url = https://github.com/codyduong/nvim diff --git a/windows/.files/%LOCALAPPDATA%/Microsoft/PowerToys/Keyboard Manager/README.md b/windows/.files/%LOCALAPPDATA%/Microsoft/PowerToys/Keyboard Manager/README.md index 92dfb1e..6cc68e7 100644 --- a/windows/.files/%LOCALAPPDATA%/Microsoft/PowerToys/Keyboard Manager/README.md +++ b/windows/.files/%LOCALAPPDATA%/Microsoft/PowerToys/Keyboard Manager/README.md @@ -9,3 +9,5 @@ | Win+Shift+W | Alt+F4 | The bind used to close windows on my i3 Linux Configuration | | Win+D | Alt+D | dmenu | | CapsLock | F13 | Who the fuck uses caps-lock in 2024 | +| Win+M | Disabled | Disables minimize shortcut | +| Win+F | Disabled | Disables feedback hub | diff --git a/windows/.files/%LOCALAPPDATA%/Microsoft/PowerToys/Keyboard Manager/default.json b/windows/.files/%LOCALAPPDATA%/Microsoft/PowerToys/Keyboard Manager/default.json index e4f2458..607b4e0 100644 --- a/windows/.files/%LOCALAPPDATA%/Microsoft/PowerToys/Keyboard Manager/default.json +++ b/windows/.files/%LOCALAPPDATA%/Microsoft/PowerToys/Keyboard Manager/default.json @@ -13,14 +13,26 @@ "remapShortcuts": { "global": [ { - "originalKeys": "91;68", - "newRemapKeys": "164;68" + "originalKeys": "260;68", + "operationType": 0, + "secondKeyOfChord": 0, + "newRemapKeys": "18;68" }, { - "originalKeys": "260;160;87", - "newRemapKeys": "164;115" + "originalKeys": "260;70", + "newRemapKeys": "256" + }, + { + "originalKeys": "260;77", + "newRemapKeys": "256" + }, + { + "originalKeys": "260;16;87", + "operationType": 0, + "secondKeyOfChord": 0, + "newRemapKeys": "18;115" } ], "appSpecific": [] } -} \ No newline at end of file +} diff --git a/windows/.files/%LOCALAPPDATA%/nvim b/windows/.files/%LOCALAPPDATA%/nvim new file mode 160000 index 0000000..3598046 --- /dev/null +++ b/windows/.files/%LOCALAPPDATA%/nvim @@ -0,0 +1 @@ +Subproject commit 35980466a1b0b044335acd638f5172d66e185cb8 diff --git a/windows/.files/%USERPROFILE%/.config/komorebi/komorebi.ahk b/windows/.files/%USERPROFILE%/.config/komorebi/komorebi.ahk index 5eed81f..3c385b2 100644 --- a/windows/.files/%USERPROFILE%/.config/komorebi/komorebi.ahk +++ b/windows/.files/%USERPROFILE%/.config/komorebi/komorebi.ahk @@ -77,7 +77,9 @@ CompleteConfiguration() ; Manipulate windows #Space::ToggleFloat() +#+x::ToggleMaximize() #+f::ToggleMonocle() +#+z::ToggleZen() ; Window manager options #+r::Retile() @@ -111,4 +113,4 @@ CompleteConfiguration() #+7::MoveToWorkspace(6) #+8::MoveToWorkspace(7) #+9::MoveToWorkspace(8) -#+0::MoveToWorkspace(9) \ No newline at end of file +#+0::MoveToWorkspace(9) diff --git a/windows/.files/%USERPROFILE%/.config/komorebi/komorebi.lib.ahk b/windows/.files/%USERPROFILE%/.config/komorebi/komorebi.lib.ahk index d79cd5d..2f14d56 100644 --- a/windows/.files/%USERPROFILE%/.config/komorebi/komorebi.lib.ahk +++ b/windows/.files/%USERPROFILE%/.config/komorebi/komorebi.lib.ahk @@ -450,4 +450,9 @@ NotificationSchema() { SocketSchema() { RunWait("komorebic.exe socket-schema", , "Hide") +} + +ToggleZen() { + ToggleMonocle() + ToggleMaximize() } \ No newline at end of file