emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tom Prince <tom.prince@ualberta.net>
To: SndChaser <sndchaser@cerebralrift.org>, emacs-orgmode@gnu.org
Subject: Re: Emacs Prelude
Date: Sun, 04 Dec 2011 11:01:27 -0500	[thread overview]
Message-ID: <87aa78gwbs.fsf@hermes.hocat.ca> (raw)
In-Reply-To: <2bf2215563437dcc51cd9a681dd02ab3@cerebralrift.org>

On Fri, 02 Dec 2011 20:25:21 -0600, SndChaser <sndchaser@cerebralrift.org> 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	other threads:[~2011-12-04 16:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-03  2:25 Emacs Prelude SndChaser
2011-12-04 16:01 ` Tom Prince [this message]
2011-12-05  6:14   ` Marcelo de Moraes Serpa
2011-12-05  9:09     ` Eric S Fraga
2011-12-07  0:56       ` Marcelo de Moraes Serpa
2011-12-08 18:59   ` Kenny Meyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87aa78gwbs.fsf@hermes.hocat.ca \
    --to=tom.prince@ualberta.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=sndchaser@cerebralrift.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).