> often I use Tomboy, a Linux application, to taking rapid notes. When I > find some useful command on internet, I create a note. Then sometimes > I try to group notes about a similar topic and so on. > > I'd prefer using Vim for such a task, so I can search in my notes > directly from the terminal. Is there a good plugin to do this? At > least, how would you do that?
I do something similar, using a generic "tagging" with my notes, similar to the "text todo-list" described here: http://todotxt.com/whytxt.php I use @context and +CONTACT so I might have notes like @home take out trash @phone +GOV call about tax refund @work +GM 2008-11-21 spoke with CTO about installation progress @work +WAMU check their NAT settings @work +GM gather requirements @groc buy flowers for +WIFE @mall buy socks @web buy +DAD a memory card for his camera @phone call +DAD about diff. eq. questions (I set Vim to not wrap lines so I have one item per line) I can then use Vim to sort this with things like :sort /@\w\+/ :sort /+\w\+/ or bring common elements together: :g/@work.*+FOOBAR/m$ or you can grep them from the command-line: grep @phone notes.txt # find calls I need to make grep +DAD notes.txt # stuff related to Dad It's mostly convention, but one might be able to build a plugin to facilitate usage of it. -tim --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
