Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function! SendFile()
- let code = join(getline(0, line("$")), "\n")
- silent execute "!send-file <<< " . shellescape(code, 1)
- " redraw!
- endfunction
- map <silent> ,h :call SendFile()<CR>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement