nnn/user-scripts/edit.sh

13 lines
219 B
Bash
Raw Normal View History

2019-01-04 17:24:18 +00:00
#!/usr/bin/env sh
# Description: Fuzzy find a file in directory subtree with fzy and edit in vim
#
# Shell: generic
# Author: Arun Prakash Jana
# bash, zsh
vim $(find -type f | fzy)
# fish
# vim (find -type f | fzy)