Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST] bullets_delete_last_bullet_if_empty only if no indentation #155

Open
linkarzu opened this issue Oct 8, 2024 · 0 comments
Open

Comments

@linkarzu
Copy link

linkarzu commented Oct 8, 2024

Hey, I love this plugin, I use bulletpoints for basically everything, just got used to them so much. This is probably asking too much, but it would be great if this could be done, maybe there's a way but I just don't know how

Let's say I have this scenario, notice that the very last line is indented, so if I press enter here the bullets_delete_last_bullet_if_empty will delete the last bullet, and this is great, I use that all the time as seen below

BEFORE
- testing file
- testing again:
  - testing this
  - testing file
  - another
  - test
  -
  
AFTER
- testing file
- testing again:
  - testing this
  - testing file
  - another
  - test

But normally, what would happen in other editors, like obsidian, google docs or the vscode markdown plugin, is that when you are at an empty bullepoint, but you're indented, it will put you below on a bulletpoint 1 level less indented, for example

BEFORE
- testing file
- testing again:
  - testing this
  - testing file
  - another
  - test
  -
  
AFTER
- testing file
- testing again:
  - testing this
  - testing file
  - another
  - test
-

Small video for reference in case it helps!

remove-bullet-if-no-indent.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant