3 ms·
To save a google search, here's an emacs customization to leave cursor at the start of the match. From http://endlessparentheses.com/leave-the-cursor-at-start-
by dontJudge 10y ago
To save a google search, here's an emacs customization to leave cursor at the start of the match.
From http://endlessparentheses.com/leave-the-cursor-at-start-of-match-after-isearch.html http://endlessparentheses.com/leave-the-cursor-at-start-of-m...
(add-hook 'isearch-mode-end-hook
#'endless/goto-match-beginning)
(defun endless/goto-match-beginning ()
"Go to the start of current isearch match.
Use in `isearch-mode-end-hook'."
(when (and isearch-forward
(number-or-marker-p isearch-other-end)
(not mark-active)
(not isearch-mode-end-hook-quit))
(goto-char isearch-other-end)))
- dontJudge 10y ago>> Is there a native macOS text editor that supports emacs-like... Nothing more "emacs-like" than emacs. Turn on CUA mode if common key binds is what you're after.