summary refs log tree commit diff stats
path: root/doc/ranger.1
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2016-05-24 15:43:24 +0200
committerhut <hut@lepus.uberspace.de>2016-05-24 15:44:14 +0200
commite01bf0062ad29f356878985a813b47ec86966803 (patch)
treec1e569bdedb07be83f4fbfea82726967280cb2c9 /doc/ranger.1
parent94dc91e291ef666d091966ed664407bb0911e06e (diff)
downloadranger-e01bf0062ad29f356878985a813b47ec86966803.tar.gz
merge setting "relative_line_numbers" into "line_numbers"
line_numbers now takes a string rather than a bool, with the valid
values "false", "absolute" and "relative".

Related to #546
Diffstat (limited to 'doc/ranger.1')
-rw-r--r--doc/ranger.116
1 files changed, 9 insertions, 7 deletions
diff --git a/doc/ranger.1 b/doc/ranger.1
index ecc4f7f1..b2ba1aac 100644
--- a/doc/ranger.1
+++ b/doc/ranger.1
@@ -735,9 +735,15 @@ this pattern will hide all files that start with a dot or end with a tilde.
 The delay that ranger idly waits for user input, in milliseconds, with a
 resolution of 100ms.  Lower delay reduces lag between directory updates but
 increases \s-1CPU\s0 load.
-.IP "line_numbers [bool]" 4
-.IX Item "line_numbers [bool]"
-Show line numbers in main column.
+.IP "line_numbers [string]" 4
+.IX Item "line_numbers [string]"
+Show line numbers in main column.  Possible values are:
+.Sp
+.Vb 3
+\& false      turn the feature off
+\& absolute   absolute line numbers for use with "<N>gg"
+\& relative   relative line numbers for "<N>k" or "<N>j"
+.Ve
 .IP "max_console_history_size [integer, none]" 4
 .IX Item "max_console_history_size [integer, none]"
 How many console commands should be kept in history?  \*(L"none\*(R" will disable the
@@ -776,10 +782,6 @@ to disable this feature.
 Which script should handle generating previews?  If the file doesn't exist, or
 use_preview_script is off, ranger will handle previews itself by just printing
 the content.
-.IP "relative_line_numbers [bool]" 4
-.IX Item "relative_line_numbers [bool]"
-Show relative line numbers in main column.  Requires \fBline_numbers\fR set to
-\&\fBtrue\fR.
 .IP "save_console_history [bool]" 4
 .IX Item "save_console_history [bool]"
 Should the console history be saved on exit?  If disabled, the console history