diff --git a/doc.go b/doc.go index d681707..96e4417 100644 --- a/doc.go +++ b/doc.go @@ -174,6 +174,9 @@ The following additional keybindings are provided by default: map sn :set sortby natural; set info map ss :set sortby size; set info size map st :set sortby time; set info time + map sa :set sortby atime; set info atime + map sc :set sortby ctime; set info ctime + map se :set sortby ext; set info map gh cd ~ The following keybindings to applications are provided by default: diff --git a/docstring.go b/docstring.go index 438b31f..374e8c9 100644 --- a/docstring.go +++ b/docstring.go @@ -128,15 +128,15 @@ The following options can be used to customize the behavior of lf: tabstop integer (default 8) errorfmt string (default "\033[7;31;47m%s\033[0m") filesep string (default "\n") - ifs string (default ”) (not exported if empty) - previewer string (default ”) (not filtered if empty) + ifs string (default '') (not exported if empty) + previewer string (default '') (not filtered if empty) promptfmt string (default "\033[32;1m%u@%h\033[0m:\033[34;1m%w/\033[0m\033[1m%f\033[0m") shell string (default 'sh') sortby string (default 'natural') timefmt string (default 'Mon Jan _2 15:04:05 2006') ratios string (default '1:2:3') - info string (default ”) - shellopts string (default ”) + info string (default '') + shellopts string (default '') The following variables are exported for shell commands: @@ -179,7 +179,7 @@ The following additional keybindings are provided by default: map st :set sortby time; set info time map sa :set sortby atime; set info atime map sc :set sortby ctime; set info ctime - map se :set sortby ext; set info + map se :set sortby ext; set info map gh cd ~ The following keybindings to applications are provided by default: diff --git a/lf.1 b/lf.1 index 62ddfcb..3553cbd 100644 --- a/lf.1 +++ b/lf.1 @@ -140,15 +140,15 @@ The following options can be used to customize the behavior of lf: tabstop integer (default 8) errorfmt string (default "\e033[7;31;47m%s\e033[0m") filesep string (default "\en") - ifs string (default ”) (not exported if empty) - previewer string (default ”) (not filtered if empty) + ifs string (default '') (not exported if empty) + previewer string (default '') (not filtered if empty) promptfmt string (default "\e033[32;1m%u@%h\e033[0m:\e033[34;1m%w/\e033[0m\e033[1m%f\e033[0m") shell string (default 'sh') sortby string (default 'natural') timefmt string (default 'Mon Jan _2 15:04:05 2006') ratios string (default '1:2:3') - info string (default ”) - shellopts string (default ”) + info string (default '') + shellopts string (default '') .EE .PP The following variables are exported for shell commands: @@ -197,6 +197,9 @@ The following additional keybindings are provided by default: map sn :set sortby natural; set info map ss :set sortby size; set info size map st :set sortby time; set info time + map sa :set sortby atime; set info atime + map sc :set sortby ctime; set info ctime + map se :set sortby ext; set info map gh cd ~ .EE .PP