`<div dir="ltr"><div><div><div><div>Hi Tim,<br><br></div>There isn't any difference when I press "Esc" then "a" (so no "Esc" and "a" at the same time...that's not possible to grant that happens): vi behaviour is abnormal because It doesn't show you that it entered into INSERT mode even if it looks like it has (both directly via locally connected USB Keyboard with Italian layout and also via SSH from a Linux machine that has another USB Keyboard with Italian layout). I can't make a video...but if you would see it you would understand it's like to guess what key to press to obtain a particular action you yet know (because you did that hundreds times with vi in Linux).<br><br></div>As example: If I press "Esc" then "a" it seem into the INSERT mode but vi doesn't show that...then with "Canc" (and not "Esc" only to go back as you wrote) it goes out from this mode and enters into what looks like the COMMAND mode because if then I press "dd" vi deletes the line which the cursor is). At this point I don't know if I have a problem (never seen when I edit files with vi in Linux) or if there is really something strange happening with my settings.<br></div><br></div>Davide.<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 16, 2015 at 10:40 PM, Tim Rice <span dir="ltr"><<a href="mailto:tim@multitalents.net" target="_blank">tim@multitalents.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi Davide,<br>
<span class=""><br>
On Thu, 16 Apr 2015, Davide Poletto wrote:<br>
<br>
</span><div><div class="h5">| Hi Tim,<br>
|<br>
| On Apr 16, 2015 7:45 PM, "Tim Rice" <<a href="mailto:tim@multitalents.net">tim@multitalents.net</a>> wrote:<br>
| ><br>
| ><br>
| > Davide,<br>
| ><br>
| > The way this is written leads me to think you are pressing ESC and a at<br>
| the same time.<br>
|<br>
| Yes, exactly as I do once in vi to enter into its INSERT mode on every<br>
| Linux I've put my hands on.<br>
|<br>
| > Yes, in command mode, dd should delete the line at the cursor.<br>
|<br>
| Yeah, I know that dd when vi editor is into its COMMAND mode deletes the<br>
| line at which the cursor is...no news here.<br>
|<br>
| Are you meaning that I should use use keys combinations in a different ways<br>
| (e.g. the "ESC" with "a" combination in the way you explained above) I'm<br>
| used in Linux for years to let vi editor in OmniOS behaving the same way it<br>
| behaves in Linux?<br>
<br>
</div></div>Remember ESC is not a modifer. So if you attempt to press ESC and a at<br>
the same time, you don't know which one the system will get first.<br>
<br>
The only reason the press the ESC key is to get back to command mode.<br>
Once in command mode an a will enter input mode appending after the cursor.<br>
There are other ways to begin input mode.<br>
A to append to end of line.<br>
i to insert before cursor.<br>
I to insert before 1st non whitespace on line.<br>
o to open a new line below cursor.<br>
O to open a new line above cursor.<br>
And others.<br>
<br>
| Thanks, Davide.<br>
|<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Tim Rice Multitalents (707) 456-1146<br>
<a href="mailto:tim@multitalents.net">tim@multitalents.net</a><br>
<br>
<br>
</font></span></blockquote></div><br></div></div>
`