copy/paste fixes
This commit is contained in:
parent
53b4c270aa
commit
523d83e6ab
@ -4,7 +4,7 @@ The [suckless terminal (st)](https://st.suckless.org/) with some additional feat
|
|||||||
|
|
||||||
+ Adjustable transparency/alpha
|
+ Adjustable transparency/alpha
|
||||||
+ Compatibility with `Xresources` and `pywal` for dynamic colors
|
+ Compatibility with `Xresources` and `pywal` for dynamic colors
|
||||||
+ Copy to clipboard (alt-shift-c)
|
+ Copy is alt-c, paste is alt-v or alt-p pastes from primary selection
|
||||||
+ Default font is system "mono" at 14pt, meaning the font will match your system font.
|
+ Default font is system "mono" at 14pt, meaning the font will match your system font.
|
||||||
+ Hold alt and press either ↑/↓ or the vim keys k/j to move up/down in the terminal.
|
+ Hold alt and press either ↑/↓ or the vim keys k/j to move up/down in the terminal.
|
||||||
+ Shift+Mouse wheel will as well.
|
+ Shift+Mouse wheel will as well.
|
||||||
|
6
config.h
6
config.h
@ -212,9 +212,9 @@ static Shortcut shortcuts[] = {
|
|||||||
{ MODKEY|ShiftMask, XK_Next, zoom, {.f = -1} },
|
{ MODKEY|ShiftMask, XK_Next, zoom, {.f = -1} },
|
||||||
{ MODKEY|ShiftMask, XK_Home, zoomreset, {.f = 0} },
|
{ MODKEY|ShiftMask, XK_Home, zoomreset, {.f = 0} },
|
||||||
{ ShiftMask, XK_Insert, clippaste, {.i = 0} },
|
{ ShiftMask, XK_Insert, clippaste, {.i = 0} },
|
||||||
{ MODKEY|ShiftMask, XK_Insert, clippaste, {.i = 0} },
|
{ MODKEY, XK_c, clipcopy, {.i = 0} },
|
||||||
{ MODKEY|ShiftMask, XK_C, clipcopy, {.i = 0} },
|
{ MODKEY, XK_v, clippaste, {.i = 0} },
|
||||||
{ MODKEY|ShiftMask, XK_V, clippaste, {.i = 0} },
|
{ MODKEY, XK_p, selpaste, {.i = 0} },
|
||||||
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
|
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
|
||||||
{ MODKEY, XK_Control_L, iso14755, {.i = 0} },
|
{ MODKEY, XK_Control_L, iso14755, {.i = 0} },
|
||||||
{ ShiftMask, XK_Page_Up, kscrollup, {.i = -1} },
|
{ ShiftMask, XK_Page_Up, kscrollup, {.i = -1} },
|
||||||
|
12
st.1
12
st.1
@ -160,14 +160,14 @@ Decrease font size.
|
|||||||
.B Ctrl-Shift-Home
|
.B Ctrl-Shift-Home
|
||||||
Reset to default font size.
|
Reset to default font size.
|
||||||
.TP
|
.TP
|
||||||
.B Shift-Insert or Ctrl-Shift-y
|
.B Shift-Insert or Alt-v
|
||||||
Paste from primary selection (middle mouse button).
|
Paste from clipboard.
|
||||||
.TP
|
.TP
|
||||||
.B Ctrl-Shift-c
|
.B Alt-c
|
||||||
Copy the selected text to the clipboard selection.
|
Copy to clipboard.
|
||||||
.TP
|
.TP
|
||||||
.B Ctrl-Shift-v
|
.B Alt-p
|
||||||
Paste from the clipboard selection.
|
Paste/input primary selection.
|
||||||
.TP
|
.TP
|
||||||
.B Ctrl-Shift-i
|
.B Ctrl-Shift-i
|
||||||
Launch dmenu to enter a unicode codepoint and send the corresponding glyph
|
Launch dmenu to enter a unicode codepoint and send the corresponding glyph
|
||||||
|
Loading…
Reference in New Issue
Block a user