Adapted from findWordAtCursor by M.K. Safi (@msafi).
Make search a little bit easier.
No selection
With selection
Find next
can loop back to the first line when reaching the end of the file- Be consistent with Ctrl + D
- No selection →
wholeWords: true; caseSensitive: true
- Has selection →
wholeWords: false; caseSensitive: false
- No selection →
- Default key binding
- F3 / Shift + F3 (find next/previous word at cursor)