Tuesday, March 30, 2010

Re: Why no window-local mapping?

> mappings local to a specific syntax region (inspired by TextMate?).

In Emacs, you have overlays (arbitrary text regions) that can store
metadata about the text within that region and have special mappings.
IIRC this also makes it easy to define popup menus specific to that
region.

I don't think this would make things overly complicated. IMHO it would
rather simplify writing certain type of plugins that now have to store
that metadata someplace.

You could simplify window-local maps with buffer-local maps that
behave differently depending on the value of a window-local variable,
I guess.

--
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

To unsubscribe from this group, send email to vim_use+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

No comments: