Created
July 24, 2013 14:01
-
-
Save nicalpi/6070841 to your computer and use it in GitHub Desktop.
Is it possible to VimGolf this?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To help me importing some CSV | |
# Using vim (to avoid eval hell) | |
# can we 'easily' move from something like | |
legacy_venue_id,venue_name,legacy_region_id,venue_address,venue_oot,venue_db,venue_notes | |
# To something like | |
legacy_venue_id = row[0] | |
venue_name = row[1] | |
legacy_region_id = row[2] | |
venue_address = row[3] | |
venue_oot = row[4] | |
venue_db = row[5] | |
venue_notes = row[6] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm sure that if you posted this example to http://vimgolf.com/ you'd get some solutions that required fewer keystrokes!