* evil-mode movement keys in the agenda?
@ 2013-04-10 17:44 Marcelo de Moraes Serpa
2013-04-10 22:26 ` Bastien
2013-04-11 10:06 ` Michael Strey
0 siblings, 2 replies; 4+ messages in thread
From: Marcelo de Moraes Serpa @ 2013-04-10 17:44 UTC (permalink / raw)
To: Org Mode
[-- Attachment #1: Type: text/plain, Size: 246 bytes --]
Hi list,
Is there a way to setup the movement keys in the agenda to hjkl? I use
evil-mode with my org files, and when I open the agenda, I always have to
remember not to use hjkl to move around, which is kind of annoying :)
Cheers!
- Marcelo.
[-- Attachment #2: Type: text/html, Size: 360 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: evil-mode movement keys in the agenda?
2013-04-10 17:44 evil-mode movement keys in the agenda? Marcelo de Moraes Serpa
@ 2013-04-10 22:26 ` Bastien
2013-04-11 10:06 ` Michael Strey
1 sibling, 0 replies; 4+ messages in thread
From: Bastien @ 2013-04-10 22:26 UTC (permalink / raw)
To: Marcelo de Moraes Serpa; +Cc: Org Mode
Hi Marcelo,
Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:
> Is there a way to setup the movement keys in the agenda to hjkl?
You can play around with `org-agenda-mode-map'.
--
Bastien
^ permalink raw reply [flat|nested] 4+ messages in thread
* evil-mode movement keys in the agenda?
2013-04-10 17:44 evil-mode movement keys in the agenda? Marcelo de Moraes Serpa
2013-04-10 22:26 ` Bastien
@ 2013-04-11 10:06 ` Michael Strey
2013-04-15 22:38 ` Marcelo de Moraes Serpa
1 sibling, 1 reply; 4+ messages in thread
From: Michael Strey @ 2013-04-11 10:06 UTC (permalink / raw)
To: emacs-orgmode
Marcelo,
I'm using only the following two lines.
#+BEGIN_SRC emacs-lisp
;;; org agenda -- leave in emacs mode but add j & k
(define-key org-agenda-mode-map "j" 'evil-next-line)
(define-key org-agenda-mode-map "k" 'evil-previous-line)
#+END_SRC
It's a good compromise.
Regards
--
Michael Strey
http://www.strey.biz
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: evil-mode movement keys in the agenda?
2013-04-11 10:06 ` Michael Strey
@ 2013-04-15 22:38 ` Marcelo de Moraes Serpa
0 siblings, 0 replies; 4+ messages in thread
From: Marcelo de Moraes Serpa @ 2013-04-15 22:38 UTC (permalink / raw)
To: Org Mode
[-- Attachment #1: Type: text/plain, Size: 469 bytes --]
Works like a charm! Thank you very much!
On Thu, Apr 11, 2013 at 5:06 AM, Michael Strey <mstrey@strey.biz> wrote:
> Marcelo,
>
> I'm using only the following two lines.
>
> #+BEGIN_SRC emacs-lisp
> ;;; org agenda -- leave in emacs mode but add j & k
>
> (define-key org-agenda-mode-map "j" 'evil-next-line)
> (define-key org-agenda-mode-map "k" 'evil-previous-line)
> #+END_SRC
>
> It's a good compromise.
>
> Regards
> --
> Michael Strey
> http://www.strey.biz
>
>
[-- Attachment #2: Type: text/html, Size: 971 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-04-15 22:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-10 17:44 evil-mode movement keys in the agenda? Marcelo de Moraes Serpa
2013-04-10 22:26 ` Bastien
2013-04-11 10:06 ` Michael Strey
2013-04-15 22:38 ` Marcelo de Moraes Serpa
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.