How to customize keybindings on ST i.e. simple/suckless terminal?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
Here is the corresponding part of my config.h
:
/* Internal keyboard shortcuts. */
#define MODKEY Mod1Mask
#define TERMMOD (ControlMask|ShiftMask)
static Shortcut shortcuts =
/* mask keysym function argument */
XK_ANY_MOD, XK_Break, sendbreak, .i = 0 ,
ControlMask, XK_Print, toggleprinter, .i = 0 ,
ShiftMask, XK_Print, printscreen, .i = 0 ,
XK_ANY_MOD, XK_Print, printsel, .i = 0 ,
TERMMOD, XK_Prior, zoom, .f = +1 ,
TERMMOD, XK_Next, zoom, .f = -1 ,
TERMMOD, XK_Home, zoomreset, .f = 0 ,
TERMMOD, XK_C, clipcopy, .i = 0 ,
TERMMOD, XK_V, clippaste, .i = 0 ,
TERMMOD, XK_Y, selpaste, .i = 0 ,
TERMMOD, XK_Num_Lock, numlock, .i = 0 ,
;
Now, what is the purpose of the column argument
?
keyboard-shortcuts
add a comment |Â
up vote
0
down vote
favorite
Here is the corresponding part of my config.h
:
/* Internal keyboard shortcuts. */
#define MODKEY Mod1Mask
#define TERMMOD (ControlMask|ShiftMask)
static Shortcut shortcuts =
/* mask keysym function argument */
XK_ANY_MOD, XK_Break, sendbreak, .i = 0 ,
ControlMask, XK_Print, toggleprinter, .i = 0 ,
ShiftMask, XK_Print, printscreen, .i = 0 ,
XK_ANY_MOD, XK_Print, printsel, .i = 0 ,
TERMMOD, XK_Prior, zoom, .f = +1 ,
TERMMOD, XK_Next, zoom, .f = -1 ,
TERMMOD, XK_Home, zoomreset, .f = 0 ,
TERMMOD, XK_C, clipcopy, .i = 0 ,
TERMMOD, XK_V, clippaste, .i = 0 ,
TERMMOD, XK_Y, selpaste, .i = 0 ,
TERMMOD, XK_Num_Lock, numlock, .i = 0 ,
;
Now, what is the purpose of the column argument
?
keyboard-shortcuts
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Here is the corresponding part of my config.h
:
/* Internal keyboard shortcuts. */
#define MODKEY Mod1Mask
#define TERMMOD (ControlMask|ShiftMask)
static Shortcut shortcuts =
/* mask keysym function argument */
XK_ANY_MOD, XK_Break, sendbreak, .i = 0 ,
ControlMask, XK_Print, toggleprinter, .i = 0 ,
ShiftMask, XK_Print, printscreen, .i = 0 ,
XK_ANY_MOD, XK_Print, printsel, .i = 0 ,
TERMMOD, XK_Prior, zoom, .f = +1 ,
TERMMOD, XK_Next, zoom, .f = -1 ,
TERMMOD, XK_Home, zoomreset, .f = 0 ,
TERMMOD, XK_C, clipcopy, .i = 0 ,
TERMMOD, XK_V, clippaste, .i = 0 ,
TERMMOD, XK_Y, selpaste, .i = 0 ,
TERMMOD, XK_Num_Lock, numlock, .i = 0 ,
;
Now, what is the purpose of the column argument
?
keyboard-shortcuts
Here is the corresponding part of my config.h
:
/* Internal keyboard shortcuts. */
#define MODKEY Mod1Mask
#define TERMMOD (ControlMask|ShiftMask)
static Shortcut shortcuts =
/* mask keysym function argument */
XK_ANY_MOD, XK_Break, sendbreak, .i = 0 ,
ControlMask, XK_Print, toggleprinter, .i = 0 ,
ShiftMask, XK_Print, printscreen, .i = 0 ,
XK_ANY_MOD, XK_Print, printsel, .i = 0 ,
TERMMOD, XK_Prior, zoom, .f = +1 ,
TERMMOD, XK_Next, zoom, .f = -1 ,
TERMMOD, XK_Home, zoomreset, .f = 0 ,
TERMMOD, XK_C, clipcopy, .i = 0 ,
TERMMOD, XK_V, clippaste, .i = 0 ,
TERMMOD, XK_Y, selpaste, .i = 0 ,
TERMMOD, XK_Num_Lock, numlock, .i = 0 ,
;
Now, what is the purpose of the column argument
?
keyboard-shortcuts
keyboard-shortcuts
asked 2 mins ago
Enan Ajmain
1749
1749
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Â
draft saved
draft discarded
Â
draft saved
draft discarded
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f479685%2fhow-to-customize-keybindings-on-st-i-e-simple-suckless-terminal%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password