On Tue, Dec 4, 2012 at 2:02 AM, Marcin Szamotulski <[email protected]> wrote: > On 21:05 Mon 03 Dec , Chris Lott wrote: >> I am trying to modify this script: > > I don't know either. But you can just add: > > nmap <buffer> q :quit<cr> > > after the line with 'mapclear <buffer>'. Then you can press q to quit > the wordnet buffer. > > Maybe <c-u> could help (:help c^u).
I should have pushed my latest revision out, because that's almost exactly what I had done! The problem is that pesky " in the command line, which isn't coming from an accidental <C-R>...so the first press of 'q' cancels that. I tried mapping nmap <buffer> q <c-u>:q which is the key sequence that works when I do it manually, but no dice. I can just quit with qq now, but it's a matter of principle now :) c -- Chris Lott <[email protected]> -- 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
