Search Results
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 |
Questions about the history of Vi. DO NOT use this for command history.
9
votes
Accepted
Why doesn't vimscript provide a random number generator?
Because the patches have been sitting in the TODO list for almost five years.
Don't forget, vimscript wasn't designed: it is only the ever-changing interim result of a slow evolutionary process. Hell …
47
votes
Accepted
What is the select mode and when is it relevant to use it?
The whole point of select mode is to provide a selection behavior similar to the one used in conventional editors.
On the same note, there's mswin.vim which changes a bunch of options and mappings to …
21
votes
Accepted
What is the use of the black hole register ("_)?
The black hole register is used in the same situations as /dev/null: when you do an action that normally outputs something but you have no use for that output.
Vim's default behavior is to "cut", not …
5
votes
Accepted
Why did vi use hjkl instead of jikl?
Yes, the answer you link to is 100% accurate.
I didn't go further because I didn't think it was particularly relevant. Vi uses HJKL for reasons outside of its creator's control. He didn't "choose" HJK …
13
votes
Does Vimscript have an official name?
The name VimL appeared in the documentation in July 2013. Vim's scripting language didn't have a name before that.
VimL is the only name mentioned in the documentation. It doesn't really make it the …
1
vote
Why is the expression register "read only"?
The expression register expects an expression. yf4 is not an expression so there's no reason to expect the expression register to make any sense of it.
If you want to use what you just yanked as an e …