Update VimuxSlime example to use VimuxRunCommand (#165)

I was a little confused by the example in the VimuxTslimeReplacement 
section until I figured out that it was supposed to be calling
VimuxRunCommand, rather than VimuxSendText -> VimuxSendKeys. 
The intended call is referenced in the follow paragraph, where it 
describes passing `0` as a second arg to that call to avoid an 
unwanted extra newline.
pull/171/merge
Thomas Mayfield 3 years ago committed by GitHub
parent 1dec7164ca
commit 8fa6ca92c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -251,8 +251,7 @@ First, add some helpful mappings.
>
function! VimuxSlime()
call VimuxSendText(@v)
call VimuxSendKeys("Enter")
call VimuxRunCommand(@v, 0)
endfunction
" If text is selected, save it in the v buffer and send that buffer it to tmux

Loading…
Cancel
Save