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