and in the config as well

This commit is contained in:
speedie 2023-05-10 09:19:12 +02:00
parent a537d6a178
commit 73b7019a93

View file

@ -321,28 +321,28 @@ spmenu = {
argument = "0";
},
// Ctrl+Left: Move caret (cursor) one word to the left
{ mode = -1;
{ mode = 1;
modifier = "Ctrl";
key = "Left";
function = "moveword";
argument = "-1";
},
// Ctrl+Right: Move caret (cursor) one word to the right
{ mode = -1;
{ mode = 1;
modifier = "Ctrl";
key = "Right";
function = "moveword";
argument = "+1";
},
// Left: Move caret (cursor) one character to the left
{ mode = -1;
{ mode = 1;
modifier = "None";
key = "Left";
function = "movecursor";
argument = "-1";
},
// Right: Move caret (cursor) one character to the right
{ mode = -1;
{ mode = 1;
modifier = "None";
key = "Right";
function = "movecursor";
@ -432,12 +432,19 @@ spmenu = {
function = "rotateimg";
argument = "0";
},
// p: Toggle image position
// o: Toggle image position
{ mode = 0;
modifier = "None";
key = "o";
function = "setimgpos";
argument = "+1";
},
// p: Paste from clipboard
{ mode = 0;
modifier = "None";
key = "p";
function = "setimgpos";
argument = "+1";
function = "paste";
argument = "2";
},
// Ctrl+1: Decrease image gaps by 1
{ mode = 0;
@ -621,10 +628,10 @@ spmenu = {
function = "clear";
argument = "0";
},
// c: Clear the input and enter insert mode
// Shift+d: Clear the input and enter insert mode
{ mode = 0;
modifier = "None";
key = "c";
modifier = "Shift";
key = "d";
function = "clearins";
argument = "0";
},