Code Monkey home page Code Monkey logo

hotkeysplus-obsidian's People

Contributors

argenos avatar lishid avatar lynchjames avatar nomarcub avatar oudwins avatar renmu123 avatar tzarick avatar valentine195 avatar vinzent03 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  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  avatar  avatar

hotkeysplus-obsidian's Issues

Wrong check box level generation

Before updating to macOS Big Sur, the check box can be generated correctly for any level of unnumbered lists. However, after updating macOS, this does not work for me any more.

Before using the hotkeys:

  • Level 1
    • Level 2

After using the hotkeys:

  • Level 1
  • - [x] Level 2 (as can be seen, there is an extra "- [x]" here)

Number of indent spaces

Hi, would it be possible to have an option to configure the number of spaces inserted when changing between text, unordered list and ordered list? Or just reuse the Tab Size settings from Obsidian Settings > Editor?

Currently it is:

- text
- text
  - text
- text

OR

1. list
1. list
  1. list <
  1. list <
1. list

Desired outcome:

-   text
-   text
    -   text
-   text

AND

1.  list
1.  list
    1.  list
    1.  list
1.  list

Especially given that indented ordered list items with only 2 spaces are not rendered in preview (see < above).

Thanks.

Feature Request: functionality to Bulk adding `!` to notes - ![[embeded notes]]

I love this plug in, thank you for adding it to the API

would it be possible to add functionality to Bulk adding ! to notes - ![[embeded notes]]

usually I would have a list of links in this format:

- [[one]]
- [[two]]
- [[three]]
- [[four]]
- [[five]]
- [[six]]

and I'd love to be able to quickly covert them to this with the ! symbol for embeding notes

- ![[one]]
- ![[two]]
- ![[three]]
- ![[four]]
- ![[five]]
- ![[six]]

I usually use a vim macro, or even multiple cursors, but the elegance and simplicty of your plug in would make this so much easier.

Thanks, keep up the good work

It's "cmd + m" on macOS?

Looks like the commands do not follow your description on all systems.

Toggling ctrl + m does nothing here, while cmd+m actually switches to a checkbox list.

Just wanted to mention.

FR: [[name]] <-> name![[name]]

@lynchjames Hi, thanks for implementing the hotkey, it's one I use a lot! But not always in the way I would like:

When I use this function Toggle embeds for internal links with a list, my list looks crooked (it's because obsidian doesn't display the embedded file name):
image

It would be nice to have a hotkey to automatically add-delete the name of the ![[open]]-[[closed]] file, so that the embedded lists are displayed correctly.

Could you add this feature as another hotkey or is it better to write to obsidian developers?

Thank you for your attention ! 🌳

Cursor incorrectly placed when using header shortcut

I created a shortcut CMD-1 to create an L1 heading.

I upgraded to 0.13.14 yesterday and when I use this shortcut the cursor is placed to the left of the inserted "#" rather than to the right. So, I need to move the cursor and then start typing.

I would expect the cursor to be placed to the right of the inserted MD code.

I'm on MacOS.

Thanks!

Feature Request: Toggle Readable Line Width

It would be really nice if I could toggle between readable line width and not readable line width, thaaanks! Mostly I like readable line width on but sometimes with a big table or dataview or something it's a pain :<

Bug: Changing hotkey assignment breaks multiline toggle

Hi, thanks for the very helpful plugin. One thing I noticed though is it the ability to handle multiple lines (at least in the bullet toggle hotkey) changes after I rebind the key in the Hotkey settings pane. After I change the hotkey (in my case, to Ctrl-B instead of Cmd-Shift-M) and select multiple lines and press the Ctrl-B hotkey it only toggles the first line, not all the selected lines.

If I change the hotkey back to the default then it returns to the original multiline toggle behavior.

This is unexpected behavior so I'm assuming it's a bug?

Thanks.

Feature request: hotkey to select & insert a template in a note

Hi Argenos, awesome work.

Problem

I have 10 templates among which 3 that I use a regurlaly (more than 10x a day for meeting notes).

Current behavior to insert template using hotkey

1 - Ctrl + Shift + T: open template list
2 - Select template with keyboard or mouse
3 - Template is inserted in note

Expected behavior to insert template using hotkey

1 - Ctrl + Shift + (0-9): insert the template bonded to a number (0-9)

Each template would have a number assigned to it (up to 10 templates)

Best

Copy line in sidebar bug

Executing the copy line command in a sidebar document now does them in the main edited document instead.

I'm the one who did this feature originally a while ago, but I don't have time for this right now, and I want to have this issue here anyway for the record. @tzarick I don't know if you would know how to tackle this, or if you are interested.

Feature Request: Move Between Split Panes

Currently in Obsidian, there are hotkeys to split tabs into different panes, but no hotkey to switch between panes. Adding this functionality would be useful for people who prefer not to use the mouse as much as possible.

this could be implemented similar to Vim or tmux, where the hotkeys move between panes spacially (move to right, left, up or down pane since you can split multiple times) instead of the VS code implementation which uses numbers to switch.

Cmd+<

I am on macOS. When want to use Cmd + < it opens the Obsidian settings key.
Please explain how this works.

Hot key ⇧⌘M not working for me on Mac

I have this key mapped as follows:

screenshot

It used to work just fine, but now it does nothing. Has something changed in the plugin? Is there a possible conflict with some other plugin? I check other key-mapping apps I use (e.g., Keyboard Maestro) and they do not map that key combination. And, as I mentioned, it used to work just fine. Restarting Obsidian does not help.

"Toggle between checkmarks" adds invisible stray checkmark in files in Preview mode

Steps to reproduce:

  • Install and enable this plugin
  • Open a file in preview mode
  • Open a different file - note that it will be displayed in Preview mode, but there won't be a cursor position
  • Type Ctrl/Cmd + M - i.e. run the command Hotkeys++: Toggle to-do lists

Note that the display does not change

Expected behaviour:

The file is in preview mode, so its contents should not change

Actual behaviour

The characters - [ ] are added to the start of the first line of the file

for example:

## Obsidian Hub

becomes

- [ ] ## Obsidian Hub

'Toggle between checkmarks' doesn't replicate on the next line

Hello,

Thanks so so much for this great plugin, which I use dozens if not hundreds of times each day.

One thing that I have noticed is that the checkmark status doesn't replicate on the next line, i.e. if I use the hotkey to toggle between checkmarks to create an unchecked checkmark and then hit return to go to the next line, the next line is just a bullet. Most commonly when I am working in a checklist I want the next item to be a checkmark too, and having to toggle for every line is a bit annoying.

Thanks so much if this is possible!

Indent / Unindent

Hi, working on a non-US keyboard I would love to have a shortcut for indent and unindent. Could you by any chance add that to this plugin? Thanks in advance!

Bug with hyphens in a line

I came across a little bug.

If you try to Cmd+M this line: Foo - Bar

It becomes this: - Foo 1. Bar

I would expect it to look like this instead: - Foo - Bar

Feature Request: "Duplicate current line *up*" in addition to "Duplicate current line *down*"

It would be great to be able to duplicate lines up in addition to down. The "Duplicate current line or selected lines" feature effectively duplicates the line down currently, which is great, but it would be nice to have the option to go both directions. I imagine this being analogous to using the Alt+Shift+up_arrow and Alt+Shift+down_arrow hotkeys in VSCode. This includes the cursor being placed on the new line with the duplicated content (the same way the down feature already works now).

The proposal here is to add support for a new option called "Duplicate the current line or selected lines up" and also rename the current duplication feature to "Duplicate the current line or selected lines down."

If this is something that you think would be a good addition and would like to action, and are looking for help, I'd be more than happy to look into creating a PR around this.

【bug】About order list

Thank you for your plugin~

My Obsidian version is 0.9.11;
os: windows 10

When I used ctrl + shift + m to convert texts to ordered list, the lists were all 1:

image

And when I change the hot key to other key,

image

had another problem, it did't work well, appeared the under problem:

image

Cursor is placed at beginning of line with non-legacy editor

When I switch to the non-legacy editor and toggle an empty line to a bullet list, a to-do list, or a block quote, the cursor is placed at the beginning of the line rather than at the end of the line. When the legacy editor is set, the cursor is placed at the end of the line after such toggling.

This makes it so I can't immediately start typing and instead have to move the cursor. It would be more convenient if the cursor placement was consistent with the legacy editor way of doing things.

Interestingly, this doesn't seem to occur if the cursor is already at the end of the line filled with text. This only occurs if it's a blank line or if the cursor is in the middle of line with characters.

Switch to numbered list with right numbers in markdown

Thank you for nice plugin. I love changing style of lists.
After switching to numbered/ordered list in markdown every line start with "1."
For me it is huge eye-sore. Is it possible to have list with right numbers in markdown?
(May be only after selecting and switching whole list? Changing whole list numbers after switching one line may be too much for other use-cases...)
Thank you and have a nice day

Need a hotkey for "Toggle bullet | checkbox"

By default HK++ provides Ctrl-M hotkey to Toggle to-do lists. What it does is cycling through states:

  • bullet
  • checkbox: unchecked
  • checkbox: checked

I believe it has been created before the similar function was added to Obsidian, because the built-in Cycle bullet/checkbox hotkey is doing exactly the same now.

At then, there is also another built-in function called Toggle checkbox status which works exactly as declared, cycling though:

  • checkboxed unchecked
  • checkboxed checked

As you see, the first two are doing what the second can do. Yet, there is no function which cycles through:

  • bullet
  • checkbox (unchecked)

Here is a ticket I created just now: https://forum.obsidian.md/t/add-toggle-bullet-checkbox-hotkey/35186
There I propose to add the missing Toggle bullet/checkbox hotkey.
In the meantime, is it possible for HK++ plugin to fill this gap? In my opinion, it can be done it two ways:

  • Change "Toggle to-do lists" hotkey behavior
  • Add a new hotkey.

Thanks in advance!

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.