On Mon, Dec 20, 2010 at 1:21 PM, Leo Alekseyev <dnqu...@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. _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode