Ability to customize filename truncating (#417)

* Add truncatechar option

* Add ability to set truncatechar via `set` command

* Add completion for truncatechar option

* Actually use truncatechar option when truncating

* Add truncatechar option to docs
This commit is contained in:
Alexey Yerin authored and GitHub committed 2020-07-18 03:08:25 +03:00
1 parent 9880104c12
commit d0cd181eb6
6 files changed
+9 -2

No files matched your search

+1
View File
@@ -139,6 +139,7 @@ The following options can be used to customize the behavior of lf:
shellopts string (default '')
sortby string (default 'natural')
timefmt string (default 'Mon Jan _2 15:04:05 2006')
truncatechar string (default '~')
The following variables are exported for shell commands: