• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

find-selection

Find occurance of selected text without using find dialog
mark-hahn
0.16.0 7,994
52
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

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:

  • Add tests.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by