Skip to content

Instantly share code, notes, and snippets.

@mhinz
Created September 18, 2013 12:55
Show Gist options
  • Save mhinz/6608767 to your computer and use it in GitHub Desktop.
Save mhinz/6608767 to your computer and use it in GitHub Desktop.
fun! Foo() range
execute a:firstline .','. a:lastline .'normal IOH NOES'
endfun
com! -range Foo <line1>,<line2>call Foo()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment