Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 880

Questions about the history of Vi. DO NOT use this for command history.

0 votes
1 answer
229 views

Are there any platforms whose native `vi` is not vim, nvi, or original vi? [closed]

Just like in the title. I know most Linux distributions ship with vim and most BSDs use nvi, but I was wondering if there are any "obscure" versions of vi on some commercial UNIX or other platform, wi …
Random832's user avatar
  • 1,232
5 votes

Why are ^ and $ still magic in nomagic mode?

The nomagic setting was created to support the edit mode, which was "designed for more casual or beginning users", rather than as a general "nothing is a metacharacter" mode. From the ex reference ma …
Random832's user avatar
  • 1,232
4 votes
2 answers
1k views

Why are ^ and $ still magic in nomagic mode?

In 'nomagic' mode, ^ and $ have a special meaning and no others do. Why were these selected, rather than making people type \^ and \$ just as they do for \. and \*? EDIT: I have been able to confirm …
Random832's user avatar
  • 1,232
19 votes

Why does vim use hjkl for cursor keys?

As to why these arrows were printed on these keys... it's because they could be used with the control key for local cursor movement. Ctrl-H and Ctrl-J (backspace and line feed) are obvious, and an eas …
Random832's user avatar
  • 1,232
1 vote

What is the rationale for \r and \n meaning different things in s command?

Other Vi clones do not support \r or \n (as a real backslash and letter) in substitution, but the behaviour of a real ^M (CTRL-V Enter) meaning to split the line into two lines is standard behavior: …
Random832's user avatar
  • 1,232