Add attribution to isearch C-RET
This commit is contained in:
parent
31f34697e3
commit
56b86979af
3
init.el
3
init.el
@ -637,6 +637,9 @@
|
|||||||
(define-key isearch-mode-map (kbd "<C-return>")
|
(define-key isearch-mode-map (kbd "<C-return>")
|
||||||
#'isearch-exit-other-end)
|
#'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 ()
|
(defun isearch-exit-other-end ()
|
||||||
"Exit isearch, at the opposite end of the string"
|
"Exit isearch, at the opposite end of the string"
|
||||||
(interactive)
|
(interactive)
|
||||||
|
Loading…
Reference in New Issue
Block a user