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>