Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
is the incremental search facility that highlights matching text as characters are typed. isearch-forward and isearch-backward support searching characters, strings, and regexp.
0
votes
Make isearch commands search only at the beginning of words
Here's what I use to do this
;; Use isearch-forward-word by default (treats a space as any whitespace or punctuation)
(global-set-key (kbd "C-s") 'isearch-forward-word)
;; This is the same as isearch-forward-word … source of isearch-forward-word and changed the first argument of isearch-mode to nil to do reverse isearch. …
12
votes
1
answer
722
views
Delete portion of Isearch string that does not match, or last char if complete match
I have the following
(defun isearch-del-fail-or-char ()
"Delete failed isearch text, or if there is none, a single character." … (interactive)
(if (isearch-fail-pos)
(delete-region (isearch-fail-pos) (point))
(isearch-del-char)))
(define-key isearch-mode-map (kbd "DEL") 'isearch-del-fail-or-char)
The purpose of the …