💄 style(nvim): align columns on the smart-splits extra
This commit is contained in:
parent
7b7b641624
commit
9f1b6c7b2d
3 changed files with 20 additions and 20 deletions
|
@ -35,7 +35,6 @@
|
||||||
"plugins.extras.editor.outline",
|
"plugins.extras.editor.outline",
|
||||||
"plugins.extras.editor.package-info",
|
"plugins.extras.editor.package-info",
|
||||||
"plugins.extras.editor.search-replace",
|
"plugins.extras.editor.search-replace",
|
||||||
"plugins.extras.editor.smart-splits",
|
|
||||||
"plugins.extras.editor.suda",
|
"plugins.extras.editor.suda",
|
||||||
"plugins.extras.editor.telescope.all-recent",
|
"plugins.extras.editor.telescope.all-recent",
|
||||||
"plugins.extras.editor.telescope.import",
|
"plugins.extras.editor.telescope.import",
|
||||||
|
@ -86,6 +85,7 @@
|
||||||
"plugins.extras.util.dot-extended",
|
"plugins.extras.util.dot-extended",
|
||||||
"plugins.extras.util.icon-picker",
|
"plugins.extras.util.icon-picker",
|
||||||
"plugins.extras.util.kitty-scrollback",
|
"plugins.extras.util.kitty-scrollback",
|
||||||
|
"plugins.extras.util.smart-splits",
|
||||||
"plugins.extras.util.vscode",
|
"plugins.extras.util.vscode",
|
||||||
"plugins.extras.util.wakatime"
|
"plugins.extras.util.wakatime"
|
||||||
],
|
],
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
return {
|
|
||||||
"mrjones2014/smart-splits.nvim",
|
|
||||||
build = "./kitty/install-kittens.bash",
|
|
||||||
-- stylua: ignore
|
|
||||||
keys = {
|
|
||||||
{ "<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-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-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-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-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-k>", function() require("smart-splits").swap_buf_up() end, desc = "Swap buffer up", mode = "n" },
|
|
||||||
{ "<C-A-l>", function() require("smart-splits").swap_buf_right() end, desc = "Swap buffer right", mode = "n" },
|
|
||||||
},
|
|
||||||
}
|
|
19
.config/nvim/lua/plugins/extras/util/smart-splits.lua
Normal file
19
.config/nvim/lua/plugins/extras/util/smart-splits.lua
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
return {
|
||||||
|
"mrjones2014/smart-splits.nvim",
|
||||||
|
build = "./kitty/install-kittens.bash",
|
||||||
|
-- stylua: ignore
|
||||||
|
keys = {
|
||||||
|
{ "<C-A-Left>", function() require("smart-splits").resize_left() end, desc = "Resize left" },
|
||||||
|
{ "<C-A-Down>", function() require("smart-splits").resize_down() end, desc = "Resize down" },
|
||||||
|
{ "<C-A-Up>", function() require("smart-splits").resize_up() end, desc = "Resize up" },
|
||||||
|
{ "<C-A-Right>", function() require("smart-splits").resize_right() end, desc = "Resize right" },
|
||||||
|
{ "<C-h>", function() require("smart-splits").move_cursor_left() end, desc = "Move cursor left" },
|
||||||
|
{ "<C-j>", function() require("smart-splits").move_cursor_down() end, desc = "Move cursor down" },
|
||||||
|
{ "<C-k>", function() require("smart-splits").move_cursor_up() end, desc = "Move cursor up" },
|
||||||
|
{ "<C-l>", function() require("smart-splits").move_cursor_right() end, desc = "Move cursor right" },
|
||||||
|
{ "<C-A-h>", function() require("smart-splits").swap_buf_left() end, desc = "Swap buffer left" },
|
||||||
|
{ "<C-A-j>", function() require("smart-splits").swap_buf_down() end, desc = "Swap buffer down" },
|
||||||
|
{ "<C-A-k>", function() require("smart-splits").swap_buf_up() end, desc = "Swap buffer up" },
|
||||||
|
{ "<C-A-l>", function() require("smart-splits").swap_buf_right() end, desc = "Swap buffer right" },
|
||||||
|
},
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue