fix push with command example
This commit is contained in:
1 parent
27135faccd
commit
00516af039
3 files changed
+3
-3
No files matched your search
@@ -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.
|
||||
|
||||
+1
-1
@@ -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.
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user