On 04/12/2011 06:52 AM, Erik Christiansen wrote:
On Mon, Apr 11, 2011 at 06:41:34PM -0400, AK wrote:
On 04/11/2011 05:04 PM, Adam Monsen wrote:
Erik Christiansen wrote:
Simply capitalising keywords in the file allows rapid access to the
desired information
How does that work? Will you share an example?
Also, will you share your .vimrc?
I think Erik simply meant searching for Mykey will skip mykey and
thisismykey matches. -Rainyday
Yes, spot on, but a little more structure helps. To still allow use of
"Mykey" at the start of a sentence, I mostly use fullcaps and colons for
search keys. e.g. section headings:
[snip]
I'm working on a plugin right now that I think allows a much more
flexible and easy way to store and lookup notes, snips and references.
It uses an sqlite database and stores tags for each item and you can
use a filter command that shows matching items on the fly as you type
in tags, for example I can type in 'tag1' and it may show '120 matching
items', (and first ~40 matches), then I can type in tag2 and it shows
5 items that have both tags, then I can type '2' to load 2nd item in
a new buffer. It also allows using tab for tag completion.
The plugin uses python vim interface and also an external python plugin
and django ORM to talk to sqlite (just because I'm used to it).
It's a bit clunky and needs a lot more testing but I can put it up if
anyone's interested.
-Rainyday
--
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