summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-05-11 11:58:45 +0200
committerAlan Pearce2017-05-11 11:58:45 +0200
commitd072b85a000e9f81ff6685fb39422825ceb218c8 (patch)
tree406f60a068ee9fbb868eb189a64637b7b8da162f /emacs
parent3559998106d1fddaf20022509a003f3721026253 (diff)
downloadnixfiles-d072b85a000e9f81ff6685fb39422825ceb218c8.tar.lz
nixfiles-d072b85a000e9f81ff6685fb39422825ceb218c8.tar.zst
nixfiles-d072b85a000e9f81ff6685fb39422825ceb218c8.zip
Emacs: Setup beginend mode
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org11
1 files changed, 11 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index afa594e9..d9a9ab04 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -2449,6 +2449,17 @@ and doesn’t go back to the same place more than once.
   :bind ("C-c C-SPC" . goto-last-change))
 #+END_SRC
 
+** beginend
+
+In special buffers, I would rather have =M->= and =M-<= goto the
+logical beginning/end rather than the physical ones.
+
+#+BEGIN_SRC emacs-lisp
+(use-package beginend
+  :config (progn
+            (beginend-setup-all)))
+#+END_SRC
+
 ** multiple-cursors
 
 I mentioned before that I’d used Sublime Text before.  Multiple