Skip to content

Instantly share code, notes, and snippets.

@kiko
Created November 24, 2011 09:47
Show Gist options
  • Save kiko/1390991 to your computer and use it in GitHub Desktop.
Save kiko/1390991 to your computer and use it in GitHub Desktop.
function! g:EditFileInNewTerm(file_name)
call system("urxvtc -e vim ".a:file_name." &")
endfunction
command! -complete=file -nargs=1 E call g:EditFileInNewTerm(<f-args>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment