Text Finder

by hafuhafu
5
4
3
2
1
Score: 40/100

Description

Category: Note Enhancements

The Obsidian Text Finder plugin is a handy tool for those who want to enhance their search-and-replace capabilities within Obsidian. It brings a feature-rich search and replace window, similar to what users are accustomed to in VSCode, but directly within the Obsidian editor mode. Users can search and replace text in their current Markdown file, with options for case sensitivity and regular expressions, adding flexibility for complex search needs. Additionally, the plugin highlights all matches and shows a count, making it easy to review search results at a glance. Customizable CSS options also allow for personalization, from styling match highlights to adjusting the search window's position. This plugin is ideal for users seeking a powerful, customizable text-finding experience within Obsidian.

Reviews

No reviews yet.

Stats

49
stars
7,614
downloads
2
forks
569
days
134
days
195
days
2
total PRs
1
open PRs
0
closed PRs
1
merged PRs
14
total issues
8
open issues
6
closed issues
100
commits

Latest Version

6 months ago

Changelog

Add features related to search history.

  1. Records search keywords when the Enter key or match button is pressed.
  2. Use the up and down arrow keys to switch between history entries.
  3. Added a command to display and manage history.
  4. Added history-related settings to the plugin settings.

增加了搜索历史记录相关功能。

  1. 记录按下回车或匹配按钮时的搜索关键字
  2. 通过方向键上或方向键下可以切换历史记录
  3. 增加了一个命令用于显示管理历史记录
  4. 插件设置中增加历史记录的相关设置

README file from

Github

Obsidian Text Finder

English
中文说明

This plugin for Obsidian(https://obsidian.md).
Provides a search/replace window similar to VSCode in editing mode.

Note: The Obsidian API is still in early alpha and is subject to change at any time!

Feature

Search or replace the text of the current MarkDown file in editor mode.

  • Search/Replace in current file
  • Highlight matching text
  • Show number of matches
  • Supports regular expressions
  • Supports case sensitivity
  • Input history

To Do

  • Search/Replace in Selection

ScreenShot

Text Finder

How to use

Install

Community plugins

  • Search for "text finder" in the community plugins and install it.
  • Enable plugin in Obsidian setting.

BRAT

  • Install the BRAT Plugin
  • Execute command Obsidian42 - BRAT: Add a beta plugin for testing
  • Paste the URL of this repository and confirm
  • Enable plugin in Obsidian setting.

Source Code

  • Clone this repo.
  • npm i or yarn to install dependencies
  • npm run build to build file in ./dist.
  • Copy over main.js, styles.css, manifest.json to your vault VaultFolder/.obsidian/plugins/text-finder/.
  • Enable plugin in Obsidian setting.

Releases

  • Download main.js, styles.css, manifest.json in the latest release
  • Copy over main.js, styles.css, manifest.json to your vault VaultFolder/.obsidian/plugins/text-finder/.
  • Enable plugin in Obsidian setting.

Settings

  • Assign a hotkeys for the plugin's command.

Customize Style

Use CSS snippets or Style Settings Plugin to customize styles.

Example Style Settings configuration file.

Here are some CSS snippets examples.

Match Highlight and Current Item

.nya-text-finder-match {
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgb(60, 115, 75);
	background-color: inherit;
	color: inherit;
}

.nya-text-finder-match-current {
	box-shadow: 0 0 0 1px rgb(187, 187, 187);
	background-color: rgba(255, 170, 0, 0.8);
	color: black;
}

Change Position

Top Left

.nya-finder {
	right: unset !important;
	left: 376px;
}

Bottom Right

.nya-finder {
	top: unset !important;
	bottom: 72px;
}

Bottom Left

.nya-finder {
	top: unset !important;
	right: unset !important;
	left: 376px;
	bottom: 72px;
}

Change the border color when focused

body {
	--nya-focus-border-color: #39c5bb;
}

Change the color of the collapse button

.nya-toggle {
	border-left: 3px solid red !important;
}

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Omnisearch
4 years ago by Simon Cambier
A search engine that "just works" for Obsidian. Supports OCR and PDF indexing.
Tag Wrangler
5 years ago by PJ Eby
Rename, merge, toggle, and search tags from the Obsidian tag pane
Text Generator
4 years ago by Noureddine Haouari
Text Generator is a versatile plugin for Obsidian that allows you to generate text content using various AI providers, including OpenAI, Anthropic, Google and local models.
Text Extractor
3 years ago by Simon Cambier
A (companion) plugin to facilitate the extraction of text from images (OCR) and PDFs.
Quiet Outline
4 years ago by the_tree
Improving experience of outline in Obsidian
Colored Text
3 years ago by Erinc Ayaz
Book Search
4 years ago by anpigon
Obsidian plugin that automatically creates notes by searching for books
Text Format
5 years ago by Benature
Format seleted text in Obsdidian.md
Settings Search
4 years ago by Jeremy Valentine
Adds a search bar to Obsidian.md's settings
Colored Tags
3 years ago by Pavel Frankov
Colorizes tags in different colors.
Another Quick Switcher
5 years ago by tadashi-aikawa
This is an Obsidian plugin which is another choice of Quick switcher.
Simple CanvaSearch
3 years ago by ddalexb
Global Search and Replace
3 years ago by Mahmoud Fawzy Khalil
A plugin to do a global search and replace in all your Obsidian vault files.
Khoj
3 years ago by Debanjum Singh Solanky
Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI (gpt, claude, gemini, llama, qwen, mistral). Get started - free.
Floating Search
3 years ago by Boninall
A plugin for searching text by using Obsidian default search view.
Text Snippets
5 years ago by Ariana Khitrova
Snippets plugin for obsidian
Version History Diff (Sync, File Recovery & Git)
4 years ago by kometenstaub
Get a diff view of your Obsidian Sync, File Recovery and Git version history
Text Transporter
5 years ago by TfTHacker
Text Transporter - advanced text management for Obsidian.
Text expand
6 years ago by MrJackphil
A simple text expand plugin for Obsidian.md
Core Search Assistant
4 years ago by qawatake
An Obsidian plugin to enhance built-in search: keyboard interface, card preview, bigger preview
Vantage - Advanced search builder
5 years ago by ryanjamurphy
Vantage helps you build complex queries using Obsidian's native search tools.
Fuzzy Chinese Pinyin
3 years ago by lazyloong
Unicode Search
3 years ago by BambusControl
Simple Unicode character search for Obsidian.md
Find and replace in selection
5 years ago by Dmitry Savosh
Obsidian plugin. Find and replace in selection.
Emoji Magic
3 years ago by simplgy
Makes it easier to add emojis using an improved keyword search
Translator
4 years ago by Haifeng Lu
A plugin for Obsidian to translate selected text.
NetClip
a year ago by Elhary
this plugin is for Obsidian that allows you to browse the web and clip webpages directly into your vault.
Regex Mark
2 years ago by Mara-Li
Card View Switcher
4 years ago by qawatake
An Obsidian plugin to provide a quick switcher with card view
Search In Canvas
2 years ago by Boninall
Contacts
3 years ago by vbeskrovnov
With this plugin, you can easily organize and manage your contacts within Obsidian. Simply create a note with contact information and use the plugin's features to quickly search, and sort through your contacts. Contacts plugin also helps you to remember birthdays of your contacts and keeps track of the last time you met them.
Remove Newlines
2 years ago by Elias Jaffe
A plugin for Obsidian.md which removes newlines and blank lines from selected or pasted text.
Search Everywhere
4 years ago by Mom0
Obsidian Search Everywhere Plugin
Media Companion
a year ago by Nick de Bruin
Semantic Search
3 years ago by bbawj
Semantic search for Obsidian.md
Toggle Case
3 years ago by automattech
Obsidian plugin to toggle between `lowercase` `UPPERCASE` and `Title Case`
Jelly Snippets
3 years ago by Spencer Gouw
A simple text snippets plugin for Obsidian.md. BACKUP SNIPPETS BEFORE UPDATING.
Power Search
4 years ago by Aviral Batra
Copy Search URL
4 years ago by Carlo Zottmann
A plugin for Obsidian (https://obsidian.md) that adds a menu entry to its search view for copying the Obsidian search URL.
Lemons Search
2 years ago by Moritz Jung
An Obsidian plugin that offers a fast fuzzy finder based quick switcher with preview.
Relative Find
5 years ago by phibr0
External Link Helper
3 years ago by Jhonghee Park
Obsidian plugin for link suggestion
Text Transform
3 years ago by ipshing
Text Dataset Aid Plugin
3 years ago by Conner Ohnesorge
This is a obsidian plugin to help with the creation of personal jsonl datasets for text generation models.
Search Templates Library
3 years ago by Pentchaff
Obsidian plugin that allows to store searches templates for later use, and displays search results both in the search view and graph view.
Text Conversions
3 years ago by Juan D Frias
Text conversions for Obsidian
Colorizelt
2 years ago by Artsem Holub (WiNE-iNEFF)
Easy color and clear selected text
Image Picker
a year ago by ari.the.elk
Tree Search
2 years ago by catacgc
Clipper Catalog
a year ago by Greg K.
A catalog view that provides a powerful interface for all your clipped web articles and content. Easily organize, search, and manage your web clippings within your vault.
Giphy
2 years ago by LuCrypto
Dynamic Text Concealer
2 years ago by Matt Cole Anderson
Obsidian.md Plugin to conceal or replace user configured text patterns in Live Preview and Read Mode.
Blockreffer
2 years ago by tyler.earth
An Obsidian plugin to search and embed blocks with ^block-references (aka ^block-ids)
Textgrams
2 years ago by Akop Kesheshyan
Create and store ASCII graphics in your Obsidian
EasyLink
10 months ago by isitwho
Select text in your obsidian editor to find the most similar content from other notes and easily create links.
Text Focus
2 years ago by usysrc
Focus the text area when opening a new note.
Note Codes
9 months ago by Ezhik
Reference your Obsidian notes from anywhere with simple 4-character codes.
TG Emoji Search
a year ago by MarsBatya
CmdSearch
a year ago by SpaceshipCaptain
Snippetsaurus
2 years ago by Christian Humbert
Clipboard Manager
10 months ago by Ayush Raj
The clipboard obsidian plugin
Arcane Obfuscate
2 years ago by Shusako
Obfuscate text in Obsidian.md with an arcane runic effect.
Segerlab
2 months ago by Semyon Kononchuk
Renders calculator views within notes from JSON data copied from the Segerlab app.