diff options
Diffstat (limited to 'lua/plugins/smart-splits.lua')
| -rw-r--r-- | lua/plugins/smart-splits.lua | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/lua/plugins/smart-splits.lua b/lua/plugins/smart-splits.lua new file mode 100644 index 0000000..49e1df3 --- /dev/null +++ b/lua/plugins/smart-splits.lua @@ -0,0 +1,30 @@ +return { + "mrjones2014/smart-splits.nvim", + config = true, + keys = { + { + "<A-h>", + function() + require("smart-splits").resize_left() + end, + }, + { + "<A-j>", + function() + require("smart-splits").resize_down() + end, + }, + { + "<A-k>", + function() + require("smart-splits").resize_up() + end, + }, + { + "<A-l>", + function() + require("smart-splits").resize_right() + end, + }, + }, +} |