Created
April 23, 2015 12:54
-
-
Save sjktje/aa54ce247ae447d92609 to your computer and use it in GitHub Desktop.
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
nmap <leader>am :call Abc2midi()<CR> | |
function! Abc2midi() | |
let midi_file_name = expand('%:r') . '.mid' | |
let abc_file_name = expand('%') | |
let cmd = 'abc2midi -o ' . midi_file_name . ' ' .abc_file_name | |
call system(cmd) | |
endfunction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment