aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins/smart-splits.lua
blob: 29cccb79ed5d882a59e9158fe894ad4b1652ff8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
return {
  "mrjones2014/smart-splits.nvim",
  config = true,
  keys = {
    {
      "<leader><A-h>",
      function()
        require("smart-splits").resize_left()
      end,
      desc = "Resize window left +10",
    },
    {
      "<leader><A-j>",
      function()
        require("smart-splits").resize_down()
      end,
      desc = "Resize window down +10",
    },
    {
      "<leader><A-k>",
      function()
        require("smart-splits").resize_up()
      end,
      desc = "Resize window up +10",
    },
    {
      "<leader><A-l>",
      function()
        require("smart-splits").resize_right()
      end,
      desc = "Resize window right +10",
    },
  },
}