New Rule: Find AND Select All Matches #9
Replies: 2 comments 4 replies
-
Thank you for writing, @FelipeRearden! Utilizing the clipboard is something I've been thinking about, too. I think that there's a powerful feature to be found in that idea, but every time I've started drafting ideas around it over the past couple of weeks, it seems to me like new questions about interface and behavior present themselves. The workflow you describe is specific enough that it strikes me that it may warrant its own plugin. Since currently, Obsidian's
Use
Use the "Copy search results" button within the search sidebar.
Use this plugin (Apply Patterns) to replace matches with nothing.
Perform both manually, as you also suggested above. Does that process look accurate to you, too? Again, thank you for writing! |
Beta Was this translation helpful? Give feedback.
-
Hello again @Publicus !!!! Fist of all, thank you for you reply. If don't mind I'm gonna reply your replies and make a "new" feature request explaining to you my real need :) I wanna make sure that we are on the same page about this :)
Let's forget about
Thanks for helping with a workaround!!!! I spend so much time with plug-in that I forgot about this. Two things about the Search Plug-in:
A New RequestIf we could have a new rule or a new checkbox inside a rule that:
Why I'm asking for All of this new FeaturesMy main ideia is to apply this workflow using only hotkeys. There is a new plug-in called Quickadd that has a fantastic feature: the user can create macros to stack Obsidian Commands and run then with a hotkey. One hotkey to run 5 commands for example. This way I can create a MACRO to transfer text from DEVONthink to Obsidian with one or two hotkeys. Look what I have today for creating a new note in Obsidian with a specfic Template
After paste the raw text from DEVONthink, I will use the new Here is the magical thing: QuickAdd has 5 exclusive commands that are not in the Command Pallete This way, with a new feature on
That's why I said before about forgeting about Sorry to bother you with my "madness"Please I don't wanna make you feel uncomfortable about this. I really just wanna share with you one of my usage of you plug-in. I hope this is feasible but feel free to decline this feature request. I'm glad to share with my workflow and I am very very happy for the new features in 1.2.0. Sorry for spending your time with this and sorry for my english mistakes (I'm not a native speaker but I tried to write as right as I know) Thanks for everything @Publicus !!!! |
Beta Was this translation helpful? Give feedback.
-
More info about me here
Hello @Publicus!!!
In some cases, we don’t need to replace the find matches, we need to do something with all the matches found by the
find
feature:cut
,copy
to transfer all of the matches.My request is a new rule to
find
andcopy/cut all matches
.Showing my workflow in CotEditor:
This is a chunk of my raw text:
My goal is to:
1- find every DEVONthink link
[L4](x-devonthink-item://C5A952D4-8CB9-4CA9-9B3A-BC397B08C1F6?line=3)
2- Select All of them
3- Copy to clipboard
4- Delete only
(x-devonthink-item://C5A952D4-8CB9-4CA9-9B3A-BC397B08C1F6?line=3)
5- Paste
[L4](x-devonthink-item://C5A952D4-8CB9-4CA9-9B3A-BC397B08C1F6?line=3)
in the end of the note6- Select All + Copy + Paste in Obsidian
In CotEditor
A- find every DEVONthink link
\[L\d{1,3}\]\(x-devonthink-item:\/\/\w{8}\-\w{4}\-\w{4}\-\w{4}\-\w{12}\?line=\d{1,2}\)
B- Select All of them
C- Copy to clipboard
cmd+c
D- Delete only
\(x-devonthink-item:\/\/\w{8}\-\w{4}\-\w{4}\-\w{4}\-\w{12}\?line=\d{1,2}\)
[find and replace with ""]E- Paste clipboard in the end of the note
F- Select All and Copy/Paste in Obsidian
Feature request: New Rules
if we have a new rule to
find
andCopy All Matches
/Cut All Matches
I could replicate this workflow in Obsidian:Steps A + B + C -> Rule 1
Step D -> Rule 2
Step E could be achieved manually
Step F is not necessary anymore
Let me know if you need more information.
Thanks and have a great day!
Beta Was this translation helpful? Give feedback.
All reactions