2019-09-17 22:35:05 -05:00
2019-09-17 22:35:05 -05:00
2017-04-21 05:17:27 -05:00
2016-02-15 19:59:53 -06:00
2024-03-27 19:26:46 -05:00
2019-09-17 22:35:05 -05:00
2024-03-27 19:26:46 -05:00

Vim Note System

About

Vim Note System is a shell script partially inspired by pass. vns stores notes as asymmetrically encrypted plaintext using the vim-gnupg plugin.

VNS, formerly SNS, was originally conceived one morning during an update to a popular note-taking app. The thought occurred that a note system need not reinvent the wheel with its own GUI editor and proprietary file format, but instead could use the tools already provided by the operating system.

vim note system
==================

usage: vns [-cedlp] <notebook/section/name>
       vns -I
       vns -h
       vns vns_git ...

  -c : Create note
  -d : Delete note(s)
  -e : Open note for editing
  -h : Display this message
  -i : import file as note
  -I : Initialize note store
  -l : List all notes in <notebook>
  -m : Merge two or more notes
  -p : Print note to console
  -r : Rename/move a note

Installing

Dependencies

* vim
* gpg2
* tree
* git

** Note: ** Install vim-gnupg before use. vns does check this, but only after a note has been created.

To install, place vns in your path, and run vns -i.

vim note system will establish its note store under ~/.config/vns. The location of the store may be changed on line 6.

To uninstall, remove the files you copied. Notes will still exist in ~/.config/vns

Tips and Tricks

  • To list all notes in all notebooks, simply run vns.
  • Notes beginning with . will not appear in the listing

Credits

The code here is my own, however much of VNS's design and behavior was influenced by pass.

License

Vim Note System is licensed under the terms of the GNU General Public License Version 2, as detailed in LICENSE.

Bugs and Feature Requests

If something seems off, or just doesn't work, please open an issue and I'll look into it.

Feature requests should be submitted to jon.lewis@xenami.net with [SNS Feature Request] in the subject line.

Description
Shell script for managing a store of encrypted plain-text notes
Readme 256 KiB
Languages
Shell 100%