Coder Social home page Coder Social logo

obsidian-global-hotkeys's People

Contributors

mjessome avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

obsidian-global-hotkeys's Issues

Cursor location lost/moved to start of document when hiding Obsidan window using shortcut

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

If using two vaults, one or the other hotkey setups don't work

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

Both hotkeys are not working after latest 0.1.2 update

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.

  1. "Show/Hide Obsidian".
    1.1. It no longer hides the window from the screen, but is simply "hiding" (brings to the background) it behind all the other windows. If there are other windows occupying the same space, one could theoretically claim that the window is hidden. But not really. It doesn't work if there are no other windows occupying the same monitor space. It doesn't work if I want to access my desktop for example. Or if I want to hide the window altogether due to privacy concerns.
    1.2. It doesn't bring the window up to the foreground. Nor does it make Obsidian visible if the window was minimized.
  2. "Bring Obsidian to front" doesn't work at all.

The bug issue aside, there seems to be a different understanding as to how this plugin should operate. My view is that:

  1. If the Obsidian window is active (the focus, the cursor is in it), "Show/Hide Obsidian" should minimize the Obsidian window to the taskbar.
  2. If the Obsidian window is not active (it is in the background and not visible, or it is visible but not activated, or if it is minimized in the taskbar/tray) the "Show/Hide Obsidian" should bring it up to the foreground and make active. Thos must work even if Obsidian was minimized/moved by some other means but this plugin (so should take into account the real OS status of window and not just have an internal plugin-specific status toggle).
  3. "Bring Obsidian to front" = Do 2 if Obsidian is not active, do nothing if it is.

I had to reboot to find Obsidian

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?

[Feature request] Hide obsidian again after exit from QuickAdd dialogue

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.

Allow any key binding to hide Obsidian if it's already active

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.

[Feature]: 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 :

Screen.Recording.2021-12-02.at.11.25.58.AM.mov

and the equivalent in obsidian :

Screen.Recording.2021-12-02.at.11.27.05.AM.mov

Minimized and then show Obsidian, the size of the window gets changed

When Obsidian is minimized, if I press a global hotkey combination of Show Obsidian, Obsidian shows up with a different window size.
For example,

  1. Obsidian in Full Screen
  2. Minimize Obsidian
  3. Global hotkey to show Obsidian
    Result: Obsidian shows with a different size and different position of the screen.
    image
    image

Feature request: toggle/checkbox to not bring obsidian to front

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.