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.6.0

New features has been added:

  1. Dynamic occurrences highlighting, words classes highlighting now works in Reading View too, not only in Source or Live Preview mode
image

2. Added navigation between occurrences with new commands and configurable hotkeys: - Go to next occurrence - Go to previous occurrence image

image

3. Added support for highlighting repeated phrases with spaces, not only single words image

image

4. Added a context menu action to quickly add the selected word into an existing word class image

image

Release 1.5.1

No new features. Various minor issues with Obsidian's expansion quality rating system have been resolved, I hope. I'm preparing for more functionality, so stay tuned for updates.

Release 1.5.0

New features has been added:

  1. You can create classes of words with individual colors, for example terms from different domains, parasite words, etc
image

Release 1.4.1:

The issues with selecting special chartes like $ # % @ has beein fixed, thanks dear Logovaz26

Release 1.4.0:

New features has been added:

  1. Added case insensitivity mode for dynamic word selection

  2. Keywords can be uploaded/downloaded to/from a plain text file with a comma separator between words

  3. Added a reset button to default settings

image

Release 1.3.2:

Some bugs have been fixed, thanks dear BlackUdon

Release 1.3.1:

Some bugs have been fixed, thanks dear BlackUdon

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

Packages

 
 
 

Contributors