On 15-Dec-2010 16:11, Charles Campbell wrote: > Hello, > > Maps support <buffer>; how about <tab> for restricting maps to operate only in > the current tab?
What would be the use case for this? So far, only buffers can have special maps and commands, and it is entirely up to the user how to organize buffers into windows and tabs. IMHO, that's a clean and simple model, which is easy to understand (relatively; Vim's buffer-windows-args-tabs model certainly is way more complex than Notepad's :-) I'm afraid the answers might include: "Well, I'm working on a plugin that implements an email client within a Vim tab, using multiple split windows, and I want my email mappings to apply to the entire tab." Well, I'm all for more power and flexibility, especially if it's trivial to add to Vim's sources, but I'm afraid that this feature may only lead to confusing behavior and Emacs-like "apps within the editor" modes. (But maybe my imagination is just lacking a compelling use case, so please come forward.) -- regards, ingo -- -- Ingo Karkat -- /^-- /^-- /^-- /^-- /^-- /^-- http://ingo-karkat.de/ -- -- http://vim.sourceforge.net/account/profile.php?user_id=9713 -- -- You received this message from the "vim_dev" 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
