From: suvayu ali <fatkasuvayu+linux@gmail.com>
To: Leo Alekseyev <dnquark@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Windmove keybindings pass-through
Date: Mon, 20 Dec 2010 13:43:36 -0800 [thread overview]
Message-ID: <AANLkTimxbdK38rTQ8ORN0fAg0MrpAi3_3FnCmPtXy7Zp@mail.gmail.com> (raw)
In-Reply-To: <AANLkTimBv_gm2rEyFmikyJoondqysp89nto2CDm3xW7Q@mail.gmail.com>
On Mon, Dec 20, 2010 at 1:21 PM, Leo Alekseyev <dnquark@gmail.com> wrote:
> To answer my own question: here's how you avoid clobbering the
> windmove commands. This method should probably be added to the org
> manual section which discusses the (add-hook 'org-shiftup-final-hook
> 'windmove-up), etc commands.
>
> ;; don't clobber windmove bindings: code must be placed _before_ org
> loads
> ;; also, the (add-hook 'org-shiftup-final-hook 'windmove-up), etc
> lines don't seem to do squat
> ;; default disputed keys remap so that windowmove commands aren't
> overridden
> (setq org-disputed-keys '(([(shift up)] . [(meta p)])
> ([(shift down)] . [(meta n)])
> ([(shift left)] . [(meta -)])
> ([(shift right)] . [(meta +)])
> ([(meta return)] . [(control meta return)])
> ([(control shift right)] . [(meta shift +)])
> ([(control shift left)] . [(meta shift -)])))
> (setq org-replace-disputed-keys t)
>
Thanks a lot. I wasn't aware of this method. This will be very helpful.
--
Suvayu
Open source is the future. It sets us free.
prev parent reply other threads:[~2010-12-20 21:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-16 22:24 Windmove keybindings pass-through Leo Alekseyev
2010-12-16 23:20 ` suvayu ali
2010-12-20 20:37 ` Leo Alekseyev
2010-12-20 21:21 ` Leo Alekseyev
2010-12-20 21:43 ` suvayu ali [this message]
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=AANLkTimxbdK38rTQ8ORN0fAg0MrpAi3_3FnCmPtXy7Zp@mail.gmail.com \
--to=fatkasuvayu+linux@gmail.com \
--cc=dnquark@gmail.com \
--cc=emacs-orgmode@gnu.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).