urxvt: enable url-select
authorJulien Moutinho <julm+julm-nix@sourcephile.fr>
Sat, 11 Feb 2023 01:17:42 +0000 (02:17 +0100)
committerJulien Moutinho <julm+julm-nix@sourcephile.fr>
Sat, 11 Feb 2023 01:17:42 +0000 (02:17 +0100)
home-manager/profiles/urxvt.nix

index fff9204d116837389a62b23b2f1fbab68b6439af..406bf514c1e1e4fe80cfd3d021942c94082045c3 100644 (file)
     "URxvt*keysym.KP_End" = "\\033[4~";
     "URxvt*keysym.KP_Enter" = "\\n";
     "URxvt*keysym.KP_Home" = "\\033[1~";
+    "URxvt*keysym.M-u" = "perl:url-select:select_next";
     "URxvt*letterSpace" = "0";
     "URxvt*lineSpace" = "0";
     "URxvt*meta8" = "False";
     "URxvt*perl-ext" = "default";
-    "URxvt*perl-ext-common" = "default,font-size";
+    "URxvt*perl-ext-common" = "default,font-size,url-select";
     "URxvt*pointerColor" = "green";
     "URxvt*pointerColor2" = "black";
     "URxvt*reverseVideo" = "false";
@@ -50,6 +51,8 @@
     "URxvt*termName" = "xterm-256color";
     "URxvt*troughColor" = "blue";
     "URxvt*urgentOnBell" = "true";
+    "URxvt*url-select.launcher" = "xdg-open";
+    "URxvt*url-select.underline" = "true";
     "URxvt*visualBell" = "off";
     /*
       !URxvt.urlLauncher: elinks