

USER WORK POINTS VISIBILITY / Makes work points visible. Architecture, Engineering and Construction.Architecture, Engineering & Construction.Regions at the beginning/end of symbols are anchored to the beg/end of symbolsĬombining this with expand-region turns out to be pretty awesome.Regions within symbols (inclusive) are constrained to be within symbols.

(add-hook 'isearch-mode-hook #'isearch-region-dwim-helper) Isearch-message (mapconcat #'isearch-text-char-description Isearch-string (if (and (car symbol-bounds) limit it to the contents of symbols in the current buffer If region is a subregion of the current symbol, then Assume that multi-line regions should be extended, (symbol-bounds (bounds-of-thing-at-point 'symbol)))

(search-text (buffer-substring-no-properties beg end)) Here's some code to make isearch smarter about regions. (Highlights other occurrences when cursor has been idle for a time.) Though I don't know if it handles substrings. I've not used it, but it does advertise as doing what you describe. There are some fancy options, but I've not found the readme very clear about those. Here's the bonus: start typing, and all occurrences are changed, not just the one where the cursor is.

Hit the shortcut, and all matching occurrences are highlighted. I don't use it often, but always enjoy it when I do. Easy to go back M-g pand forward M-g n, or jump to another occurrence. May be the best option if you want to see and traverse through a list of all occurrences in a buffer. Provides a persistent record of all matches for any regexp. Has plenty of time-saving commands, which I only found out after years of using it, when I bothered to read the manual. You're still only seeing matches that currently fit on the screen, however. Once you've found another occurrence, is quicker than swiper to find next (or prior) occurrence. Still the most flexible search tool, and built-in to boot. It's quick and very good at giving you a overview of the word across the entire document, but is transient: once you use it to traverse to another occurrence, you have to engage swiper again to traverse elsewhere. There are a few other highlighting commands, type M-s h C-h for a list.įor what it's worth, here is how I search for occurrences of a word.įor a quick overview, use swiper. M-s h uĪllows you to select which word to un-highlight. Repeat this multiple times, each is assigned a unique color. Note that this matches the entire word, not substrings. With point on the word in question, type M-s h.
