emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Yingnan Cui <yingn.cui@gmail.com>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] S-<cursor> Overridden by windmove.el [9.5.2 (release_9.5.2-3-geb9f34 @ /usr/local/share/emacs/28.0.91/lisp/org/)]
Date: Thu, 20 Oct 2022 07:07:07 -0400	[thread overview]
Message-ID: <CAB14nk_8HPAZi+t75WE-+PQY9Cs5T3nzWF9cU0HzsWwWkiSpkw@mail.gmail.com> (raw)
In-Reply-To: <87sfjj9nae.fsf@localhost>

[-- Attachment #1: Type: text/plain, Size: 1007 bytes --]

What if I want to use windmove outside of org-mode?

Yingnan

On Wed, Oct 19, 2022 at 11:38 PM Ihor Radchenko <yantar92@posteo.net> wrote:

> Yingnan Cui <yingn.cui@gmail.com> writes:
>
> > It seems that org-mode's S-<cursor> is overriden by windmove.el even
> > though I'm adding the following configurations according to the org
> > manual:
> > ```emacs-lisp
> > ;; Make windmove work in Org mode:
> > (add-hook 'org-shiftup-final-hook 'windmove-up)
> > (add-hook 'org-shiftleft-final-hook 'windmove-left)
> > (add-hook 'org-shiftdown-final-hook 'windmove-down)
> > (add-hook 'org-shiftright-final-hook 'windmove-right)
> > ```
>
> Just do not activate windmove-mode.
> The above suggestion will directly call windmove without a need in
> windmove-mode being active.
>
> --
> Ihor Radchenko // yantar92,
> Org mode contributor,
> Learn more about Org mode at <https://orgmode.org/>.
> Support Org development at <https://liberapay.com/org-mode>,
> or support my work at <https://liberapay.com/yantar92>
>

[-- Attachment #2: Type: text/html, Size: 1838 bytes --]

  reply	other threads:[~2022-10-20 11:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-14 16:42 [BUG] S-<cursor> Overridden by windmove.el [9.5.2 (release_9.5.2-3-geb9f34 @ /usr/local/share/emacs/28.0.91/lisp/org/)] Yingnan Cui
2022-10-20  3:39 ` Ihor Radchenko
2022-10-20 11:07   ` Yingnan Cui [this message]
2022-10-21  4:19     ` Ihor Radchenko

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=CAB14nk_8HPAZi+t75WE-+PQY9Cs5T3nzWF9cU0HzsWwWkiSpkw@mail.gmail.com \
    --to=yingn.cui@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.net \
    /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).