• Stars
    star
    147
  • Rank 251,347 (Top 5 %)
  • Language
    TypeScript
  • License
    GNU General Publi...
  • Created over 1 year ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A plugin for searching text by using Obsidian default search view.

Obsidian Float Search

You can use search view in modal now.

float-search.png

  • Set hotkey for open float search quickly.

使用说明 | Usage

  1. Three main commands:
    • Search Obsidian Globally: Searches all global content, and the characters entered will be cleared automatically after each search;
    • Search Obsidian Globally (With Last State): Searches all global content, and the characters entered will be cleared 30 seconds after each search;
    • Search In Current File: Searches the content of the current file;
  2. When the cursor is focused on the search input box:
    • Use the up and down arrow keys to switch between search results;
    • When a search result is selected, hold the Shift key and press the up or down arrow keys to expand the results upwards or downwards; when focused on a file name, you can collapse the search results under the current file name;
    • When a search result is selected,
      • Press Enter to open the file in the background;
      • Press Ctrl+Enter to open a new page in the background and open the file;
      • Press Alt+Enter to open the file and close the popup;
      • Press Ctrl+Shift+Alt+Enter to open the file in a new window and close the popup;
    • When a search result is selected, press Tab to preview the corresponding file in the current popup's right side, and Shift+Tab to close the preview;
    • When a search result is focused, press Ctrl+Shift+C to copy the selected search result content;
    • When a file is being previewed, press Ctrl+E to toggle the file's reading mode;
    • When a file is being previewed, press Ctrl+G to jump from the input box to the content of the previewed file, or from the previewed file content back to the input box;
    • When a file is being previewed, press Tab twice to jump into the content of the previewed file, or use Ctrl+Tab to switch back to the input box from the previewed file.
  3. Mouse click behavior:
    • When a file is being previewed:
      • Clicking a new search result with the mouse will not automatically close the popup, but instead switch the file in the preview window;
      • Use Alt+mouse click to open the file and close the popup;
    • When no file is being previewed:
      • Clicking a search result with the mouse will automatically close the popup and navigate to the file, and other behavior is the same as Obsidian's default behavior;
  4. The right-click context menu can quickly search the selected text;
  5. There is a default obsidian://fs?query=xxxxxx URI command, which you can use to invoke Float search from external sources;
  6. When you click to navigate within the previewed file page, the current previewed file page will be automatically replaced.

  1. 三个主要命令
    • Search Obsidian Globally:用于搜索全局的所有内容,每次搜索后的字符都会自动清空;
    • Search Obsidian Globally (With Last State):用于搜索全局的所有内容,每次搜索后的字符都会在三十秒后清空;
    • Search In Current File:用于搜索当前文件的内容;
  2. 当光标聚焦在搜索输入框的时候
    • 按上下方向键来切换选择结果;
    • 当有一个搜索结果被选择时,按住 Shift 键再按上下方向键来向上展开或者向下展开结果;当聚焦在文件名上的时候,可以折叠当前文件名下的搜索结果;
    • 当有一个搜索结果被选择时,
      • 按 Enter 来在背景中打开文件;
      • 按 Ctrl+Enter 则是在背景中打开新页面且打开文件;
      • 按 Alt+Enter 则是打开该文件且关闭弹窗;
      • 按 Ctrl+Shift+Alt+Enter 则是用新窗口打开该文件,且关闭弹窗;
    • 当有一个搜索结果被选择时,按 Tab 来在当前弹窗的右侧预览对应的文件,Shift+Tab 则是关闭预览;
    • 当有一个搜索结果被聚焦时,按 Ctrl+Shift+C 来复制选中的搜索结果内容;
    • 当有一个文件正在被预览时,按 Ctrl+E 来切换文件的阅读模式;
    • 当有一个文件正在被预览时,按 Ctrl+G 来从输入框跳转到预览文件的内容中,或从预览文件内容中跳转回输入框;
    • 当有一个文件正在被预览时,按两次 Tab 来跳转到预览文件的内容中,或用 Ctrl+Tab 从预览文件中跳转回输入框;
  3. 鼠标点击的行为
    • 当存在文件在预览中时:
      • 用鼠标点击新的搜索结果不会再自动关闭弹窗,而是在切换预览文件窗口的文件;
      • 用 Alt+鼠标来打开文件且关闭弹窗;
    • 当不存在文件在预览中时:
      • 用鼠标点击搜索结果自动关闭弹窗且跳转文件夹,其它与 Obsidian 的默认行为一样;
  4. 右键菜单可以快速搜索选中的文本
  5. 有一个默认的 obsidian://fs?query=xxxxxx 的 URI 命令,你可以用这个命令来从外部唤起 Float search
  6. 当你在预览文件页面中点击跳转时,会自动覆盖当前的预览文件页面

Support

If you are enjoying this plugin then please support my work and enthusiasm by buying me a coffee on https://www.buymeacoffee.com/boninall.

More Repositories

1

golang-developer-roadmap-cn

在 2019 成为一名 Go 开发者的路线图。为学习 Go 的人而准备。
4,283
star
2

Obsidian-Thino

A quick capture plugin for Obsidian, all data from your notes.
JavaScript
970
star
3

Obsidian-Canvas-MindMap

A plugin to make your canvas work like a mindmap.
TypeScript
258
star
4

MLkit-CN

ML Kit 中文文档
207
star
5

Obsidian-Daily-Notes-Editor

A plugin for you to edit a bunch of daily notes in one page(inline), which works similar to Roam Research's default daily note view.
TypeScript
178
star
6

Obsidian-Surfing

An Obsidian plugin that lets you browse the web within Obsidian.
TypeScript
151
star
7

Outliner.MD

148
star
8

Obsidian-Better-Reading-Mode

A bionic reading plugin for Live preview mode in Obsidian
TypeScript
122
star
9

Obsidian-Table-Generator

A plugin for generate markdown table quickly like Typora.
TypeScript
109
star
10

Obsidian-Task-Progress-Bar

A progress bar plugin for tasks in Obsidian.
TypeScript
107
star
11

Obsidian-Big-Calendar

Big Calendar in Obsidian, for manage your events in a day/week/month and see agenda too!
JavaScript
99
star
12

Obsidian-Canvas-Presentation

A plugin to help you display cards based on sequence.
TypeScript
76
star
13

SMDoc-CN

SuperMemo 文档中文版
74
star
14

MLNET-CN

ML.NET 中文文档
58
star
15

Obsidian-Link-Nodes-In-Canvas

A plugin for you to add edges between notes in Canvas based on there links.
TypeScript
56
star
16

Obsidian-Templify

A releases repo for custom editable template in Obsidian.
JavaScript
52
star
17

Obsidian-Card-Library

CSS
44
star
18

Obsidian-Collapse-Node

A node collapsing plugin for Canvas in Obsidian.
TypeScript
43
star
19

Obsidian-File-Property-Enhancer

TypeScript
34
star
20

Obsidian-New-Bullet-With-Time

A plugin allows you to auto add current time to new bullet line.
TypeScript
31
star
21

Obsidian-Virtual-Hotkey-Keyboard

A plugin for showing hotkeys based on a keyboard layout in Obsidian
TypeScript
30
star
22

obsidian-sakana-widget

Add the Sakana! Widget to your own Obsidian
TypeScript
26
star
23

Obsidian-Double-Click-Tab

A plugin to modify the default behavior when you double click on the tab title, like close tab.
TypeScript
24
star
24

Obsidian-PDF-Annotator

TypeScript
23
star
25

Obsidian-Canvas-Block-Reference

A plugin allows you to refer card or group in canvas, and then click to jump.
TypeScript
22
star
26

Obsidian-Svelte-Starter

A plugin development template for devs who want to use svelte in Obsidian.
TypeScript
22
star
27

Obsidian-Legacy-Vault-Switcher

TypeScript
20
star
28

Obsidian-Surfing-Key

TypeScript
17
star
29

Obsidian-Note-Minimap

TypeScript
16
star
30

Obsidian-Expand-Bullet

A plugin for transforming your bullet into note.
TypeScript
15
star
31

Obsidian-Map-For-Note

A Map For Note
TypeScript
15
star
32

Obsidian-Fold-Anywhere

TypeScript
14
star
33

Obsidian-Table-Toolset

TypeScript
14
star
34

Obsidian-Task-Changer

Change task status by one click.
TypeScript
14
star
35

Obsidian-Node-Auto-Resize

TypeScript
12
star
36

Obsidian-Mini-Toolbar

mini context toolbar in editor for Obsidian
TypeScript
12
star
37

Memos-Extension

A Google Chrome plugin for Obsidian Memos
TypeScript
11
star
38

Obsidian-Backlink-For-Canvas

TypeScript
10
star
39

Obsidian-Tab-Switcher

A plugin allows you search currently opened tabs in Obsidian.
TypeScript
9
star
40

Obsidian-Highlight-In-Preview

TypeScript
9
star
41

Inline-flash-card

TypeScript
8
star
42

Obsidian-Search-In-Canvas

TypeScript
7
star
43

AIreports

国内外人工智能相关报告—— AI reports at home and abroad
6
star
44

Obsidian-TreeLike-Writer

A plugin for you to write stuff like Gingko in Obsidian.
TypeScript
6
star
45

Obsidian-Better-Order-List

TypeScript
6
star
46

Obsidian-Editor-Suggester

TypeScript
5
star
47

Obsidian-Canvas-Copy-Selection

A plugin for you to handle copy selection text or combine selection text into note.
JavaScript
4
star
48

Obsidian-Swap-Suggester-Hotkey

TypeScript
4
star
49

Obsidian-Inline-Pomodoro-Timer

A tomato timer for Obsidian, works inline
TypeScript
4
star
50

Obsidian-Block-Reference

4
star
51

Thino-Capture-Releases

JavaScript
4
star
52

Obsidian-Note-Creator

TypeScript
4
star
53

Obsidian-Format-Brush

A plugin for Obsidian that supports format brush
TypeScript
3
star
54

Omnivore-to-MD

TypeScript
3
star
55

Obsidian-Canvas-Node-Resize

TypeScript
3
star
56

Obsidian-Timeline

A timeline plugin for Obsidian
TypeScript
2
star
57

Obsidian-Better-Code-Highlight

Less
2
star
58

Obsidian-Tomato-Timer

A plugin for insert tomato timer into your notes in Obsidian.
TypeScript
1
star
59

Obsidian-Cache-Area

A plugin that allows you to create a cache file rather than save to Obsidian or file system.
TypeScript
1
star
60

Obsidian-Habit-Tracker

A plugin for you to track your habit in daily notes.
TypeScript
1
star
61

Obsidian-Read-Only-Mode

TypeScript
1
star
62

Obsidian-Link-Metadata

JavaScript
1
star
63

Quorafind

My Github Stats
1
star
64

Obsidian-Time-Counter-Releases

Releases repo for Obsidian-Time-Counter
CSS
1
star