From: Mark Wooding Date: Fri, 9 May 2008 21:19:48 +0000 (+0100) Subject: emacs: Add support for the org-mode. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/133cf81dabe349af05c3d2efc44910a3685e4209?ds=sidebyside;hp=8fd1960cef360c37685f5a1661a69b3daaeddaf9 emacs: Add support for the org-mode. org-mode is very impressive; but it'll need some key rebinding before I can cope with it; in particular, its rebinding of S- and (particularly) M- is just not on! --- diff --git a/emacs b/emacs index 871f969..7185504 100644 --- a/emacs +++ b/emacs @@ -332,6 +332,8 @@ (global-set-key [?\C-x ?w ?j] 'windmove-down) (global-set-key [?\C-x ?w right] 'windmove-right) (global-set-key [?\C-x ?w ?l] 'windmove-right) +(global-set-key [?\C-x ?g ?l] 'org-store-link) +(global-set-key [?\C-x ?g ?a] 'org-agenda) (global-set-key [?\M-#] 'calc-dispatch) (global-set-key [?\C-x ?/] 'auto-fill-mode) (global-set-key [?\C-x ?w ?d] 'mdw-divvy-window) @@ -357,6 +359,7 @@ ("\\.m$" . objc-mode) ("\\.mxd$" . c-mode) ("\\.cs" . csharp-mode) + ("\\.org$" . org-mode) ;; ("/[ch]/" . c-mode) (,(concat "/\\(" "\\.stgit\\.msg" "\\|"