m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 08:13:40 -05:00

Updated Examples (markdown)

Junegunn Choi
2015-04-03 13:30:09 +09:00
parent e81500159b
commit ea7ce44305

@@ -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