Hi Tom, I'm very interested in the "vi emulation in emacs" subject. I've tried viper-mode but it's quite slow with org, so I gave up on it. What's evil and how's the vi emulation it provides? Could you elaborate on it? I'd appreciate it, a lot. Thanks, Marcelo. On Sun, Dec 4, 2011 at 10:01 AM, Tom Prince wrote: > On Fri, 02 Dec 2011 20:25:21 -0600, SndChaser > 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 > >