Comments (7)
That's not possible right not. I'll consider implementing it in a future release.
from obsidian-alfred.
from obsidian-alfred.
Hey @hauselin, can I try working on this? I would like to add some other features too, like option add a note directly via alfred. But this seems a good starting point.
from obsidian-alfred.
Hey @sanchitsharma, yes, go ahead and take a stab at it! Thanks!
from obsidian-alfred.
Thanks!!. Will do.
from obsidian-alfred.
@hauselin I looked at the workflow in detail, and I think the best way to provide this functionality would be the following.
introduce two new variables - defaultVaultPath and defaultVaultName
add a new input "oadddefaultvault" to change/add the default vault name and path.
on addition of first new vault, it is automatically made the default vault as well (it can be changed via above input anytime later)
current "on" keyword is remapped to "onv" (v=vault)
"on" is now used to add directly to add to the default vault [Vault name shown in title by showing "Creating {query} in {defaultVaultName}]"
I have done a basic testing of above flow. Please let me know your thoughts.
from obsidian-alfred.
@hauselin I looked at the workflow in detail, and I think the best way to provide this functionality would be the following.
introduce two new variables - defaultVaultPath and defaultVaultName
add a new input "oadddefaultvault" to change/add the default vault name and path.
on addition of first new vault, it is automatically made the default vault as well (it can be changed via above input anytime later)
current "on" keyword is remapped to "onv" (v=vault)
"on" is now used to add directly to add to the default vault [Vault name shown in title by showing "Creating {query} in {defaultVaultName}]"I have done a basic testing of above flow. Please let me know your thoughts.
I am basing above thought on the philosophy that many users will like to have a default vault at least even if they they don't just have a single vault. Users with single vault will directly be able to use the functionality without any configuration. Also we can use the default vault config to add other default functionalities as well, example search etc.
from obsidian-alfred.
Related Issues (20)
- Updated to 0.3.7 and can no longer create new note HOT 2
- Alfred 4.5 & Obsidian 0.12.12 - od and odi not working HOT 2
- Creating daily note using `od` doesn't expand variables in daily note template HOT 7
- 【requirement】open notes with obsidian after search HOT 4
- Is there currently any way to search for attachments inside vaults (e.g. png, pdf files) ? HOT 2
- Daily notes format with locale support HOT 5
- Searching for a note opening it then quickly moving to another application then opens obsidian again HOT 1
- [Suggestion] Open (daily) notes in new pane HOT 1
- Support multiple date format placeholders for daily notes HOT 3
- Open note by filename
- Possibly outdated fix for Electron bug HOT 1
- Unable to add new vault
- Shortcut to directly search inside vaults? (oss requires hitting enter first)
- Script in oterm needs an additional escape for path replaceAll
- Removing the timestamp for appending to daily note HOT 1
- Daily note does not replace {{date}} {{time}} in template with today's date. HOT 1
- I cannot setup dailyvault.
- Search (os, oss, or, orr) does not work. HOT 8
- Append to current note
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-alfred.