summary refs log tree commit diff stats
path: root/doc/ranger.pod
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.pod
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.pod')
-rw-r--r--doc/ranger.pod13
1 files changed, 6 insertions, 7 deletions
diff --git a/doc/ranger.pod b/doc/ranger.pod
index 00c26f12..a69dc52d 100644
--- a/doc/ranger.pod
+++ b/doc/ranger.pod
@@ -720,9 +720,13 @@ 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 CPU load.
 
-=item line_numbers [bool]
+=item line_numbers [string]
 
-Show line numbers in main column.
+Show line numbers in main column.  Possible values are:
+
+ false      turn the feature off
+ absolute   absolute line numbers for use with "<N>gg"
+ relative   relative line numbers for "<N>k" or "<N>j"
 
 =item max_console_history_size [integer, none]
 
@@ -772,11 +776,6 @@ 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.
 
-=item relative_line_numbers [bool]
-
-Show relative line numbers in main column.  Requires B<line_numbers> set to
-B<true>.
-
 =item save_console_history [bool]
 
 Should the console history be saved on exit?  If disabled, the console history