Sunday, September 6, 2020

Re: Broken Q key... how can I leave vim without saving?

On Wed, Sep 02, 2020 at 05:28:25PM +0900, Paolo Bolzoni wrote:
> Dear list,
>
> It is not a joke, my laptop keyboard is broken and seldom the keys Q,
> 4, Ins, and few others stop working.
> Is there a way to leave vim without saving without using the Q key?

ZZ to write the current file if modified and quit

ZQ to quit without checking for changeѕ (like :q!)

Note that those are capitals!

BTW, this tread shows that there are several ways to quit Vim, which
makes it even a bigger laugh when someone is trapped inside ;-)

//meine

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20200907063230.GA1065%40trackstand.

No comments:

Post a Comment