Re: slrn: key customising
- From: Slacker <dave@xxxxxxxxxxx>
- Date: Sat, 29 Apr 2006 15:36:45 GMT
On 2006-04-29, Peter J Ross <pjr@xxxxxxxxxxxxxxx> put forth the proposition:
On Sat, 29 Apr 2006 09:05:37 GMT, Slacker <dave@xxxxxxxxxxx> wrote in
news.software.readers:
I've been playing with some various setkey combos. I have <left> in
article view as extra quit key so I can exit back to group list quickly.
Similarly I have <right> bound to select_group in group view for the
same idea.
Now I want to make <right> in article mode show article/post, but I
don't see where <space> and <enter> are bound in my .slrnrc file. Are
they hard-coded in for article view?
<space> is bound to article_page_down.
<return> is bound to article_line_down.
Both of these functions behave "intelligently" if no article is
displayed in the article pane.
I've tried experimenting with various things like:
setkey article <command> "<Right>"
and tried a few commands like display_article, read_article,
display_thread etc but can't find the right one.
Anyone help with this?
unsetkey article "<right>"
and either
setkey article article_page_down "<right>"
or
setkey article article_line_down "<right>"
You'll probably want a keybinding for article_right, since you're
using <right> for something else.
Note to anybody else trying this: some X terminal emulators, such as
Konsole, may over-ride cursor-key bindings.
PJR :-)
Thanks for help. It's not perfect, but this is what I've come up
with:
setkey group "set_prefix_argument(1);call(\"select_group\")" "\n" % These show
setkey group "set_prefix_argument(1);call(\"select_group\")" "^M" % read threads
setkey group "set_prefix_argument(1);call(\"select_group\")" " " % " "
setkey group "set_prefix_argument(1);call(\"select_group\")" "<Right>" % " "
setkey group quit "<Left>" % Quit slrn
setkey article article_page_up "<PageUp>" % Scroll article up one page
setkey article article_page_down "<PageDown>" % Scroll article down one page
setkey article collapse_thread "," % Collapse threads
setkey article uncollapse_thread "." % Expand threads
setkey article article_line_up "<Left>" % Display thread/line up
setkey article article_line_down "<Right>" % Display thread/line down
setkey article article_left "<esc><Left>" % Pan article to the left
setkey article article_right "<esc><Right>" % Pan article to the right
I'm trying to emulate my Mutt bindings, where all navigating is made
with arrow keys.
--
One of the oldest problems puzzled over in the Talmud is: "Why did God
create goyim?" The generally accepted answer is "________somebody has to buy
retail."
-- Arthur Naiman, "Every Goy's Guide to Yiddish"
.
- References:
- slrn: key customising
- From: Slacker
- Re: slrn: key customising
- From: Peter J Ross
- slrn: key customising
- Prev by Date: Re: Best News Reader newsreader, Opinions
- Next by Date: [Xnews] visable, modal window?
- Previous by thread: Re: slrn: key customising
- Next by thread: [Xnews] SMTP problems
- Index(es):