find-selection

Find occurance of selected text without using find dialog

mark-hahn

8,413

52

0.16.0

MIT

GitHub

find-selection package for Atom Editor

Find the next or previous occurrence of the currently selected text with one keystroke. There is no need to bring up the find/replace dialog.

The default key to find the next occurrence is Ctrl-F3 (find-selection:find-next) and to find the previous occurrence is Ctrl-Shift-F3 (find-selection:find-previous).
For case-sensitive searches, Key-binding to find the next occurrence is Ctrl-F4 (find-selection:find-next-casesensitive) and to find the previous occurrence is Ctrl-Shift-F4 (find-selection:find-previous-casesensitive).

If there is no next occurrence of the selected text then nothing will happen.

If nothing is selected then the last selection used, if any, is used again.

These search functions work whether the find/replace dialog is open or not. The find-dialog is not affected.

The functions are also available in the packages menu and in the editor context menu.


To-Do: