keysrc and prefix keys

Jeremy Henty <onepoint-YprzHiG/[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
I  was thinking  of implementing  more of  Firefox's key  shortcuts in
Dillo, namely Alt-<n> -> "Go to nth tab"  for <n> = 1, 2, 3, ... 8 and
Alt-9 -> "Go to last tab".  (That last one would be really useful when
I have more tabs open than will fit in the tab bar.)

But then I thought "how do we configure this in keysrc?".  The obvious
solution is to  add separate entries for each of  the 9 commands.  But
this is  clearly silly because  no-one wants to  use, say, Alt  as the
prefix for going to the 4th tab but Ctrl-Shift as the prefix for going
to the 5th tab.  Why should users have to add 9 entries to keysrc just
because they prefer Ctrl-Shift to Alt?

So I  think we  really want  a single keyssrc  entry that  defines the
modifier keys  that bind the 1,  2, 3, ... 9  keys to the  "Go to tab"
commands.  But  this would significantly complicate  the current code.
Is it worth it?

Regards,

Jeremy Henty
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.