fix push with command example
This commit is contained in:
parent
27135faccd
commit
00516af039
2
doc.go
2
doc.go
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user