🎨 ux(nvim): kitty integration enabled

This commit is contained in:
Sergio Laín 2023-10-24 00:18:33 +02:00
parent b44dd2eaab
commit fb1c11c9b0
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
2 changed files with 19 additions and 19 deletions

View file

@ -2137,16 +2137,16 @@ map opt+cmd+, debug_config
map shift+cmd+/ open_url https://sw.kovidgoyal.net/kitty/ map shift+cmd+/ open_url https://sw.kovidgoyal.net/kitty/
# map ctrl+j kitten pass_keys.py neighboring_window bottom ctrl+j 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+k kitten pass_keys.py neighboring_window top ctrl+k
# map ctrl+h kitten pass_keys.py neighboring_window left ctrl+h map ctrl+h kitten pass_keys.py neighboring_window left ctrl+h
# map ctrl+l kitten pass_keys.py neighboring_window right ctrl+l map ctrl+l kitten pass_keys.py neighboring_window right ctrl+l
#
# # the 3 here is the resize amount, adjust as needed # 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+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+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+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+alt+right kitten pass_keys.py relative_resize right 3 ctrl+alt+right
#: }}} #: }}}

View file

@ -1,17 +1,17 @@
return { return {
{ {
"mrjones2014/smart-splits.nvim", "mrjones2014/smart-splits.nvim",
-- build = "./kitty/install-kittens.bash", build = "./kitty/install-kittens.bash",
-- stylua: ignore -- stylua: ignore
keys = { keys = {
-- { "<C-A-Left>", function() require("smart-splits").resize_left() end, desc = "Resize left", mode = "n" }, { "<C-A-Left>", function() require("smart-splits").resize_left() end, desc = "Resize left", mode = "n" },
-- { "<C-A-Down>", function() require("smart-splits").resize_down() end, desc = "Resize down", mode = "n" }, { "<C-A-Down>", function() require("smart-splits").resize_down() end, desc = "Resize down", mode = "n" },
-- { "<C-A-Up>", function() require("smart-splits").resize_up() end, desc = "Resize up", mode = "n" }, { "<C-A-Up>", function() require("smart-splits").resize_up() end, desc = "Resize up", mode = "n" },
-- { "<C-A-Right>", function() require("smart-splits").resize_right() end, desc = "Resize right", mode = "n" }, { "<C-A-Right>", function() require("smart-splits").resize_right() end, desc = "Resize right", mode = "n" },
-- { "<C-h>", function() require("smart-splits").move_cursor_left() end, desc = "Move cursor left", mode = "n" }, { "<C-h>", function() require("smart-splits").move_cursor_left() end, desc = "Move cursor left", mode = "n" },
-- { "<C-j>", function() require("smart-splits").move_cursor_down() end, desc = "Move cursor down", mode = "n" }, { "<C-j>", function() require("smart-splits").move_cursor_down() end, desc = "Move cursor down", mode = "n" },
-- { "<C-k>", function() require("smart-splits").move_cursor_up() end, desc = "Move cursor up", mode = "n" }, { "<C-k>", function() require("smart-splits").move_cursor_up() end, desc = "Move cursor up", mode = "n" },
-- { "<C-l>", function() require("smart-splits").move_cursor_right() end, desc = "Move cursor right", mode = "n" }, { "<C-l>", function() require("smart-splits").move_cursor_right() end, desc = "Move cursor right", mode = "n" },
{ "<C-A-h>", function() require("smart-splits").swap_buf_left() end, desc = "Swap buffer left", mode = "n" }, { "<C-A-h>", function() require("smart-splits").swap_buf_left() end, desc = "Swap buffer left", mode = "n" },
{ "<C-A-j>", function() require("smart-splits").swap_buf_down() end, desc = "Swap buffer down", mode = "n" }, { "<C-A-j>", function() require("smart-splits").swap_buf_down() end, desc = "Swap buffer down", mode = "n" },
{ "<C-A-k>", function() require("smart-splits").swap_buf_up() end, desc = "Swap buffer up", mode = "n" }, { "<C-A-k>", function() require("smart-splits").swap_buf_up() end, desc = "Swap buffer up", mode = "n" },