This works well. Thank you very much for your thorough and thoroughly informed response.
> autocmd OptionSet buftype :if v:option_new is# 'nofile' | nnoremap …| > endif Unfortunately, 'OptionSet' event seems a very new event to vim :-( The Distro provided vim's I use do not support it (but my "latest and greatest" desktop version does). Best fallback I can think of is to map it to a function call that does the check for nofile post-facto (maybe to a Q? of some sort) -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
