From 35204940d2cf7b41f27c0f0d74c0a1b1c6beee56 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Mon, 26 Apr 2010 11:06:10 +0200 Subject: [PATCH] Document windmove work-around --- doc/ChangeLog | 4 ++++ doc/org.texi | 13 ++++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/doc/ChangeLog b/doc/ChangeLog index 41ff00b29..7c5aededa 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,7 @@ +2010-04-26 Carsten Dominik + + * org.texi (Conflicts): Document new work-around for windmove.el. + 2010-04-23 Carsten Dominik * org.texi (Plain lists): Document the commands to promote/demote diff --git a/doc/org.texi b/doc/org.texi index 527ce719a..2538824db 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -11371,7 +11371,18 @@ fixed this problem: @item @file{windmove.el} by Hovav Shacham @cindex @file{windmove.el} This package also uses the @kbd{S-} keys, so everything written -in the paragraph above about CUA mode also applies here. +in the paragraph above about CUA mode also applies here. If you want make +the windmove function active in locations where Org-mode does not have +special functionality on @kbd{S-@key{cursor}}, add this to your +configuration: + +@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) +@end lisp @item @file{viper.el} by Michael Kifer @cindex @file{viper.el} -- 2.11.4.GIT