mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-19 17:13:42 -05:00
Updated Examples (fish) (markdown)
@@ -135,3 +135,17 @@ function fpass -d "Fuzzy-find a Lastpass entry and copy the password"
|
||||
lpass ls | fzf | string replace -r -a '.+\[id: (\d+)\]' '$1' | read -l result; and lpass show -c --password "$result"
|
||||
end
|
||||
```
|
||||
|
||||
### Vscode
|
||||
```
|
||||
set -gx vscode_path "$HOME/.config/VScodium"
|
||||
set -gx vscode_command "codium"
|
||||
|
||||
function vsr -d "List recently opened files with vscode"
|
||||
codium (\
|
||||
rg -o --no-line-number '"path": "/.*[^/]"' "$vscode_path/storage.json" \
|
||||
| string replace -a '"path": ' '' \
|
||||
| string trim -c '"'\
|
||||
| fzf )
|
||||
end
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user