Organize Your Text Based Notes from the Command Line with This Script
Вставка
- Опубліковано 30 вер 2024
- Manage text based notes from the terminal using a zero dependency shell script.
Hit the subscribe button to receive more videos like this!
---
- github.com/nic...
- github.com/nic...
- github.com/ESW...
---
Follow along?
Personal Website: nickjanetakis.com
Twitter: / nickjanetakis
Since this is a 20 minute video, here's the time stamps:
- 0:55 -- I've been using dated plain text notes since 2001
- 2:23 -- Getting notes out of your head and into a file without bothering you
- 3:31 -- An example of using this script and what it produces
- 5:24 -- Running the script without arguments to write free form notes
- 7:56 -- Piping your system clipboard in as input into the notes script
- 8:52 -- Pipe the output of anything as input to this script
- 9:30 -- Going over the 16 line shell script to make it all work
- 13:52 -- Going over the documentation of the script on GitHub
- 14:21 -- Since the text is unstructured you can write notes for anything
- 15:30 -- What is this script not good for? Long form research (books, courses, etc.)
- 16:49 -- Installing the notes script with a 1 liner
- 17:52 -- 2 ways to configure your notes directory
- 18:04 -- 3 ways to use this script (arguments, piping and opening your editor)
- 18:15 -- Since it's just text you have the power of the command line at your finger tips
I take notes the same way: command line notes so don’t I break my train of thought. Anything GUI based distracts me.
Thanks Nick - great video tutorial!!!
No problem. Thanks for watching!
Thanks for sharing. great work!
You take notes exactly the same way I've been doing for the past 3 years (dated text file)... first time I've encountered someone w/ the same system
`(a;b)` runs command a, and then command b, concatenates their output together; and then sends that down the pipe. Without the subprocess operation `()` the output of a would be thrown away.
Indeed. I did try it without the () initially, but it didn't work as intended.
thank you for open sourcing such nice tool. since i jump around couple of computers and used to dating my notes, carrying sticky notes or physical notepad didn't really work for me, but your solution provides a perfect workflow for organizing notes.
No matter which computer I'm sitting in front of, all i have to do is ssh to the machine with notes and start typing. whenever I'm back at that machine, vim it. =) modified it slightly to use md instead of regular txt to add slight highlight under vim. LOL
thanks for your great work. Cheers.
No problem, sounds like you found a good set up.
Thanks for the video and open-sourcing your note taking system
Which emulator Are you using?
github.com/mintty/wsltty
I like the simplicity of your app. How do you search for the content in your notes?
Thanks. Mostly grep. It's really easy to pull out URLs, words or phrases like that.
Would love to know your thoughts on Obsidian!
i also take notes in plain text but instead of an script i use zsh aliases
if u want to take notes with a specific topic and want to keep it organized by ur own criteria[date, subtopic, ident] u can uses the vim views(it save the text manual folds and the current cursor position); its a little bit more confortable
thats the code for load and save views automatically
au BufWritePost /* :mkview
au BufWinEnter /* :loadview
au BufWritePost /* :mkview
au BufWinEnter /* :loadview
Horrible system. Notes must be sorted by ARGUMENT witha hierarchy, using an outliner.
No they don't
@@Mutombo71 Well not for you, I have 20k notes covering several different tech and culture topics.