Add statfmt option (#1288)

* Add `fileinfofmt` option

* echof is now unused

* Use different default for Windows

* Add new line to docs

* Indent placeholders description in documentation

* Change option name to `statfmt`

* Use plain text format for documentation
This commit is contained in:
Joe Lim authored and GitHub committed 2023-06-09 14:45:35 +03:00
1 parent 59f32193ae
commit 2ab4b14e88
9 files changed
+50 -17

No files matched your search

+2
View File
@@ -123,6 +123,8 @@ func setDefaults() {
gOpts.cmds["doc"] = &execExpr{"!", "%lf% -doc | %PAGER%"}
gOpts.keys["<f-1>"] = &callExpr{"doc", nil, 1}
gOpts.statfmt = "\033[36m%p\033[0m %s %t %L"
}
func setUserUmask() {}