Skip to content

Instantly share code, notes, and snippets.

@msonnabaum
Created April 4, 2011 18:03
Show Gist options
  • Save msonnabaum/902086 to your computer and use it in GitHub Desktop.
Save msonnabaum/902086 to your computer and use it in GitHub Desktop.
variable_get the word under the cursor with ,v
nnoremap ,v :execute "!drush vget ".shellescape(expand("<cword>"), 1)<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment