Tuesday, March 30, 2010

Re: Why no window-local mapping?

On 30/03/10 14:18, Jeenu wrote:
> Hi,
>
> I know of<buffer> local mapping and global mapping. I wonder why
> there isn't a<window>/<tab> local mapping option for Vim. I use some
> Vim windows/tabs exclusively for navigating quick fix lists. On those
> windows, I keep<C-N> nd<C-P> globally mapped to :lnext (or :cnext)
> and :lprevious. The problem with buffer-local mappings here is that
> every time the list will load a new buffer which might not have this
> mapping set. Had the mappings been window- or tab-local, I could have
> reused the same mappings on other windows for something else - may be
> page navigation.
>
> Any reason why those are omitted, and any plans to have them in Vim?
>
> Thanks
> Jeenu
>

See line 2245 in $VIMRUNTIME/doc/todo.txt (:help todo.txt) dated 2010
Mar 02 as shown on its first line.


Best regards,
Tony.
--
"Nuclear war would mean abolition of most comforts, and disruption of
normal routines, for children and adults alike."
-- Willard F. Libby, "You *Can* Survive Atomic Attack"

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

Post a Comment