Created
June 14, 2019 02:25
-
-
Save kybr/846ab4af3a196f6647fa71793694d66b 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
function! SendFile() | |
let code = join(getline(0, line("$")), "\n") | |
silent execute "!send-file <<< " . shellescape(code, 1) | |
" redraw! | |
endfunction | |
map <silent> ,h :call SendFile()<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment