Step-1:

Put this text in a file named admin.vim and put the file admin.vim in your 
syntax dir.

--------------------x---cut here-x------------------------------------
syn match HP   ".* \*\*\*\*\*$"
hi link HP ErrorMsg
syn match MP   ".* \*\*\*\*$"
hi link MP DiffChange
syn match LP   ".* \*\*\*$"
hi link LP Search
syn match IM   ".* \*\*$"
hi link IM DiffDelete
syn match Done   ".* -done$"
hi link Done g
syn match TBR   ".* -tobereviewed$"
hi link TBR Folded
--------------------x---cut here-x------------------------------------

Step-2:
Add this to your filetype.vim

au BufNewFile,BufRead *.adm         setf admin

Step-3:
Create your file with todo.adm
Open it in gvim and enjoy.

-------------------------Sample file-----------
TBD : 
¯¯¯¯¯¯¯
  § Proposal for PCM **
  § Activity table to be compiled. **
  § Redraw and review the Power Connection **
  § update the diagrams for the Issue - 1033 **
  § Complete the Ethics Training
  § Get account in Austin as per Sanjeevs mail
  § Get subscribed to the maillist in Munich.
  § Document the change of PWM-PCM issue as a disclossure.
  § PLLMUXDIV - Is this a Glitch Free Mux.
  § Change PCM *
  § Call  DaveRussel for PLLMUXDIV (analog/digital)
  § Redraw the proposal for clock structure.
  § OVERTAKING OF SOC GUIDE
    Closing of all the open questions.
  § Verify the LEC results. -- Send mail and close the issue -done


ISSUES:
  § close the PCM proposal with JohnBodnar ***

  *
  **
  ***
  ****
  *****
  -done
  -tobereviewed
-----------------------------------End of Sample file---------


>-----Original Message-----
>From: Yi Qiang [mailto:[EMAIL PROTECTED]
>Sent: Friday, May 05, 2006 10:43 AM
>To: vim@vim.org
>Subject: Using vim to keep a todo list
>
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Hi,
>I've looked all over the net for a simple console based todo list
>manager and I always eventually come back to just using vim to edit a
>plain text file.  I imagine there are other people who use vim to manage
>a todo list so I'd like to know what kind of tips&tricks you might have.
>
>Thanks in advance,
>Yi
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.2.2 (GNU/Linux)
>
>iD8DBQFEWt7LtXlIMrUVVksRAiYBAJ4t1OlUVIqDFDqnENp1/DlRhiXR+gCfZH5E
>uri7p8l1s8rUMUa9KP21lp4=
>=RDSB
>-----END PGP SIGNATURE-----

Reply via email to