3 ms·
> The default vi config that comes with FreeBSD will get out of insert mode if you use the arrow keys to go beyond the end of the line No it doesn't.
by sureaboutthis 7y ago
> The default vi config that comes with FreeBSD will get out of insert mode if you use the arrow keys to go beyond the end of the line
No it doesn't.
- inferiorhuman 7y agoNo it doesn't. I checked before I made the post on a FreeBSD 12 machine. The stock vi on OSX (vim 8) behaves more "normally".
- sureaboutthis 7y agoI'm on FreeBSD 12 now. No it doesn't. And vim is not vi but vim doesn't do that either.
- inferiorhuman 7y agoDunno what to tell you. At a prompt, running vi and entering the following keys: i a b c [right arrow] d e f results in vi displaying the text: ab Note that the key f generates a bell as vi is no longer in insert/append mode. If you're seeing different behavior I can only assume you've got wildly different terminal settings, you've configured vi and forgot about it, or have aliased vi to vim or some vi variant from ports. Either way that lends credence to the idea that judging someone for being uncomfortable at a vi prompt is a bad way to interview candidates.
- skrebbel 7y agoI have absolutely no vi knowledge. I just opened an ssh to a vanilla Ubuntu install (digital ocean droplet), tried what you wrote, and I got: abcdef I've been accidentally dropped into vi on countless systems and never have my ability to type "i" and "ESC :wq" (the full extent of my vi skills) failed me. I'm super confused by your comment.