Skip to content

Instantly share code, notes, and snippets.

@vinniefranco
Created February 7, 2013 10:35
Show Gist options
  • Save vinniefranco/4730156 to your computer and use it in GitHub Desktop.
Save vinniefranco/4730156 to your computer and use it in GitHub Desktop.
" Quick array creation
nmap <leader>ta vF=l<Esc>:s/\%V\S\+/"&",/g<CR>A<BS><Esc>vF=2lgS[JJ:let @/ = ""<CR>
@vinniefranco
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment