Edit Page
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 4: | Line 4: | ||
|previous=733 |
|previous=733 |
||
|next=735 |
|next=735 |
||
β | |created=2004 |
+ | |created=May 27, 2004 |
|complexity=basic |
|complexity=basic |
||
|author=Yakov Lerner |
|author=Yakov Lerner |
||
Line 12: | Line 12: | ||
|category2= |
|category2= |
||
}} |
}} |
||
β | This tip is useful only for those who use virtualedit mode (< |
+ | This tip is useful only for those who use virtualedit mode (<tt>set virtualedit=all</tt>, or <tt>set ve=all</tt>). |
β | I like virtualedit mode except for behaviour of '< |
+ | I like virtualedit mode except for behaviour of '<tt>x</tt>' (delete character). When '<tt>x</tt>' is used past end-of-line, it does nothing. I wanted it to jump left to the actual end-of-line so as to start deleting characters there. Below is '<tt>x</tt>' redefinition that does exactly this; and it does not break '<tt>x</tt>' in non-virtualedit mode: |
<pre> |
<pre> |