Re: ...to shoot into oneelse feet...
Op maandag 30 april 2007, schreef [EMAIL PROTECTED]: HmmmESC kills everything between # and $... u would undo it...but this like do the wrong thing and repair it afterwards. What I want is to prevent doing wrong things by aborting them,..not to do them and saying ooops sorry...my fault afterwards and starting repairing the desaster then... :) Sohow can I _abort_ this ? As far as I know, you can't abort it. But as you dont use the 'black hole' register, you could just re-insert the text you wanted to change by typing: Ctrl-R Not the best solution, probably (don't type cfn if you don't want to change the text :) ) Peter
...to shoot into oneelse feet...
Hi, is it possible to get out of a started change command (dont know, whether this is this the correct naming...) with a single key pressed ? For example the text is Vim is a #eally$nice editor. # is marking my cursor position and $ is the sign appearing after I have submitted cfn already. Since vim is really a nice editor, I do not want to change anything and pressed cfn by accident. HmmmESC kills everything between # and $... u would undo it...but this like do the wrong thing and repair it afterwards. What I want is to prevent doing wrong things by aborting them,..not to do them and saying ooops sorry...my fault afterwards and starting repairing the desaster then... :) Sohow can I _abort_ this ? Keep editing! mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
Re: ...to shoot into oneelse feet...
Original Message Subject: ...to shoot into oneelse feet... From: [EMAIL PROTECTED] Date: Mon, April 30, 2007 11:36 am To: vim vim@vim.org Hi, is it possible to get out of a started change command (dont know, whether this is this the correct naming...) with a single key pressed ? For example the text is Vim is a #eally$nice editor. # is marking my cursor position and $ is the sign appearing after I have submitted cfn already. Since vim is really a nice editor, I do not want to change anything and pressed cfn by accident. HmmmESC kills everything between # and $... u would undo it...but this like do the wrong thing and repair it afterwards. What I want is to prevent doing wrong things by aborting them,..not to do them and saying ooops sorry...my fault afterwards and starting repairing the desaster then... :) Sohow can I _abort_ this ? Just press ESC followed by u to undo. Or, press ESC follwed by :q! to get out completely.