From 975b68f3d8e3c9030d7f3c284e4e83d3667da13c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Mon, 30 Sep 2013 14:31:24 +0200 Subject: Urxvt autotransform for :. --- .Xresources | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.Xresources') diff --git a/.Xresources b/.Xresources index c935430..fcd6bb6 100644 --- a/.Xresources +++ b/.Xresources @@ -23,7 +23,7 @@ URxvt.keysym.Shift-Up: command:\033]720;1\007 URxvt.keysym.Shift-Down: command:\033]721;1\007 ! perl-modules -URxvt.perl-ext-common: default,url-select,clipboard +URxvt.perl-ext-common: default,url-select,clipboard,selection-autotransform ! allow Alt-V/-C for pasting from/copying to clipboard URxvt.keysym.M-v: perl:clipboard:paste @@ -34,6 +34,9 @@ URxvt.url-select.launcher: /home/necoro/bin/openlink URxvt.keysym.M-u: perl:url-select:select_next URxvt.url-select.underline: true +! transform selections of : into a vim cmdline +URxvt.selection-autotransform.0: s/^([^:[:space:]]+):(\\d+):?$/vim +$2 \\Q$1\\E\\x0d/ + ! colors URxvt.background: #000000 URxvt.foreground: #FFFFFF -- cgit v1.2.3