From 455199367f680ada2f8312072bc04f3a13b304f1 Mon Sep 17 00:00:00 2001 From: Fabio Lenherr / DashieTM Date: Mon, 3 Apr 2023 00:32:14 +0200 Subject: [PATCH] everyone will hate me for this --- hypr_desktop/hyprland.conf | 18 +++++++++--------- nvim/lua/config/keymaps.lua | 6 ++++++ 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/hypr_desktop/hyprland.conf b/hypr_desktop/hyprland.conf index 64cd488..2dfac7f 100644 --- a/hypr_desktop/hyprland.conf +++ b/hypr_desktop/hyprland.conf @@ -137,10 +137,15 @@ bind=SUPER,D,exec,$HOME/.config/eww/scripts/cockpit_toggle bind=SUPER,A,exec,copyq toggle -binde=SUPER,bracketleft,movefocus,l -binde=SUPER,bracketright,movefocus,r -binde=SUPER,semicolon,movefocus,u -binde=SUPER,apostrophe,movefocus,d +binde=SUPER,J,movefocus,l +binde=SUPER,semicolon,movefocus,r +binde=SUPER,L,movefocus,u +binde=SUPER,K,movefocus,d + +binde=SUPER,U,resizeactive,-20 0 +binde=SUPER,P,resizeactive,20 0 +binde=SUPER,I,resizeactive,0 -20 +binde=SUPER,O,resizeactive,0 20 bind=SUPER,left,movewindow,l bind=SUPER,right,movewindow,r @@ -183,11 +188,6 @@ bind=SUPERSHIFTALT,0,movetoworkspacesilent,10 bindm=SUPER,mouse:272,movewindow bindm=SUPER,mouse:273,resizewindow -binde=SUPER,O,resizeactive,-20 0 -binde=SUPER,P,resizeactive,20 0 -binde=SUPER,K,resizeactive,0 -20 -binde=SUPER,L,resizeactive,0 20 - #binds for debug testing bind=SUPERALT,H,pass,^(wlroots)$ diff --git a/nvim/lua/config/keymaps.lua b/nvim/lua/config/keymaps.lua index f130776..912f640 100644 --- a/nvim/lua/config/keymaps.lua +++ b/nvim/lua/config/keymaps.lua @@ -21,6 +21,12 @@ local term_opts = { silent = true } -- map("n", "y", ':set relativenumbery', opts) -- map("n", "", ':set norelativenumber', opts) +-- crimes against humanity, but I don't care +map("n", "j", 'h', opts) +map("n", "k", 'j', opts) +map("n", "l", 'k', opts) +map("n", ";", 'l', opts) + -- debug map("n", "", ':lua require("dap").toggle_breakpoint()', opts) map("n", "", ':lua require("dap").step_over()', opts)