fix push with command example

This commit is contained in:
Gokcehan 2016-09-20 23:18:39 +03:00
parent 27135faccd
commit 00516af039
3 changed files with 3 additions and 3 deletions

2
doc.go
View File

@ -121,7 +121,7 @@ with a command count.
Second, it can be used to avoid typing the name when a command takes arguments.
map r push :rename<space>
map r :push :rename<space>
One thing to be careful is that since "push" command works with keys instead of
commands it is possible to accidentally create recursive bindings.

View File

@ -131,7 +131,7 @@ command with a command count.
Second, it can be used to avoid typing the name when a command takes
arguments.
map r push :rename<space>
map r :push :rename<space>
One thing to be careful is that since "push" command works with keys instead
of commands it is possible to accidentally create recursive bindings.

View File

@ -74,7 +74,7 @@ cmd open-file ${{
# rename current file without overwrite
cmd rename $[ -e "$1" ] || mv "$f" "$1"
map r push :rename<space>
map r :push :rename<space>
# show disk usage
cmd usage $du -h . | less