Created
February 16, 2017 23:52
-
-
Save brandonpittman/ea9cb85b947741c437e42ae35fd632ed to your computer and use it in GitHub Desktop.
Convert a ThronesDB decklist into a usable format for ThronesTeki
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
function! Gotconvert() abort | |
silent g/^\D/d | |
silent g/^$/d | |
silent %s/\v^(\d)x (.+)/\1\2 | |
endfunction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment