|
| 1 | +---@module 'lazy' |
| 2 | +---@type LazySpec |
1 | 3 | return {
|
2 | 4 | 'mrjones2014/smart-splits.nvim',
|
3 | 5 | opts = {},
|
4 | 6 | keys = {
|
5 | 7 | {
|
6 | 8 | '<C-h>',
|
7 |
| - function() |
8 |
| - require('smart-splits').move_cursor_left() |
9 |
| - end, |
| 9 | + function() require('smart-splits').move_cursor_left() end, |
10 | 10 | desc = 'Move to left split',
|
11 | 11 | },
|
12 | 12 | {
|
13 | 13 | '<C-j>',
|
14 |
| - function() |
15 |
| - require('smart-splits').move_cursor_down() |
16 |
| - end, |
| 14 | + function() require('smart-splits').move_cursor_down() end, |
17 | 15 | desc = 'Move to below split',
|
18 | 16 | },
|
19 | 17 | {
|
20 | 18 | '<C-k>',
|
21 |
| - function() |
22 |
| - require('smart-splits').move_cursor_up() |
23 |
| - end, |
| 19 | + function() require('smart-splits').move_cursor_up() end, |
24 | 20 | desc = 'Move to above split',
|
25 | 21 | },
|
26 | 22 | {
|
27 | 23 | '<C-l>',
|
28 |
| - function() |
29 |
| - require('smart-splits').move_cursor_right() |
30 |
| - end, |
| 24 | + function() require('smart-splits').move_cursor_right() end, |
31 | 25 | desc = 'Move to right split',
|
32 | 26 | },
|
33 | 27 | {
|
34 | 28 | '<C-Left>',
|
35 |
| - function() |
36 |
| - require('smart-splits').resize_left() |
37 |
| - end, |
| 29 | + function() require('smart-splits').resize_left() end, |
38 | 30 | desc = 'Resize split left',
|
39 | 31 | },
|
40 | 32 | {
|
41 | 33 | '<C-Down>',
|
42 |
| - function() |
43 |
| - require('smart-splits').resize_down() |
44 |
| - end, |
| 34 | + function() require('smart-splits').resize_down() end, |
45 | 35 | desc = 'Resize split down',
|
46 | 36 | },
|
47 | 37 | {
|
48 | 38 | '<C-Up>',
|
49 |
| - function() |
50 |
| - require('smart-splits').resize_up() |
51 |
| - end, |
| 39 | + function() require('smart-splits').resize_up() end, |
52 | 40 | desc = 'Resize split up',
|
53 | 41 | },
|
54 | 42 | {
|
55 | 43 | '<C-Right>',
|
56 |
| - function() |
57 |
| - require('smart-splits').resize_right() |
58 |
| - end, |
| 44 | + function() require('smart-splits').resize_right() end, |
59 | 45 | desc = 'Resize split right',
|
60 | 46 | },
|
61 | 47 | },
|
|
0 commit comments