mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-18 08:13:40 -05:00
Updated Examples (markdown)
14
Examples.md
14
Examples.md
@@ -197,6 +197,20 @@ ftpane () {
|
||||
}
|
||||
```
|
||||
|
||||
### v
|
||||
Inspired by [v](https://github.com/rupa/v). Opens files in ~/.viminfo
|
||||
|
||||
```sh
|
||||
# Openings files in ~/.viminfo
|
||||
v() {
|
||||
local files
|
||||
files=$(while read line; do
|
||||
[ -f "${line/\~/$HOME}" ] && echo $line
|
||||
done < <(grep '^>' ~/.viminfo | cut -c3-) | fzf-tmux -d -m) &&
|
||||
vim ${files//\~/$HOME}
|
||||
}
|
||||
```
|
||||
|
||||
### z
|
||||
|
||||
Integration with [z](https://github.com/rupa/z), like normal z when used with
|
||||
|
||||
Reference in New Issue
Block a user