This package allows you to call search functions on words under the cursor.
This package utilizes the pre-existing find-and-replace package included with Atom.
- find-and-replace:search-under-cursor - Search current file for word under cursor
- project-find:search-under-cursor - Search project for word under cursor
This package does not create any default key mapping to reduce conflicts with other packages. It is simple to add a binding to call the functions this package contains, simply add something like the following to your keymap:
'atom-text-editor':
'f4': 'project-find:search-under-cursor'
'f5': 'find-and-replace:search-under-cursor'
For more information regarding keymaps visit Atoms keymap documentation.