summaryrefslogtreecommitdiffstats
path: root/emacs/init.org
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-05-31 17:51:23 +0200
committerGravatar Tom Willemse2013-05-31 17:51:23 +0200
commit607cc269c57e332f60a72605f7b97fe7b7b4e1d9 (patch)
tree7a3f2a50cb288b1fb6d5600944693e8e47ba2690 /emacs/init.org
parent8921d40bf6e5c331fdbb406f45c3d48738f3f752 (diff)
downloaddotfiles-607cc269c57e332f60a72605f7b97fe7b7b4e1d9.tar.gz
dotfiles-607cc269c57e332f60a72605f7b97fe7b7b4e1d9.zip
Improve navigation in org-mode
Diffstat (limited to 'emacs/init.org')
-rw-r--r--emacs/init.org12
1 files changed, 12 insertions, 0 deletions
diff --git a/emacs/init.org b/emacs/init.org
index 9d5ccf7..4e1199e 100644
--- a/emacs/init.org
+++ b/emacs/init.org
@@ -1429,6 +1429,18 @@
(global-set-key (kbd "C-c d s") 'desktop-save)
#+END_SRC
+* Improve eol and bol navigation in org-mode :org:navigation:
+
+ Setting this variable to =t= will cause =C-a= to move to the beginning
+ of the headline or list item text the first time, and the actual
+ beginning of the line with another =C-a= and it will cause =C-e= to
+ move to the end of the text of the headline and another to the end
+ of any possible tags.
+
+ #+BEGIN_SRC emacs-lisp
+ (setq org-special-ctrl-a/e t)
+ #+END_SRC
+
* All the rest
This still needs to be sorted out and documented, haven't had time