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
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,12 +26,20 @@ Unzip the most recent [ZIP archive] [download] file inside your Vim profile dire
26
26
27
27
## Options
28
28
29
-
Note that if the plug-in works after following the installation instructions above, you probably don't need to change any of the options below. They're available for people who like to customize their directory layout.
29
+
All options have reasonable defaults so if the plug-in works after installation you don't need to change any options. They're available for people who like to customize their directory layout. These options can be configured in your [vimrc][vimrc] by including a line like this:
30
+
31
+
let g:notes_directory = '~/Documents/Notes'
30
32
31
33
### The `g:notes_directory` option
32
34
33
35
All your notes are stored together in one directory. This option defines the path of this directory.
34
36
37
+
### The `g:notes_suffix` option
38
+
39
+
The suffix to add to generated filenames. The plug-in generates filenames for your notes based on the title (first line) of each note and by default these filenames don't include an extension like `.txt`. You can use this option to make the plug-in automatically append an extension without having to embed the extension in the note's title, e.g.:
40
+
41
+
:let g:notes_suffix = '.txt'
42
+
35
43
### The `g:notes_shadowdir` option
36
44
37
45
The notes plug-in comes with some default notes containing documentation about the plug-in. This option defines the path of the directory containing these notes.
@@ -130,6 +138,7 @@ This software is licensed under the [MIT license] [mit].
0 commit comments