Skip to content

Instantly share code, notes, and snippets.

@dahu
Created April 4, 2012 22:33
Show Gist options
  • Select an option

  • Save dahu/2306173 to your computer and use it in GitHub Desktop.

Select an option

Save dahu/2306173 to your computer and use it in GitHub Desktop.
Vim startinsert example
func! Foo()
call setline('.', "s///")
call setpos('.', [0, 1, 3, 0])
startinsert
endfunc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment