Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 19 lines (13 sloc) 0.25 kb
#!/bin/bash
file=`xclip -o`
IFS=:
set $file
if [ -z $2 -o -z $3 ]; then
echo "illegal selection '$file'" >&2
exit 1
fi
if [ ! -e $1 ]; then
echo "file '$1' does not exist" >&2
exit 1
fi
/usr/bin/vim $1 "+call cursor($2, $3)" -c "foldopen!"
Jump to Line
Something went wrong with that request. Please try again.