diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index 7c0c1f9e..ac19d2bf 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -2137,16 +2137,16 @@ map opt+cmd+, debug_config map shift+cmd+/ open_url https://sw.kovidgoyal.net/kitty/ -# map ctrl+j kitten pass_keys.py neighboring_window bottom ctrl+j -# map ctrl+k kitten pass_keys.py neighboring_window top ctrl+k -# map ctrl+h kitten pass_keys.py neighboring_window left ctrl+h -# map ctrl+l kitten pass_keys.py neighboring_window right ctrl+l -# -# # the 3 here is the resize amount, adjust as needed -# map ctrl+alt+down kitten pass_keys.py relative_resize down 3 ctrl+alt+down -# map ctrl+alt+up kitten pass_keys.py relative_resize up 3 ctrl+alt+up -# map ctrl+alt+left kitten pass_keys.py relative_resize left 3 ctrl+alt+left -# map ctrl+alt+right kitten pass_keys.py relative_resize right 3 ctrl+alt+right +map ctrl+j kitten pass_keys.py neighboring_window bottom ctrl+j +map ctrl+k kitten pass_keys.py neighboring_window top ctrl+k +map ctrl+h kitten pass_keys.py neighboring_window left ctrl+h +map ctrl+l kitten pass_keys.py neighboring_window right ctrl+l + +# the 3 here is the resize amount, adjust as needed +map ctrl+alt+down kitten pass_keys.py relative_resize down 3 ctrl+alt+down +map ctrl+alt+up kitten pass_keys.py relative_resize up 3 ctrl+alt+up +map ctrl+alt+left kitten pass_keys.py relative_resize left 3 ctrl+alt+left +map ctrl+alt+right kitten pass_keys.py relative_resize right 3 ctrl+alt+right #: }}} diff --git a/.config/nvim/lua/plugins/smart-splits.lua b/.config/nvim/lua/plugins/smart-splits.lua index 76e9b7c7..ce39d53d 100644 --- a/.config/nvim/lua/plugins/smart-splits.lua +++ b/.config/nvim/lua/plugins/smart-splits.lua @@ -1,17 +1,17 @@ return { { "mrjones2014/smart-splits.nvim", - -- build = "./kitty/install-kittens.bash", + build = "./kitty/install-kittens.bash", -- stylua: ignore keys = { - -- { "", function() require("smart-splits").resize_left() end, desc = "Resize left", mode = "n" }, - -- { "", function() require("smart-splits").resize_down() end, desc = "Resize down", mode = "n" }, - -- { "", function() require("smart-splits").resize_up() end, desc = "Resize up", mode = "n" }, - -- { "", function() require("smart-splits").resize_right() end, desc = "Resize right", mode = "n" }, - -- { "", function() require("smart-splits").move_cursor_left() end, desc = "Move cursor left", mode = "n" }, - -- { "", function() require("smart-splits").move_cursor_down() end, desc = "Move cursor down", mode = "n" }, - -- { "", function() require("smart-splits").move_cursor_up() end, desc = "Move cursor up", mode = "n" }, - -- { "", function() require("smart-splits").move_cursor_right() end, desc = "Move cursor right", mode = "n" }, + { "", function() require("smart-splits").resize_left() end, desc = "Resize left", mode = "n" }, + { "", function() require("smart-splits").resize_down() end, desc = "Resize down", mode = "n" }, + { "", function() require("smart-splits").resize_up() end, desc = "Resize up", mode = "n" }, + { "", function() require("smart-splits").resize_right() end, desc = "Resize right", mode = "n" }, + { "", function() require("smart-splits").move_cursor_left() end, desc = "Move cursor left", mode = "n" }, + { "", function() require("smart-splits").move_cursor_down() end, desc = "Move cursor down", mode = "n" }, + { "", function() require("smart-splits").move_cursor_up() end, desc = "Move cursor up", mode = "n" }, + { "", function() require("smart-splits").move_cursor_right() end, desc = "Move cursor right", mode = "n" }, { "", function() require("smart-splits").swap_buf_left() end, desc = "Swap buffer left", mode = "n" }, { "", function() require("smart-splits").swap_buf_down() end, desc = "Swap buffer down", mode = "n" }, { "", function() require("smart-splits").swap_buf_up() end, desc = "Swap buffer up", mode = "n" },