tv2 is a fast, cross-platform note-taking application for the UNIX terminal, it’s a clone of the OS X app Notational Velocity and successor to Terminal Velocity that runs in a terminal and uses your $EDITOR.
To install tv2, run:
pip3 install tv2
Then to launch it, run:
To change which directory your notes are stored in, use the path as an argument to the command:
To quit the app, pres
To create a new note, type a title for the note and hit enter. The note will be opened in your text editor. As you type the title, the list of notes filters to show notes that match what you’ve typed, giving you a chance to open a related note instead of making a new one.
The same text area is used for entering the titles of new notes and for searching notes. To find and open a note, type some words from the note’s title or contents. The list of notes filters as you type to show only matching notes. When you see the note that you want, use the up and down arrows to select it then hit enter to open it. You can also use page up and page down or mouse clicks to select notes.
If you type the beginning of a note’s title (case-insensitive), that note will be automatically selected in the note list and its title will be autocompleted in the search box. Whenever a note is selected, just hit enter to open that note.
If you want to create a new note whose title is a substring of an existing
note’s title, then even after you’ve typed the full title for your new note the
existing note will still be selected by the autocomplete. In this case, you have
esc to clear the autocomplete selection, then hit enter to
create your note.
The location of the notes directory, the text editor, the filename extension for new notes, etc. can be configured using command-line options or a config file. For details, run:
Since your notes are just a directory of plain text files, it’s easy to sync them using Dropbox, NextCloud, SparkleShare, git, etc. Just use a notes directory in your Dropbox or NextCloud directory, a SparkleShare share, in a git repository, etc.
Notes are kept as plain text files in a notes directory (
~/Notes by default).
Notes are sorted by modification date, most recently modified at the top.
The search is fuzzy. A note will match a search term if it contains all of the given search words anywhere in its title or body, the words don’t have to appear consecutively or in the same order.
The search is smart-case. For each search word, if the word is all lower-case then it will be matched case-insensitively. If the word contains any upper-case letters then it will be matched case-sensitively.
Subdirectories in your notes directory are searched recursively. To create a new note in a subdirectory, just give the subdir(s) as part of the note’s title, e.g.: programming/python/How to use decorators in Python
You can have note files with different filename extensions. All the files in your notes directory are searched, regardless of filename extension. To create a note with a different filename extension use the –extension option.
tv2 doesn’t support renaming or moving notes yet, but you can move note files (and edit their contents) using other tools, this will not interfere with
tv2 is a fork of Terminal Velocity, after the former was archived as a project. All credit due there.
User interaction copied from Notational Velocity.
subscribe via RSS