On Jan 20, 2:21 pm, Foss User <foss...@gmail.com> wrote: > I want to maintain a journal in a huge file. The format would be > somewhat like this. > > * Jan 21, 2010 > * 1:45 AM > * Posted this mail > * Waiting for visitors to come > * 5:50 AM > * Found a new plugin to browser directories > * Jan 22, 2010 > .. and so on ... > > So, I would want to fold lines, etc. easily depending on the > indentation hierarchy. Is there any plugin that can do it? Is there > any vim script to maintain journals, TODO lists, etc.?
I do exactly this using 2 plugins: Jnl (something I wrote for myself but never released formally) Txtfmt (available on the Vim site) http://www.vim.org/scripts/script.php?script_id=2208 I discussed my usage of these plugins for the application you've described in a fairly recent Vim thread entitled "Is Vim just for programmers?" Here's the Google groups link: http://groups.google.com/group/vim_use/browse_thread/thread/3b93aa1405c3ee16/926578d80caf45c9?lnk=gst&q=jnl+txtfmt#926578d80caf45c9 I'll try to take a screenshot of one of my journal files (I keep several: e.g., understanding, professional, personal, ...), which shows the folding, entry header highlighting, etc..., and make it available online somewhere tonight so you can see if it looks like what you had in mind. The main reason I've never released my Jnl plugin is because I haven't had time to write the documentation, but it's been very useful to me, and could be to others as well, so perhaps I'll try to release it soon... Sincerely, Brett Stahlman
-- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php