1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-02 22:58:01 +00:00

Fix the new line issue.

This commit is contained in:
jbranchaud
2015-09-08 11:51:33 -05:00
parent 35822c388e
commit feb0514f64

View File

@@ -1,7 +1,13 @@
# Absolute And Relative Line Numbers
By default, vim uses absolute line numbering. This can be turned off with `set nonumber` or more concisely `set nonu`. Turn it back on with `set nu`. Get more details at `:h number`.
By default, vim uses absolute line numbering. This can be turned off with
`set nonumber` or more concisely `set nonu`. Turn it back on with `set nu`.
Get more details at `:h number`.
Vim also supports relative line numbers. If you'd rather use relative line numbers, first turn off absolute line numbers (`set nonu`) and then turn on relative line numbers with `set relativenumber`. Shave off some characters with `set rnu`. As you might expect, you can turn off relative numbering with `set nornu`.
Vim also supports relative line numbers. If you'd rather use relative line
numbers, first turn off absolute line numbers (`set nonu`) and then turn on
relative line numbers with `set relativenumber`. Shave off some characters
with `set rnu`. As you might expect, you can turn off relative numbering
with `set nornu`.
See `:h relativenumber` for more details.