mjessome / obsidian-global-hotkeys Goto Github PK
View Code? Open in Web Editor NEWGlobal hotkey support for Obsidian.md
License: MIT License
Global hotkey support for Obsidian.md
License: MIT License
Thanks for this plugin, I find it very useful ๐
I'm using a shortcut to hide+show the Obsidian window and it works well.
However one small annoyance:
when hiding the app using a keyboard shortcut the cursor location is lost. When bringing the window back (using a shortcut, clicking the app icon in the dock, or using CMD+tab) the cursor is always at the beginning of the document. This does not happen if I hide the window in any other way (clicking outside the window or hiding in using CMD+h).
OS: MacOS
Obsidan version: 0.14.0
Plugin version: 0.1.2
When I have two vaults using different global hotkeys, one or the other vault's global hotkeys does not work (even though they are not the same).
Debug info regarding my setup:
SYSTEM INFO:
Obsidian version: v1.5.3
Installer version: v1.4.16
Operating system: Windows 10 Home 10.0.23606
Login status: logged in
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: dark
Community theme: Minimal v7.3.5
Snippets enabled: 0
Restricted mode: off
Plugins installed: 44
Plugins enabled: 32
1: Admonition v10.1.1
2: Calendar v1.5.10
3: Custom Frames v2.4.6
4: Dataview v0.5.64
5: Dice Roller v10.4.0
6: Editor Syntax Highlight v0.1.3
7: Excalidraw v2.0.10
8: Google Photos v1.6.5
9: Hider v1.3.1
10: Homepage v3.6.0
11: Image Toolkit v1.4.1
12: LanguageTool Integration v0.3.6
13: Linter v1.22.0
14: Minimal Theme Settings v7.3.1
15: Note Refactor v1.8.2
16: Obsidian_to_Anki v3.4.2
17: Pandoc Plugin v0.4.1
18: Paste URL into selection v1.7.0
19: Plugin Update Tracker v1.5.2
20: Quick Switcher++ v3.3.9
21: QuickAdd v1.6.1
22: Readwise Official v2.0.1
23: Recent Files v1.3.8
24: Settings Search v1.3.10
25: Templater v1.18.3
26: Text Extractor v0.4.9
27: Todoist Plugin v1.11.1
28: ExcaliBrain v0.2.11
29: DB Folder v3.5.0
30: Zotero Integration v3.1.2
31: Pandoc Reference List v2.0.24
32: Global Hotkeys v0.1.2
When I hide obsidian with Show/Hide Obsidian
command, the focus is still on obsidian. Is it possible to switch focus to the last used app ?
I had this #2 issue before. I wrote a comment there explaining the issue. Shortly speaking, the hiding part worked in the "Show/Hide Obsidian" hotkey, but the showing part didn't.
This issue was supposed to be fixed in 0.1.2 update. Unfortunately, it didn't; in some way, it works even worse than before.
The bug issue aside, there seems to be a different understanding as to how this plugin should operate. My view is that:
Thanks for this plug-in. It promises to be very useful. I tried setting hotkeys to hide and reveal Obsidian. I was successful in hiding one of the vaults but I couldn't make it reappear. I could open other vaults. I had to reboot to see it again. Is this intentional?
I use a global keybinding to bring up Obsidian with a QuickAdd dialogue, which I use many times every day. But after I'm finished with the dialogue, I have to manually minimize the Obsidian window to return to whatever I'm doing, which ideally would happen automatically.
I think probably it's complicated because you need to catch some signal from QuickAdd and this is extension-specific, but it would be a really important feature to have for me.
CTRL ALT and WIN keys are not detected at all. Only alpha-numeric keys are accepted.
Shame as it works in my tests otherwise, but I can not set a global hot key to just a letter.
It would be awesome f there were a checkbox beside each key binding configuration, saying something like "Hide instead, if Obsidian is visible".
Thus any key shortcut could show Obsidian, and perform any action, then the same shortcut could subsequently hide Obsidian again. This would extend the "Show/hide Obsidian" action's functionality to every other action.
As an example, I would like to press a key combination, have Obsidian come to the foreground with the search field active, and then pressing the same key combination again would hide Obsidian.
Hi, can you make the command bring obsidian to front
hide obsidian if it's in the front ?
If not, then can add another command for hiding obsidian
with the same keyboard shortcut if possible ?
Here's a demo of the same feature with Todoist :
and the equivalent in obsidian :
When Obsidian is minimized, if I press a global hotkey combination of Show Obsidian, Obsidian shows up with a different window size.
For example,
My main use (for now) for global hotkey is making a new note via quicknote plugin (makes a new note on a new popup window) - but given global hotkeys behaviour that also brings up the full main window on the background as well.
I imagine thats a good to have option for current and future plugin compatibility and or unexpected usecases- wich i feel would work better as an option for each command.
Only issue/wish i have, everything else is working great
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.