diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-04-04 00:15:10 +0200 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-04-04 00:15:10 +0200 |
| commit | cf9605f7a01ef90050df2f5aafa3b89db492604f (patch) | |
| tree | e008cae4c33969f78e6febd914676f2b5ed57272 /lua/plugins/smart-splits.lua | |
| parent | 0cde83cfa15c5c0b8d117c34a8bfae38b4dec39c (diff) | |
| download | nvim-conf-cf9605f7a01ef90050df2f5aafa3b89db492604f.tar.gz nvim-conf-cf9605f7a01ef90050df2f5aafa3b89db492604f.zip | |
feat(impro) add plugins and configs
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, + }, + }, +} |