aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins/smart-splits.lua
blob: 57faedb6e4a7dcf332e672e3303c7d1f7bc443f9 (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 = {
    {
      "<A-h>",
      function()
        require("smart-splits").resize_left()
      end,
      desc = "Resize window left +10",
    },
    {
      "<A-j>",
      function()
        require("smart-splits").resize_down()
      end,
      desc = "Resize window down +10",
    },
    {
      "<A-k>",
      function()
        require("smart-splits").resize_up()
      end,
      desc = "Resize window up +10",
    },
    {
      "<A-l>",
      function()
        require("smart-splits").resize_right()
      end,
      desc = "Resize window right +10",
    },
  },
}