Thread View: news.software.readers
3 messages
3 total messages
Started by Edward Westin
Mon, 06 Sep 1999 00:00
slrn: setting vi movement keys?
Author: Edward Westin
Date: Mon, 06 Sep 1999 00:00
Date: Mon, 06 Sep 1999 00:00
7 lines
1124 bytes
1124 bytes
I can see where in .slrnrc one could just change around some key definitions and aquire some vi type movement with h-j-k-l, but I wonder if that might throw the entire menuing system off. I would like this type of functionality on all the screens. Is there anyone who has done this that might be able to provide some advice on how to do a decent job of it?
Re: slrn: setting vi movement keys?
Author: Jan Hlavacek
Date: Tue, 07 Sep 1999 00:00
Date: Tue, 07 Sep 1999 00:00
160 lines
7607 bytes
7607 bytes
On 6 Sep 1999 09:56:23 GMT, Edward Westin <ewestin@yahoo.com> wrote:
> I can see where in .slrnrc one could just change around some key
> definitions and aquire some vi type movement with h-j-k-l, but I
> wonder if that might throw the entire menuing system off. I would
> like this type of functionality on all the screens. Is there anyone
> who has done this that might be able to provide some advice on how to
> do a decent job of it?
Here is the corresponding part of my .slrnrc:
It is a mess, there is a lot of mappings I never use. I need to clean
it up, but it works, so why bother. I hope it can be of some help.
I wouldn't just copy it, I would use it more like a guide or so.
Good luck, and let me know how it goes.
%------------------------ Group keymap------------------------------------
setkey group fetch_faq "F"
setkey group add_group "A" % add a new newsgroup
setkey group bob "\e<" % beg of buffer
setkey group bob "^K\eOA"
setkey group bob "^K\e[A"
setkey group catchup "C" % mark group as read
setkey group down "\eOB" % next group
setkey group down "\e[B"
setkey group down "^N"
setkey group down "j"
setkey group eob "\e>" % end of buffer
setkey group eob "^K\eOB"
setkey group eob "^K\e[B"
setkey group execute_slang "^X\e"
setkey group group_search_forward "/"
setkey group help "?"
setkey group pagedown "^D" % next page of groups
setkey group pagedown "\e[6~"
setkey group pagedown "^V"
setkey group pagedown "^F"
setkey group pageup "\eV" % previous page of groups
setkey group pageup "^U"
setkey group pageup "\e[5~"
setkey group pageup "^B"
setkey group post "P"
setkey group quit "Q"
setkey group redraw "^L"
setkey group redraw "^R"
setkey group refresh_groups_bob "G"
setkey group save_newsrc "X"
setkey group select_group "\r" % read articles from group
setkey group select_group " "
setkey group subscribe "S" % subscribe to group (See unsubscribe)
setkey group suspend "^Z"
setkey group toggle_group_display "\033A"
setkey group toggle_hidden "l"
setkey group toggle_list_all "L"
setkey group unsubscribe "U" % unsubscribe
setkey group up "\eOA" % previous line
setkey group up "\e[A"
setkey group up "^P"
setkey group up "k"
%---------------- Article mode keymap -------------------------------------
setkey article archive "o"
setkey article goto_article "g"
setkey article pipe_article "|"
setkey article skip_quotes "\t"
setkey article pageup "^U"
setkey article pageup "\e[5~"
setkey article pageup "\eV"
setkey article pageup "^B"
setkey article pagedn "\e[6~"
setkey article pagedn "^D"
setkey article pagedn "^V"
setkey article pagedn "^F"
setkey article post "P"
setkey article toggle_show_author "\ea"
setkey article get_parent_header "\ep"
setkey article catchup_all "c"
setkey article catchup_all "\ec"
setkey article uncatchup_all "\eu"
setkey article catchup "\eC"
setkey article uncatchup "\eU"
setkey article scroll_dn " " % scroll to next page of article or select article
setkey article scroll_up "^?" % scroll to next page of article
setkey article scroll_up "b" % (scroll_up or article_pageup)
setkey article article_lineup "\e\e[A" % Scroll article one line up
setkey article article_lineup "\e\eOA"
setkey article article_linedn "\e\e[B" % Scroll article one line down
setkey article article_linedn "\e\eOB"
setkey article article_linedn "\r"
setkey article article_search "/" % Search forward through article
setkey article author_search_forward "a" % Search forward for an author
setkey article author_search_backward "A" % Search backward for an author
setkey article cancel "\e^C" % Cancel the article
setkey article delete "d" % Mark current article as read and move to the next unread one
setkey article delete_whole_thread "^D"
setkey article delete_thread "D"
setkey article down "^N" % Move to the next article
setkey article down "\e[B"
setkey article down "\eOB"
setkey article down "j"
setkey article mark_spot ";" % Set mark at current article
setkey article exchange_mark "," % Set the mark and return to the location of the previous mark.
setkey article execute_slang "^X\e"
setkey article followup "f" % Followup on the article
setkey article forward "F" % Forward the article to someone
setkey article follow_and_reply "R"
setkey article help "?" % Show help screen
setkey article hide_article "H" % Hide the article window.
setkey article hide_article "i" % Hide the article window.
setkey article art_eob ">" % goto the end of the article
setkey article left "\eOD"
setkey article left "\e[D"
setkey article mark_important_and_unread "*"
setkey article next "n" % next unread article
setkey article skip_to_next_group "N" % next group
setkey article pipe_to_most "&"
setkey article prev "p" % previous unread article
setkey article quit "q" % Quit back to group mode.
setkey article redraw "^L" % Redraw the display
setkey article redraw "^R"
setkey article reply "r" % Reply to the author of the current article
setkey article art_bob "<" % goto the beginning of the article
setkey article right "\e[C"
setkey article right "\eOC"
setkey article save "O" % append to a file in Unix mail format
setkey article subject_search_forward "s" % Search forward/backward for an article with a specific subject
setkey article subject_search_backward "S"
setkey article suspend "^Z" % Suspend the newsreader
setkey article tag_high_scores "^T"
setkey article toggle_rot13 "\eR"
setkey article toggle_sort "\eS"
setkey article toggle_headers "t" % Toggle the display of some headers on and off
setkey article toggle_quotes "T"
setkey article undelete "u" % Mark the current article as unread
setkey article up "^P" % Move to the previous article
setkey article up "\eOA"
setkey article up "\e[A"
setkey article up "k"
setkey article header_bob "\e<" % Move to first article in list
setkey article header_eob "\e>" % Move to last article in list
setkey article shrink_window "^^" % Ctrl-6 or Ctrl-^ % Shrink header window
setkey article enlarge_window "^" % Shift-6 or just ^ % Enlarge header window
%setkey article skip_to_prev_group "" % No default binding
%setkey article fast_quit "" % No default binding
setkey article forward_digest "w"
--
Jan Hlav\'{a}\v{c}ek <lahvak@math.mps.ohio-state.edu> (BCC's will bounce)
home page: http://www.math.ohio-state.edu/~lahvak/
slrn page: http://www.math.ohio-state.edu/~lahvak/software/slrn.html
slrn documentation: http://www.math.ohio-state.edu/~lahvak/software/slrn/
Re: slrn: setting vi movement keys?
Author: Edward Westin
Date: Wed, 08 Sep 1999 00:00
Date: Wed, 08 Sep 1999 00:00
9 lines
1130 bytes
1130 bytes
On 7 Sep 1999 16:16:41 GMT, Jan Hlavacek <lahvak@math.mps.ohio-state.edu> wrote:
Here is the corresponding part of my .slrnrc:
Jan,
Thank you very much for your reply. I will try to make good use of
this...
Best Regards...
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads