Created
January 27, 2015 20:01
-
-
Save csexton/c1b271d0ee97b1057515 to your computer and use it in GitHub Desktop.
Use a fuzzy finder to open a file in $EDITOR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# v Command {{{ | |
# Fuzzy file opener in your editor | |
v(){ | |
file=$(fzf) | |
[[ -n "$file" ]] && $EDITOR $file | |
} | |
# }}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment