You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,12 +49,19 @@ You'll need to open a new shell for this to take effect.
49
49
50
50
You can set your favourite text editor and your notes directory by setting the `$EDITOR` and `$NOTES_DIRECTORY` environmental variables.
51
51
52
-
You can also set `$QUICKNOTE_FORMAT` to change the way that quicknotes are generated. The string formatted using the `date` command.
53
52
54
53
Most users shouldn't need to do any more than that. If you're doing anything more complicated though, you can configure `notes` config directly in "~/.config/notes/config", including EDITOR and NOTES_DIRECTORY. We've included an example in this repo for you ([config.example](config.example)) that you can copy. Any values set in the config file override values in environment variables.
55
54
56
55
Right now this mainly exists in case you want to use a different `EDITOR` for notes than the one you have set in your environment generally, but this is where all other config will be living in future.
57
56
57
+
### What are the configuration options?
58
+
59
+
*`QUICKNOTE_FORMAT` changes the way that quicknotes are generated. The string formatted using the `date` command.
60
+
*`NOTES_EXT` changes the default extension that notes are saved with.
61
+
*`NOTES_DIRECTORY` changes the directory in which notes are stored.
62
+
*`EDITOR` can also be overriden here, for `notes` only.
0 commit comments