Friday, January 10, 2014

Re: plugin for taking notes with code?

There are various plugins which can show marks for location or quikfix
list, thus using :cfile to load the bookmarks into quickfix then using
one of the following two plugins:

Examples:
- github.com/MarcWeber/vim-addon-signs
This provides a simple function for placing a list of signs

:UpdateQuickfixSigns is the sample implementation doing that

- https://github.com/tomtom/quickfixsigns_vim

- syntastic has such feature (but does a lot more ..)

Then mapping :cnext :cprevious could be reasonable fast if you have only
a couple of comments for each file.

Alternatives would be copying files adding an extension such as .review,
then you could use vim's builtin diff feature to show your comments

I've created a small wiki article about the mentioned options:
http://vim-wiki.mawercer.de/wiki/tips/taking-notes-about-code

Marc Weber

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: