How to create a custom command to open a specific file within Nota? #196
Answered
by
minthemiddle
minthemiddle
asked this question in
Questions
-
Say I have a file called |
Beta Was this translation helpful? Give feedback.
Answered by
minthemiddle
Apr 21, 2022
Replies: 1 comment 3 replies
-
favourites.md #!/bin/bash
# @parameters workspace
cd "$1" && open "folder/favourites.md" If nota is not your default Markdown editor, install the CLI tool ( #!/bin/bash
# @parameters workspace
cd "$1" && nota "folder/favourites.md" |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
astoilkov
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cmd + shift + p
> New custom command)WORKSPACE/.nota/commands
)my-command.sh
tofavourites.sh
cmd + shift + p
and typefavourites
favourites.md
If nota is not your default Markdown editor, install the CLI tool (
cmd + shift + p
> Install CLI) and modify the script slightly: