* allow flexible truncation of filenames
As of now, lf truncates always at the end. So for long filenames one can
not see the end (especially not the file ending, like .jpeg or .pdf).
[MidnightCommander](https://github.com/MidnightCommander/mc/) truncates
too long filenames in the middle, so it's possible to see the beginning
and the end of the too long filename.
This commit allows to specify a flexible point for the truncation in
percent of the available space.
* The default value of 100 for the new `truncatepct` option means no
change in lf behaviour.
* More adhering to naming convention.
* Improve error message for invalid `truncatepct` values.
* Remove redundant test cases.
* FIXUP Add dummy empty line to make `go fmt` happy.
* Avoid explicit "cast" to rune array.
* fix(doc.go): remove line with single dot
This was there to avoid that `go fmt` touches the next item with `waitmsg`.
However, removing the spaces before the example list items has the same
effect.