Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* overwriting c catchup shortcut in Group buffer
@ 2015-05-10 19:40 Stefan Huchler
  2015-05-10 22:10 ` Emanuel Berg
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Huchler @ 2015-05-10 19:40 UTC (permalink / raw)
  To: info-gnus-english

I try to overwrite the gnus group buffer with some keyboard-shortcuts,
but I dont find the right hook or method to do so.

I want to use direction keys on my home-row instead of the emacs C-f
standard keys or the normal arrow keys and in dvorak the 4 logical keys
under 8 on the right side are c/h/t/n.


(progn
  (defun spiderbit-gnus-group-prepare-setup ()
    "for `gnus-group-prepare'."
    (local-set-key (kbd "c") 'previous-line) 
    (local-set-key (kbd "t") 'next-line)
    (local-set-key (kbd "h") 'backward-char)
    (local-set-key (kbd "n") 'forward-char))
  (add-hook 'gnus-group-prepare-hook
  'spiderbit-gnus-group-prepare-setup))


it worked well with the summary buffer with this hook:

'gnus-summary-mode-hook

but in the Group buffer I cant find the right hook I tried this 3:

'gnus-group-prepare-hook
'gnus-group-menu-hook
'gnus-group-mode-hook

I cant get gnus stop calling the catchup command instead
previous-line. Thanks for your help in advance.



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-05-23  0:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-10 19:40 overwriting c catchup shortcut in Group buffer Stefan Huchler
2015-05-10 22:10 ` Emanuel Berg
2015-05-10 22:44   ` Stefan Huchler
     [not found]   ` <mailman.2723.1431297892.904.info-gnus-english@gnu.org>
2015-05-10 23:00     ` Emanuel Berg
2015-05-10 23:21       ` Stefan Huchler
     [not found]       ` <mailman.2726.1431300114.904.info-gnus-english@gnu.org>
2015-05-11  0:00         ` Emanuel Berg
2015-05-23  0:41           ` Stefan Huchler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).