jnpn, 2 months ago #emacs users, do you guys think search-forward should place the caret at the end of a match or at the beginning ? most of the time when I search for "def", it's to manipulate that term, not to insert after
#emacs users, do you guys think search-forward should place the caret at the end of a match or at the beginning ?
most of the time when I search for "def", it's to manipulate that term, not to insert after
louis, 2 months ago @jnpn You could try this: (define-key isearch-mode-map [(control return)] #'isearch-exit-other-end) (defun isearch-exit-other-end () "Exit isearch, at the opposite end of the string." (interactive) (isearch-exit) (goto-char isearch-other-end))
@jnpn You could try this:
(define-key isearch-mode-map [(control return)] #'isearch-exit-other-end) (defun isearch-exit-other-end () "Exit isearch, at the opposite end of the string." (interactive) (isearch-exit) (goto-char isearch-other-end))
louis, 2 months ago @jnpn Usually the term is marked. Do you habe (delete-selection-mode 1) enabled?
@jnpn Usually the term is marked. Do you habe (delete-selection-mode 1) enabled?
Add comment