That was Star Trek: Generations. In the original script, the movie starts with James Kirk doing a dangerous orbital skydiving thing, trying to recapture the thrill of his younger days.
There is a good space-jump sequence in the new Star Trek (2009) movie.