Tuesday, March 30, 2010

Why no window-local mapping?

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

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