Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save alex-harvey-z3q/c56e8ff4b190d27da3b9c81a95a02d10 to your computer and use it in GitHub Desktop.
Save alex-harvey-z3q/c56e8ff4b190d27da3b9c81a95a02d10 to your computer and use it in GitHub Desktop.
function! AddLine()
call search("bbb")
call search("bbb")
let l:foundline = search("ccc")
call append(l:foundline, "ddd")
wq!
endfunction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment