summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2016-09-26 17:11:17 +0200
committerAlan Pearce2016-09-26 17:11:17 +0200
commitfe5a7815a298734860c375452d747cc7644f492b (patch)
tree599b1f1f42a2213160033bf988951261691df033 /tag-emacs
parent475b71a0822d9b6b4dac646949851d3ee49e6887 (diff)
downloaddotfiles-fe5a7815a298734860c375452d747cc7644f492b.tar.lz
dotfiles-fe5a7815a298734860c375452d747cc7644f492b.tar.zst
dotfiles-fe5a7815a298734860c375452d747cc7644f492b.zip
Emacs: Add smartscan-mode
Go to next/previous instance of symbol at point with M-n and M-p.  M-'
to replace all instances of symbol
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org10
1 files changed, 10 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 2b087ee..54e049e 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -2247,6 +2247,16 @@ nice as the real version
 			  (add-hook 'coffee-mode-hook #'turn-off-smartparens-mode)))
 #+END_SRC
 
+** smart-scan
+
+Move between instances of a symbol
+
+#+BEGIN_SRC emacs-lisp
+  (use-package smartscan
+	:config (progn
+			  (smartscan-mode 1)))
+#+END_SRC
+
 ** move-text
 
 Transposing lines, made easier.