Hi all,
[Please keep me in Cc, I'm not subscribed, and posting via gmane seems
not to work.]
is it possible to add a shortcut key to the tabbed perl extension that
allows deletion of the current tab?
I tried to do it on my own (bind Shift-Up (0xff52 according to xev) to
delete the current tab), but I failed cause I don't know perl at all.
Nothing happens when pressing Shift-Up.
Here's what I tried:
--8<---------------cut here---------------start------------->8---
--- /usr/lib64/urxvt/perl/tabbed 2010-02-02 20:57:17.123136075 +0100
+++ tabbed 2010-02-02 20:56:18.383887819 +0100
@@ -320,6 +320,10 @@
$self->new_tab;
return 1;
+ } elsif ($keysym == 0xff52) {
+ $self->tab_destroy;
+
+ return 1;
}
}
elsif ($event->{state} & urxvt::ControlMask) {
--8<---------------cut here---------------end--------------->8---
What am I doing wrong?
And another minor thing: would it be possible to show the tabbar only if
there are more than one tab?
Bye,
Tassilo
_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode