update doc
This commit is contained in:
1 parent
6f525ba047
commit
cae9ada56c
3 files changed
+31
No files matched your search
@@ -1243,6 +1243,13 @@ any:
|
||||
set previewer ~/.config/lf/pv.sh
|
||||
map i $~/.config/lf/pv.sh $f | less -R
|
||||
|
||||
For 'less' pager, you may instead utilize 'LESSOPEN' mechanism so that
|
||||
useful information about the file such as the full path of the file can be
|
||||
displayed in the statusline below:
|
||||
|
||||
set previewer ~/.config/lf/pv.sh
|
||||
map i $LESSOPEN='| ~/.config/lf/pv.sh %s' less -R $f
|
||||
|
||||
Since this script is called for each file selection change it needs to be as
|
||||
efficient as possible and this responsibility is left to the user. You may
|
||||
use file extensions to determine the type of file more efficiently compared
|
||||
@@ -1270,6 +1277,11 @@ script output pipe with a SIGPIPE when enough lines are read. When
|
||||
everything else fails, you can make use of the height argument to only feed
|
||||
the first portion of the file to a program for preview.
|
||||
|
||||
You may also use an existing preview filter as you like. Your system may
|
||||
already come with a preview filter named 'lesspipe'. These filters may have
|
||||
a mechanism to add user customizations as well. See the related
|
||||
documentations for more information.
|
||||
|
||||
|
||||
Changing Directory
|
||||
|
||||
|
||||
Reference in new issue
Block a user