summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md4
-rw-r--r--_linux/sxhkdrc8
-rw-r--r--nvim/lua/kkard2/set.lua2
3 files changed, 13 insertions, 1 deletions
diff --git a/README.md b/README.md
index efd20da..e2dd467 100644
--- a/README.md
+++ b/README.md
@@ -20,3 +20,7 @@ DO NOT SYMLINK PLEASE
# windows
* run `./_windows/startup.ps1` on startup (`PowerShell.exe -WindowStyle Hidden -ExecutionPolicy Bypass -File <PATH>`)
+
+# linux gigachad
+* `sudo apt install sxhkd` xdd
+* `~/.config/sxhkd/sxhkdrc` -> `./_linux/sxhkdrc`
diff --git a/_linux/sxhkdrc b/_linux/sxhkdrc
new file mode 100644
index 0000000..fe1cd0f
--- /dev/null
+++ b/_linux/sxhkdrc
@@ -0,0 +1,8 @@
+hyper + h
+ xdotool keyup h key --clearmodifiers Left
+hyper + j
+ xdotool keyup j key --clearmodifiers Down
+hyper + k
+ xdotool keyup k key --clearmodifiers Up
+hyper + l
+ xdotool keyup l key --clearmodifiers Right
diff --git a/nvim/lua/kkard2/set.lua b/nvim/lua/kkard2/set.lua
index c46dcd0..ec92e5b 100644
--- a/nvim/lua/kkard2/set.lua
+++ b/nvim/lua/kkard2/set.lua
@@ -15,7 +15,7 @@ vim.opt.backup = false
vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir"
vim.opt.undofile = true
-vim.opt.hlsearch = false
+vim.opt.hlsearch = true
vim.opt.incsearch = true
vim.opt.scrolloff = 8