Make duplicated file format configurable (#1315)

* Make duplicated file format configurable

* Add %b and %f options to dupfilefmt
This commit is contained in:
David Pedersen authored and GitHub committed 2023-07-04 12:29:24 +03:00
1 parent 835c5b35e2
commit f20d0e5fb4
8 files changed
+47 -4

No files matched your search

+2
View File
@@ -230,6 +230,8 @@ func (e *setExpr) eval(app *app, args []string) {
app.nav.regCache = make(map[string]*reg)
}
app.ui.loadFile(app, true)
case "dupfilefmt":
gOpts.dupfilefmt = e.val
case "errorfmt":
gOpts.errorfmt = e.val
case "filesep":