Skip to content

Instantly share code, notes, and snippets.

@amatsuda
Created September 2, 2011 03:41
Show Gist options
  • Select an option

  • Save amatsuda/1187873 to your computer and use it in GitHub Desktop.

Select an option

Save amatsuda/1187873 to your computer and use it in GitHub Desktop.
% v foo_bar.rb:100 starts vim at line 100
# put this function in your .zshrc
function v() {vim ${${=*/:/ +}/:*}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment