Skip to content

Instantly share code, notes, and snippets.

@gilbertw1
Created October 5, 2017 17:18
Show Gist options
  • Save gilbertw1/d04187cb530796befc89f0fa44c9166e to your computer and use it in GitHub Desktop.
Save gilbertw1/d04187cb530796befc89f0fa44c9166e to your computer and use it in GitHub Desktop.
GVIM
#!/bin/sh
for file in "$@"
do
if [ -f "$file" ]; then
termite -e "nvim $file"
break
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment