Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [history-of]

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

6
votes
0answers
91 views

Vi and Vim default to split left and split above. What is the history and motivation behind this?

When a window is split, given that Vi/Vim splits are not stored in a tree structure, the "direction of the split" is basically "the window in which the cursor is placed after the command". Update ...
2
votes
1answer
112 views

Traditional Vi and its regular expressions

I'd just want to get confirmation on (and maybe some background to) the way that Bill Joy's vi, sometimes found as traditional-vi on some BSD systems, handles regular expressions. It seems as if most ...
7
votes
1answer
272 views

Why is it called a “vimrc” file?

Where did the name vimrc come from? Is the rc part an acronym? Are there historical reasons for picking this name? Where did the practice of using rc for configuration files first come from? For what ...
5
votes
1answer
78 views

Why is it okay to have a space in a `let` statement?

In my ~/.vimrc if I write set tabstop = 2, it will be a syntax error: set tabstop = 2 " E521: Number required after =: tabstop = set tabstop=2 " no errors But I can write let @/ = "" let @/ = "" "...
9
votes
1answer
249 views

What are the advantages of using colon for commands instead of semicolon?

Vi very successfully minimises finger travel and speed with command mode. Swapping ; and : seems to save a lot of extra shift keystrokes for commands which are used more freqently than repititions of ...
12
votes
4answers
823 views

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

We all know that, when searching, \n is newline and \r is carriage return (^M), but when replacing \r is newline while \n is a null byte (^@). What is the origin of this asymmetry? Given that this ...
50
votes
3answers
10k views

Why does vim use hjkl for cursor keys?

Why use the keys hjkl on the same line instead of keys in a triangle like wasd for moving on video games? Why not something equivalent with right hand, like ijkl or pl;'?
-2
votes
1answer
324 views

Does Vim have a marketing symbol? [closed]

Since Vim is one of the most popular editors maybe it does not need marketing, but does it have a marketing symbol, like the Linux Penguin?
2
votes
1answer
236 views

Why is the visual selection represented by these characters: '<,'> ? Can it be parsed?

While I can understand the percentage sign % being chosen to represent the current file, just because you need to choose some character for that, I am curious as to why '<,'> is representative ...
6
votes
1answer
131 views

Why is the expression register “read only”?

I was messing with the expression register (:h @=) and noticed that it is not possible to put text directly in it. The doc says: The expression register is read-only; you cannot put text into it. ...
26
votes
2answers
765 views

Why is Y a synonym for yy instead of y$?

Is there a specific historical reason for this? Background — (you can skip this part if you already understand the question.) As intermediate/advanced vi users will know, y is the "yank" command—it ...
1
vote
1answer
133 views

Why does the source code of Vim have a folder named farsi in the root directory?

While looking through Vim's source code, I notice that it contained a folder named farsi in the top directory, created 9 years ago. The commit message seems to be just updated for version 7.1a. Why ...
6
votes
2answers
221 views

Why is ] used for tag navigation?

Several of the commands for browsing programs with tags use ]. Is there a mnemonic for this? Why was it selected?
9
votes
1answer
284 views

What is the origin of the term “yank”?

I'm interested in learning how the term yank got its name. I'm also interested in why Vi/Vim "yank" differs from Emacs "yank". See also: same question on Unix & Linux; dual question about Emacs
27
votes
1answer
4k views

What is the select mode and when is it relevant to use it?

I accidentally pressed gh in normal mode and started a selection, so I looked up the doc and found :h Select-mode. From what I understand the select mode is close to the visual mode excepted that: ...
14
votes
2answers
308 views

Does Vimscript have an official name?

The name of the language sometimes known as Vimscript is a topic of debate. Some places use Viml (or is it VimL?), others Vimscript. Does it have an official name, and if it does, what is it and since ...
3
votes
2answers
707 views

Why doesn't vimscript provide a random number generator?

I recently needed to generate a random number in vim and this question gave me all the solutions I needed. But I still have a question: Why is there no built-in function to generate a random number? ...
12
votes
3answers
540 views

What is the use of the black hole register ("_)?

I recently read about the black hole register "_ which is a write-only register. Vim documentation describes it this way: Black hole register "_ When writing to this register, nothing ...
2
votes
1answer
101 views

Did Vim ever use a different versioning scheme?

In Debian packaging, a version number looks like: x:y~z, where x is called the epoch. According to the Debian policy: It is provided to allow mistakes in the version numbers of older versions of a ...
0
votes
1answer
127 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, ...
2
votes
2answers
345 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 ...
51
votes
1answer
3k views

How much money has been raised for needy children in Uganda from Vim? [closed]

As it says under :help iccf… Vim is Charityware. You can use and copy it as much as you like, but you are encouraged to make a donation for needy children in Uganda. Please see kcc below or ...
17
votes
1answer
295 views

What is the correct capitalization of 'vim'?

What is the proper way to capitalize 'vim'? I have seen these variants being used: vim Vim ViM VIM Which is the correct one? Or are they all considered correct? If I look at the :help files, I see ...
15
votes
2answers
2k views

What is the relation between vi, nvi and vim?

On some unixes sometime I found a command named nvi. It was a vi-like editor, without much of its functionality. Maybe it was a fork of the old vi? Anyways, which vi versions are a fork of the others,...