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 |
Vim can output the number of each line on the left side of the screen. Questions about customizing this behavior.
139
votes
Accepted
How can I show relative line numbers?
I just replied to a similar question here: How can I add line numbers to Vim?
Beginning with version 7.3, you can use the following:
set relativenumber
I actually use both relativenumber and numbe …
57
votes
Accepted
How can I add line numbers to Vim?
You have two options:
set number for regular line numbers
And also
set relativenumber which will show relative line numbers. i.e. current line is always 0. This is useful for moving up/down N number …