add command to invert marks in current directory

This commit is contained in:
Olivier Perret committed 2016-10-09 18:19:32 +02:00
1 parent 4d8a37ebc9
commit 69ff83a4b0
6 files changed
+23 -7

No files matched your search

+2
View File
@@ -280,6 +280,8 @@ func (e *CallExpr) eval(app *App, args []string) {
// TODO: implement
case "toggle":
app.nav.toggle()
case "invert":
app.nav.invert()
case "yank":
if err := app.nav.save(true); err != nil {
msg := fmt.Sprintf("yank: %s", err)