From 9fb89fa21bccb7869111508871a4205dd2b47e49 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 3 Jun 2021 12:06:35 +0200 Subject: desktop: add urxvt extension reselect --- .gitmodules | 3 +++ desktop.conf.yaml | 2 ++ dotfiles/Xresources | 5 +++-- urxvt/reselect | 1 + 4 files changed, 9 insertions(+), 2 deletions(-) create mode 160000 urxvt/reselect diff --git a/.gitmodules b/.gitmodules index 71eb651..ea3524e 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "vim/minisnip"] path = vim/minisnip url = https://github.com/Jorengarenar/miniSnip +[submodule "urxvt/reselect"] + path = urxvt/reselect + url = git://git.khirnov.net/urxvt-ext-reselect diff --git a/desktop.conf.yaml b/desktop.conf.yaml index 73cf562..a1b9f1b 100644 --- a/desktop.conf.yaml +++ b/desktop.conf.yaml @@ -1,7 +1,9 @@ - create: - ~/.config/mpv + - ~/.urxvt/ext - link: ~/.config/mpv/config: dotfiles/mpv + ~/.urxvt/ext/reselect: urxvt/reselect/reselect ~/.xscreensaver: dotfiles/xscreensaver ~/.Xresources: dotfiles/Xresources diff --git a/dotfiles/Xresources b/dotfiles/Xresources index 36cae9e..ec36f52 100644 --- a/dotfiles/Xresources +++ b/dotfiles/Xresources @@ -33,8 +33,9 @@ URxvt.scrollTTYOutput: true URxvt.scrollTTYKeyPress: true URxvt.inputMethod: ibus URxvt.preeditType: OverTheSpot -URxvt.perl-ext-common: default,url-select -URxvt.keysym.M-u: perl:url-select:select_next +URxvt.keysym.M-u: reselect:url +URxvt.keysym.M-g: reselect:git_hash +URxvt.keysym.M-i: reselect:message_id URxvt.urgentOnBell: true SshAskpass.grabKeyboard: False diff --git a/urxvt/reselect b/urxvt/reselect new file mode 160000 index 0000000..72b3fe0 --- /dev/null +++ b/urxvt/reselect @@ -0,0 +1 @@ +Subproject commit 72b3fe032d61cd9ad1b1b1fe321803ed547c361b -- cgit v1.2.3