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

2020-09-16 Thread Paolo Bolzoni
On Wed, Sep 9, 2020 at 1:23 AM Gabriele wrote: > At that point it's easier to do CTRL-V 113 (for the "q"), or CTRL-V 081 > (for the "Q"); under Windows you probably need to use CTRL-Q in place of > CTRL-V (:help i_CTRL-V) I never thought of using CTRL-v like that! Clever. Thanks everyone. --

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

2020-09-08 Thread Gabriele
On 07/09/2020 17.35, Gary Johnson wrote: How about this? :exe nr2char(113) or :exe nr2char(113).'!' At that point it's easier to do CTRL-V 113 (for the "q"), or CTRL-V 081 (for the "Q"); under Windows you probably need to use CTRL-Q in place of CTRL-V (:help i_CTRL-V) -- --

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

2020-09-07 Thread arocker
Assuming the "w" key still works, there's always the "nuke it from orbit" option; write the file when you're satisfied, (or do nothing, if you don't want to save anything, then kill the vim process. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply

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

2020-09-07 Thread Tim Chase
On 2020-09-02 17: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? Depends on how desperately you need a "q". You can use :help :x which

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

2020-09-07 Thread Gary Johnson
On 2020-09-07, Christian Brabandt wrote: > On Mo, 07 Sep 2020, 'Jürgen Krämer' via vim_use wrote: > > > or in a lucky moment, when your Q key works, put something like > > > > nnoremap:q > > nnoremap :q! > > > > in your ~/.vimrc. You can do this for the other keys, too, and even > >

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

2020-09-07 Thread Christian Brabandt
On Mo, 07 Sep 2020, 'Jürgen Krämer' via vim_use wrote: > or in a lucky moment, when your Q key works, put something like > > nnoremap:q > nnoremap :q! > > in your ~/.vimrc. You can do this for the other keys, too, and even > map to 4, which (to my surprise) even works for entering a

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

2020-09-07 Thread 'Jürgen Krämer' via vim_use
Hi, Jürgen Krämer schrieb am 02.09.2020 um 10:57: > > tu...@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

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

2020-09-07 Thread meine
> ZQ to quit without checking for changeѕ (like :q!) Excuses (XQQ), realzed afterwards that your Q-key was broken, so this is useless... //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

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

2020-09-07 Thread meine
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

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

2020-09-02 Thread 'Jürgen Krämer' via vim_use
Hi tu...@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

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

2020-09-02 Thread tuxic
On 09/02 05:28, 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? > > Cheers, > Paolo > > -- > -- > You received this message

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

2020-09-02 Thread Paolo Bolzoni
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? Cheers, Paolo -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply