mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-06-03 07:50:49 +00:00
parent
d649f5d826
commit
e97176b1d7
|
@ -60,13 +60,13 @@ CHANGELOG
|
||||||
an external command
|
an external command
|
||||||
```sh
|
```sh
|
||||||
# Press space to convert the query to uppercase letters
|
# Press space to convert the query to uppercase letters
|
||||||
fzf --bind 'space:transform-query(tr [:lower:] [:upper:] <<< {q})'
|
fzf --bind 'space:transform-query(tr "[:lower:]" "[:upper:]" <<< {q})'
|
||||||
|
|
||||||
# Bind it to 'change' event for automatic conversion
|
# Bind it to 'change' event for automatic conversion
|
||||||
fzf --bind 'change:transform-query(tr [:lower:] [:upper:] <<< {q})'
|
fzf --bind 'change:transform-query(tr "[:lower:]" "[:upper:]" <<< {q})'
|
||||||
|
|
||||||
# Can only type numbers
|
# Can only type numbers
|
||||||
fzf --bind 'change:transform-query(sed 's/[^0-9]//g' <<< {q})'
|
fzf --bind 'change:transform-query(sed "s/[^0-9]//g" <<< {q})'
|
||||||
```
|
```
|
||||||
- `put` action can optionally take an argument string
|
- `put` action can optionally take an argument string
|
||||||
```sh
|
```sh
|
||||||
|
|
Loading…
Reference in New Issue
Block a user