Giter VIP home page Giter VIP logo

Comments (8)

timhor avatar timhor commented on July 23, 2024 1

Too bad, it's mostly the multiple selections of a term. 😕

Fair enough; I'd like to explore multiple selections at some point for sure, but no guarantees as I don't know what the API looks like, or if one even exists at the moment 😅

when copying content from one list to another one that has a different indention level, you have the issue that indention is wrong, I believe.

Ah I see, so it usually happens in nested lists. I'll keep it in mind for now, but from my experience, there are a number of edge cases to consider with nesting and paste (different users have different expectations) so it might not be as simple as it sounds.

from obsidian-editor-shortcuts.

timhor avatar timhor commented on July 23, 2024

Thanks for the feedback and suggestions! I'll address each one individually:

  • Expand selection to next match: I can implement expanding the selection from a cursor to the word it's in – is that what you're after with this one? The multi-cursor aspect is out of scope at this stage as I haven't looked into how it works in Obsidian yet.
  • Paste and indent: can you provide an example of your use case, since this feature seems more applicable to writing code?
  • Expand to brackets: sure, I can look into this for the next version.
  • Quick copy/cut: these already seem to work out of the box for me, is that not the case for you?

from obsidian-editor-shortcuts.

chrisgrieser avatar chrisgrieser commented on July 23, 2024

Expand selection to next match: I can implement expanding the selection from a cursor to the word it's in – is that what you're after with this one? The multi-cursor aspect is out of scope at this stage as I haven't looked into how it works in Obsidian yet.

Too bad, it's mostly the multiple selections of a term. 😕

Paste and indent: can you provide an example of your use case, since this feature seems more applicable to writing code?

when copying content from one list to another one that has a different indention level, you have the issue that indention is wrong, I believe.

Expand to brackets: sure, I can look into this for the next version.

thanks! <3

Quick copy/cut: these already seem to work out of the box for me, is that not the case for you?

👀 Didn't notice that Obsidian already does that. TIL.

from obsidian-editor-shortcuts.

timhor avatar timhor commented on July 23, 2024

Expand to brackets is now available in v1.2.0

from obsidian-editor-shortcuts.

chrisgrieser avatar chrisgrieser commented on July 23, 2024

thanks 🥳

from obsidian-editor-shortcuts.

timhor avatar timhor commented on July 23, 2024

@chrisgrieser I was browsing through some existing plugins today and came across https://github.com/jglev/obsidian-paste-to-current-indentation. Perhaps that might fit your use case for paste and indent?

from obsidian-editor-shortcuts.

chrisgrieser avatar chrisgrieser commented on July 23, 2024

thanks!

However, "Expand Selection to next match" is the one I am missing the most :(

from obsidian-editor-shortcuts.

timhor avatar timhor commented on July 23, 2024

Expand selection to next match is now available in https://github.com/timhor/obsidian-editor-shortcuts/releases/tag/1.8.0 under 'Select word or next occurrence of selection'!

from obsidian-editor-shortcuts.

Related Issues (20)

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.