Wednesday, January 27, 2016

Re: add mapping for buftype=nofile?

On Wed, Jan 27, 2016 at 7:10 PM, Josef Fortier <josef.fortier@gmail.com> wrote:
> I'm rather pleased with my simple solution, and thought someone else here might appreciate it:
>
> nnoremap q<enter> :q!<cr>
>
> <enter> cannot be mapped to a buffer. It makes a nice "get out of here" mapping :-)

The built-in "ZQ" normal mode command already does that.

Justin M. Keyes

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: