Skip to content

jaimevirgen/Notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Notes

A small terminal utility for taking notes.

What is this repository for?

This is a small utility that can be added to your bash profile to take notes in.

How do I get set up?

Homebrew

  • Dependencies
  • AG improves upon ack
   brew install the_silver_searcher

Add Notes directory

  • Notes Dir
   mkdir path/to/Notes

Add alias to .bash_profile in root directory

what is a bash profile?

Add the following lines to your ~/.bash_profile

alias notes='touch path/to/Notes/$(date '+%Y%m%d').txt; vim + path/to/Notes/$(date '+%Y%m%d').txt'
ask () { ag -i -A --column "$@" path/to/Notes; }

How do I use Notes?

Run Notes from Anywhere

   notes

that's it!

This will open vim into today's notes entry, if already opened will append to end of file.

Search through Notes

This will return a list of all the entries that contain 'keyword'.

Keep in mind this is case sensitive.

   ask keyword

To only return 3 matches and ignore case modify your alias to

   ask () { ag -i -A --column --max-count 3 --ignore-case "$@" path/to/Notes; }

Development Notes

0.1

  • Adding alias commands to Readme

About

A small terminal utility for taking notes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published