~kris/suckless

st

8b10af3ae1c6ef04132b6cb719b7938ba55cec6a — Kris Yotam 7 months ago e399d28
Add Ctrl+C and Ctrl+V keybindings for copy/paste

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 files changed, 2 insertions(+), 0 deletions(-)

M config.def.h
M config.def.h => config.def.h +2 -0
@@ 265,8 265,10 @@ static Shortcut shortcuts[] = {
  { MODKEY,              XK_period,        zoom,           {.f = -1} },
  { MODKEY,               XK_g,        zoomreset,      {.f =  0} },
  { ControlMask | ShiftMask,               XK_C,           clipcopy,       {.i =  0} },
  { ControlMask,                           XK_c,           clipcopy,       {.i =  0} },
  { ShiftMask,            XK_Insert,      clippaste,      {.i =  0} },
  { ControlMask | ShiftMask,               XK_V,           clippaste,      {.i =  0} },
  { ControlMask,                           XK_v,           clippaste,      {.i =  0} },
  { XK_ANY_MOD,		Button2,	selpaste,	{.i =  0} },
  { MODKEY,               XK_Num_Lock,    numlock,        {.i =  0} },
  { ControlMask | ShiftMask,               XK_U,           iso14755,       {.i =  0} },