summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs/emacs.d')
-rw-r--r--tag-emacs/emacs.d/init.org20
1 files changed, 0 insertions, 20 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index ccf726a..aa4cb29 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -2142,26 +2142,6 @@ a mode for that.
   (delete-selection-mode t)
 #+END_SRC
 
-Isearch has a keybind for searching for the currently-selected word.
- I often want to use a symbol though, so this comes in handy.  [[http://blog.jorgenschaefer.de/2012/11/emacs-search-for-symbol-at-point.html][Source]]
-
-#+BEGIN_SRC emacs-lisp
-(defun fc/isearch-yank-symbol ()
-  "Yank the symbol at point into the isearch minibuffer.
-
-C-w does something similar in isearch, but it only looks for
-the rest of the word. I want to look for the whole string. And
-symbol, not word, as I need this for programming the most."
-  (interactive)
-  (isearch-yank-string
-   (save-excursion
-     (when (and (not isearch-forward)
-                isearch-other-end)
-       (goto-char isearch-other-end))
-     (thing-at-point 'symbol))))
-(bind-key "C-d" #'fc/isearch-yank-symbol isearch-mode-map)
-#+END_SRC
-
 Sub-word movement is really nice for camel- and Pascal-case
 
 #+BEGIN_SRC emacs-lisp