change modifier key

This commit is contained in:
♥ Minnie ♥ 2025-05-19 11:25:33 +08:00
parent e8ff6ac5f3
commit a05b6e401c
Signed by: jasmine
GPG key ID: 8563E358D4E8040E

View file

@ -11,7 +11,7 @@
# moving between splits # moving between splits
{ {
mode = ["n"]; mode = ["n"];
key = "<C-Left>"; key = "<A-Left>";
action = { action = {
__raw = "require('smart-splits').move_cursor_left"; __raw = "require('smart-splits').move_cursor_left";
}; };
@ -19,7 +19,7 @@
{ {
mode = ["n"]; mode = ["n"];
key = "<C-Down>"; key = "<A-Down>";
action = { action = {
__raw = "require('smart-splits').move_cursor_down"; __raw = "require('smart-splits').move_cursor_down";
}; };
@ -27,7 +27,7 @@
{ {
mode = ["n"]; mode = ["n"];
key = "<C-Up>"; key = "<A-Up>";
action = { action = {
__raw = "require('smart-splits').move_cursor_up"; __raw = "require('smart-splits').move_cursor_up";
}; };
@ -35,7 +35,7 @@
{ {
mode = ["n"]; mode = ["n"];
key = "<C-Right>"; key = "<A-Right>";
action = { action = {
__raw = "require('smart-splits').move_cursor_right"; __raw = "require('smart-splits').move_cursor_right";
}; };
@ -44,7 +44,7 @@
# swapping buffers between windows # swapping buffers between windows
{ {
mode = ["n"]; mode = ["n"];
key = "<C-S-Left>"; key = "<A-S-Left>";
action = { action = {
__raw = "require('smart-splits').swap_buf_left"; __raw = "require('smart-splits').swap_buf_left";
}; };
@ -52,7 +52,7 @@
{ {
mode = ["n"]; mode = ["n"];
key = "<C-S-Down>"; key = "<A-S-Down>";
action = { action = {
__raw = "require('smart-splits').swap_buf_down"; __raw = "require('smart-splits').swap_buf_down";
}; };
@ -60,7 +60,7 @@
{ {
mode = ["n"]; mode = ["n"];
key = "<C-S-Up>"; key = "<A-S-Up>";
action = { action = {
__raw = "require('smart-splits').swap_buf_up"; __raw = "require('smart-splits').swap_buf_up";
}; };
@ -68,7 +68,7 @@
{ {
mode = ["n"]; mode = ["n"];
key = "<C-S-Right>"; key = "<A-S-Right>";
action = { action = {
__raw = "require('smart-splits').swap_buf_right"; __raw = "require('smart-splits').swap_buf_right";
}; };
@ -77,7 +77,7 @@
# resizing splits # resizing splits
{ {
mode = ["n"]; mode = ["n"];
key = "<C-A-Left>"; key = "<A-C-Left>";
action = { action = {
__raw = "require('smart-splits').resize_left"; __raw = "require('smart-splits').resize_left";
}; };
@ -85,7 +85,7 @@
{ {
mode = ["n"]; mode = ["n"];
key = "<C-A-Down>"; key = "<A-C-Down>";
action = { action = {
__raw = "require('smart-splits').resize_down"; __raw = "require('smart-splits').resize_down";
}; };
@ -93,7 +93,7 @@
{ {
mode = ["n"]; mode = ["n"];
key = "<C-A-Up>"; key = "<A-C-Up>";
action = { action = {
__raw = "require('smart-splits').resize_up"; __raw = "require('smart-splits').resize_up";
}; };
@ -101,7 +101,7 @@
{ {
mode = ["n"]; mode = ["n"];
key = "<C-A-Right>"; key = "<A-C-Right>";
action = { action = {
__raw = "require('smart-splits').resize_right"; __raw = "require('smart-splits').resize_right";
}; };