Skip to content

Instantly share code, notes, and snippets.

@vansoest
Created January 28, 2016 12:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vansoest/61796966d0ec1453cfc3 to your computer and use it in GitHub Desktop.
Save vansoest/61796966d0ec1453cfc3 to your computer and use it in GitHub Desktop.
Open by the absolute path of a binary/shellscript with vim.
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