Personally, I am a big fan of Vim-Wiki [0]. Provides basic note taking, can be reached anywhere from Vim. It is great for jotting down TODOs, while it is also suited for more substantial, longer thoughts. You can add links to other notes as references, or just for quick navigation. These internal links can then be visualised, to highlight the connection between your notes and thoughts [1].