Add attribution to isearch C-RET

This commit is contained in:
Gergely Polonkai 2016-10-20 14:17:30 +02:00
parent 31f34697e3
commit 56b86979af
1 changed files with 3 additions and 0 deletions

View File

@ -637,6 +637,9 @@
(define-key isearch-mode-map (kbd "<C-return>")
#'isearch-exit-other-end)
;; Kudos goes to
;; http://endlessparentheses.com/leave-the-cursor-at-start-of-match-after-isearch.html
(defun isearch-exit-other-end ()
"Exit isearch, at the opposite end of the string"
(interactive)