[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
overwriting c catchup shortcut in Group buffer
From: |
Stefan Huchler |
Subject: |
overwriting c catchup shortcut in Group buffer |
Date: |
Sun, 10 May 2015 21:40:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
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.
- overwriting c catchup shortcut in Group buffer,
Stefan Huchler <=