Skip to content

Plugin for Micro editor to search for the word under cursor

Notifications You must be signed in to change notification settings

dmaluka/micro-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Search plugin for Micro text editor

The search plugin provides easy searching for the word under cursor or the selected text, with just one keystroke. Also it provides easy searching for the word upon a mouse click on this word (this latter feature is inspired by the Acme editor).

  • Pressing Alt-s will search for the next occurrence of the word under the cursor. If there is a text selection, it will search for the selected text instead.

  • Clicking the right mouse button on a word will search for the next occurrence of that word. If there is no word under the mouse click, it will unhighlight the current search.

You can easily bind these actions to some others keys instead of the default Alt-s and MouseRight if you like, by modifying the corresponding default bindings in your bindings.json file, e.g.:

{
    "Alt-g": "lua:search.searchWord",
    "Alt-MouseLeft": "lua:search.searchClick"
}

About

Plugin for Micro editor to search for the word under cursor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages