rename paste command to put

This commit is contained in:
Gokcehan committed 2016-11-06 18:09:18 +03:00
1 parent daff377f2d
commit ec4cb78535
6 files changed
+16 -16

No files matched your search

+3 -3
View File
@@ -309,9 +309,9 @@ func (e *CallExpr) eval(app *App, args []string) {
app.ui.message = fmt.Sprintf("%d files saved for move", len(app.nav.marks))
}
app.nav.marks = make(map[string]bool)
case "paste":
if err := app.nav.paste(); err != nil {
msg := fmt.Sprintf("paste: %s", err)
case "put":
if err := app.nav.put(); err != nil {
msg := fmt.Sprintf("put: %s", err)
app.ui.message = msg
log.Printf(msg)
return