Skip to content

Krusty84/obsidian-occura-plugin

Repository files navigation

Occura Plugin: highlighting word occurrences

Why another plugin?

I couldn't find the usual functionality that I used in Notepad++ or different IDEs, where double-clicking on a word immediately showed me how often it appears in the open document.

Features

Release 1.3.0:

Automatic highlighting of keywords (It works only in Source or Live preview mode!)

New settings has been added image

New command has been added

image

Release 1.2.0:

Convert found occurrences to tags (It works only in Source or Live preview mode!)

New command has been added

image

Release 1.1.0:

Permanent Highlighting for found occurrences (It works only in Source or Live preview mode!)

New command has been added:

  1. Set permanently highlight for occurrences
  2. Remove permanently highlight for occurrences

image

When Occura has highlighted the available occurrences, call the command: Set permanently highlight for occurrences and then the occurrences will be highlighted by the regular for Obsidian.md by color

image

And call the: Remove permanently highlight for occurrences command to remove the previously set highlight

Release 1.0.0:

Basic functionality

  • You simply double-click on a word and see the other occurrences of the word (or the selected part of it) highlighted.

    изображение

  • In the settings, you can specify the highlight color, hotkeys for quickly enabling/disabling the plugin, and the display of the number of matches found in the Status bar.

    изображение

Installing the plugin

  • Open Obsidian settings
  • Go to Community Plugins
  • Select Browse and search for Occura Plugin
  • Install the plugin
  • Look through "Installed plugins" and enable Occura Plugin (toggle)

Manually installing the plugin

  • Copy over main.js and manifest.json to your vault /path/to/your/vault/.obsidian/plugins/obsidian-occura-plugin/.
  • Enable plugins in Obsidian settings
  • Enable Occura Plugin in the Community Plugins tab

License

MIT

Author

Alexey Sedoykin