emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Emacs Prelude


From: Tom Prince
Subject: Re: [O] Emacs Prelude
Date: Sun, 04 Dec 2011 11:01:27 -0500
User-agent: Notmuch/0.10.1 (http://notmuchmail.org) Emacs/23.3.3 (x86_64-pc-linux-gnu)

On Fri, 02 Dec 2011 20:25:21 -0600, SndChaser <address@hidden> wrote:
> 2) Has someone bound: org-do-promote, org-do-demote, 
> org-promote-subtree. org-demote-subtree, org-move-subtree-up and 
> org-move-subtree-down to another set of keys that is as handy / workable 
> as the original bindings?

Well, I use the vi emulation provided by evil, and have bound
M-{h,j,k,l} to org-meta*:

#+BEGIN_SRC emacs-lisp
    (mapcar (lambda (state)
           (evil-declare-key state org-mode-map
             (kbd "M-l") 'org-metaright
             (kbd "M-h") 'org-metaleft
             (kbd "M-k") 'org-metaup
             (kbd "M-j") 'org-metadown
             (kbd "M-L") 'org-shiftmetaright
             (kbd "M-H") 'org-shiftmetaleft
             (kbd "M-K") 'org-shiftmetaup
             (kbd "M-J") 'org-shiftmetadown))
         '(normal insert))
#+END_SRC

  Tom



reply via email to

[Prev in Thread] Current Thread [Next in Thread]