parent
cd63dc1872
commit
826787450a
@ -36,7 +36,7 @@ There are three special commands for configuration.
|
|||||||
`map` is used to bind a key to a command which could be:
|
`map` is used to bind a key to a command which could be:
|
||||||
|
|
||||||
- built-in command (e.g. `map gh cd ~`)
|
- built-in command (e.g. `map gh cd ~`)
|
||||||
- custom command (e.g. `map dD trash`)
|
- custom command (e.g. `map D trash`)
|
||||||
- shell command (e.g. `map i $less "$f"`, `map u !du -h . | less`)
|
- shell command (e.g. `map i $less "$f"`, `map u !du -h . | less`)
|
||||||
|
|
||||||
`cmd` is used to define a custom command.
|
`cmd` is used to define a custom command.
|
||||||
@ -46,6 +46,8 @@ An explicit `:` could be provided to group statements until a `\n` occurs.
|
|||||||
This is especially useful for `map` and `cmd` commands.
|
This is especially useful for `map` and `cmd` commands.
|
||||||
If you need multiline you can wrap statements in `{{` and `}}` after the proper prefix.
|
If you need multiline you can wrap statements in `{{` and `}}` after the proper prefix.
|
||||||
|
|
||||||
|
You can delete an existing binding or command by leaving the expression empty (e.g. `map gh` or `cmd trash`).
|
||||||
|
|
||||||
## Yank/Delete/Paste
|
## Yank/Delete/Paste
|
||||||
|
|
||||||
`lf` uses the underlying `cp` and `mv` shell commands for file operations.
|
`lf` uses the underlying `cp` and `mv` shell commands for file operations.
|
||||||
|
Loading…
Reference in New Issue
Block a user