Wednesday, September 2, 2020

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

Hi

tuxic@posteo.de schrieb am 02.09.2020 um 10:40:
> On 09/02 05:28, Paolo Bolzoni wrote:
>>
>> 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?
>
> From insert mode try:
>
> <ESC>:exit

this will save changes. One way to quit without saving changes I could
think of is to first reload the buffer and exit then:

:e! | exit

Regards,
Jürgen

--
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us. (Calvin)

--
--
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/6cfefa26-cb67-effb-9614-45f6ef7cf99d%40googlemail.com.

No comments: