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 1166

Vim's "count" feature allows you to multiply or iterate a command by passing it an optional number. Questions about counting things should use the "counting" tag instead.

2 votes

Can I make all "resize split" commands take a default count?

'<C-w>>' v:count1 returns 1 if there is no count, as opposed to v:count which would return 0 if there is no count, which wouldn't be what we'd want here. … Alternately, see @Sato Katsura's comment for a method that works as stock with a count but uses a variable when no count is provided. …
SnoringFrog's user avatar