Created
January 28, 2016 12:11
-
-
Save vansoest/61796966d0ec1453cfc3 to your computer and use it in GitHub Desktop.
Open by the absolute path of a binary/shellscript with vim.
This file contains 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
function vim-which() { | |
if [ "$1" != "" ]; then | |
vim $(which $1) | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment