summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2023-03-23 22:01:06 +0100
committerMarc Vertes <mvertes@free.fr>2023-03-23 22:01:06 +0100
commit6b9a5f9d271786d86ee2cc1af1b10051e36f417a (patch)
treea194745228c85f079123fc764333e531c529e28a
parent90e5c281bc08859131f6680fdc3271e3cafc300a (diff)
add copy-paste in xterm
-rw-r--r--.Xresources4
-rw-r--r--.fvwm2rc32
2 files changed, 19 insertions, 17 deletions
diff --git a/.Xresources b/.Xresources
index 84b45b0..00fdd60 100644
--- a/.Xresources
+++ b/.Xresources
@@ -26,7 +26,9 @@ xterm*internalBorder: 4
xterm*VT100.Translations: #override \
<Key> F11: fullscreen(toggle) \n\
Ctrl <Key> Next: smaller-vt-font() \n\
- Ctrl <Key> Prior: larger-vt-font() \n
+ Ctrl <Key> Prior: larger-vt-font() \n\
+ Shift Ctrl <Key> C: copy-selection(CLIPBOARD) \n\
+ Shift Ctrl <Key> V: insert-selection(CLIPBOARD) \n
! Meta <Key> minus: smaller-vt-font() \n\
! Meta <Key> equal: larger-vt-font() \n
xterm*cursorColor: red
diff --git a/.fvwm2rc b/.fvwm2rc
index 52a6c9b..a2ee073 100644
--- a/.fvwm2rc
+++ b/.fvwm2rc
@@ -52,23 +52,23 @@ AddToFunc "StartFunction"
#========================================================================#
# Now define some handy complex functions
#
-AddToFunc "Move-or-Raise" "M" Move
-+ "M" Raise
-+ "C" Raise
-+ "D" Maximize 100 100
+AddToFunc "Move-or-Raise" M Move
++ M Raise
++ C Raise
++ D Maximize 100 100
-AddToFunc "Move-or-Lower" "M" Move
-+ "M" Lower
-+ "C" Lower
-+ "D" RaiseLower
+AddToFunc "Move-or-Lower" M Move
++ M Lower
++ C Lower
++ D RaiseLower
-AddToFunc "Move-or-Iconify" "M" Move
-+ "D" Iconify
+AddToFunc "Move-or-Iconify" M Move
++ D Iconify
-AddToFunc "Resize-or-Raise" "M" Resize
-+ "M" Raise
-+ "C" Raise
-+ "D" RaiseLower
+AddToFunc "Resize-or-Raise" M Resize
++ M Raise
++ C Raise
++ D RaiseLower
AddToFunc "Focus-and-Raise" I Focus
+ I Iconify false
@@ -203,7 +203,7 @@ AddToFunc "window_ops_func" "C" PopUp Window-Ops2
# Button Context Modifi Function
Mouse 1 R A Menu "Utilities" Nop
Mouse 2 R A Menu "Window Ops" Nop
-Mouse 3 R A WindowList
+Mouse 3 R A WindowList
# Now the title bar buttons
# Any button in the left title-bar button gives the window ops menu
@@ -275,7 +275,7 @@ Key Up A SM CursorMove +0 -10
Key Down A SM CursorMove +0 +10
# Keyboard accelerators
-Key Super_L A A Popup "Utilities"
+Key Super_R A A Popup "Utilities"
Key F1 A M Popup "Utilities"
Key F2 A M Popup "Window Ops"
Key F3 A M Module "WindowList" FvwmWinList