X-Git-Url: https://git.danieliu.xyz/?p=st.git;a=blobdiff_plain;f=config.def.h;h=db31681a181b1475cc798f24c89d57c2d16193d5;hp=b7f883f0eb93861dc9bb7e77d5d9a741cf3e021b;hb=4649bab45b4c23489b6dea7cd6aa719060f39ce4;hpb=df9ce0019053c51e62d79979a5c0bd67a3beb64f diff --git a/config.def.h b/config.def.h index b7f883f..db31681 100644 --- a/config.def.h +++ b/config.def.h @@ -258,6 +258,7 @@ static Shortcut shortcuts[] = { { TERMMOD, XK_Num_Lock, numlock, {.i = 0} }, { MODKEY, XK_c, normalMode, {.i = 0} }, { ControlMask, XK_Return, newterm, {.i = 0} }, + { ControlMask, XK_space, plumber, {.i = 0} }, }; /* @@ -529,3 +530,9 @@ static char ascii_printable[] = " !\"#$%&'()*+,-./0123456789:;<=>?" "@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_" "`abcdefghijklmnopqrstuvwxyz{|}~"; + +/* + * plumb_cmd is run on mouse button 3 click, with first NULL set to + * current selection and with cwd set to the cwd of the active shell + */ +static char *plumb_cmd[] = {"plumb", "-m", NULL, NULL};