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
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ The notes.vim plug-in for the [Vim text editor] [vim] makes it easy to manage yo
13
13
* A [Python 2][python] script is included that accelerates keyword searches using an [SQLite][sqlite] database
14
14
* The `:RecentNotes` command lists your notes by modification date, starting with the most recently edited note
15
15
***Navigating between notes:** The included file type plug-in redefines [gf][gf] to jump between notes and the syntax script highlights note names as hyper links
16
-
***Writing aids:** The included file type plug-in contains mappings for automatic curly quotes, arrows and list bullets and supports completion of note titles using Control-X Control-U
16
+
***Writing aids:** The included file type plug-in contains mappings for automatic curly quotes, arrows and list bullets and supports completion of note titles using Control-X Control-U and completion of tags using Control-X Control-O
17
17
***Embedded file types:** The included syntax script supports embedded highlighting using blocks marked with `{{{type … }}}` which allows you to embed highlighted code and configuration snippets in your notes
18
18
19
19
Here's a screen shot of the syntax mode using the [slate][slate] color scheme:
@@ -80,6 +80,14 @@ When you execute this command it will start a new note with the selected text as
80
80
81
81
The `:DeleteNote` command deletes the current note, destroys the buffer and removes the note from the internal cache of filenames and note titles. This fails when changes have been made to the current buffer, unless you use `:DeleteNote!` which discards any changes.
82
82
83
+
### The `:IndexTaggedNotes` command
84
+
85
+
The notes plug-in defines an omni completion function that can be used to complete the names of tags. To trigger the omni completion you type Control-X Control-O. When you type `@` in insert mode the plug-in will automatically start omni completion.
86
+
87
+
The completion menu is populated from a text file listing all your tags, one on each line. The first time omni completion triggers, an index of tag names is generated and saved to the location set by `g:notes_tagsindex`. To update this tags index you need to execute the `:IndexTaggedNotes` command.
88
+
89
+
If you execute this command with a bang as in `:IndexTaggedNotes!` it wil open a split window with a cross reference of all the tags you've used and the files in which each tag has been used.
90
+
83
91
### The `:SearchNotes` command
84
92
85
93
This command wraps [:vimgrep][vimgrep] and enables you to search through your notes using one or more keywords or a regular expression pattern. To search for a pattern you pass a single argument that starts/ends with a slash:
0 commit comments