Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.14 KB

README.md

File metadata and controls

31 lines (20 loc) · 1.14 KB

tnote

A simple command line tool for managing notes. I created this tool because I needed a simple way to manage my notes.

Setup

  • Configure $EDITOR to be your favorite editor.

Installation

Run go install -u github.com/husainaloos/tnote

Usage

  • tnote mynotes will edit mynotes.md file. If the file does not exists, tnote will create it.
  • tnote edit myfolder/mynotes will edit mynotes.md file inside myfolder folder. If the file or folder do not exist, tnote will create them. This is experimental and I have not tested it fully.
  • tnote remove mynotes will remove the note file mynotes.md.
  • tnote list will list all notes.
  • tnote --help for help.

Integrating with FZF

Currently tnote list outputs the list of notes. If you are trying to find a given note, this might not be the most helpful way. Instead, I suggest that you integrate this with FZF or any fuzzy finder. Just add

alias fnote='tnote edit $(tnote list | fzf)

to your shell startup file to find a note with the help of FZF. If the note you typed does not exist, tnote will create it.

Future Features

I will be adding features as I need to.