A tiny vim plugin that sends a word/line/paragraph of text from vim into a tmux pane for execution.
git clone https://github.com/m-col/tide
Files | Refs | Readme | License

Commit 0ab49629f22e96f3a06f04d4db96bbcc99018624
Parent: e1136b422dcce741aff8cc23e2789be9e08427ca
Author: mcol <mcol@posteo.net>
Date: 2018-12-09 11:30:16 +0000
Committer: mcol <mcol@posteo.net>
Committed: 2018-12-09 11:30:16 +0000

escape dollar sign to stop expansion of variables before being input to tmux

plugin/tide.vim Modified

@@ -15,6 +15,7 @@
     let l:keys = substitute(l:keys, '\', '\\\\', 'g') "escape backslashes
     let l:keys = substitute(l:keys, '\"', '\\\"', 'g') "escape double quotes
     let l:keys = substitute(l:keys, '!', '\!', 'g') "escape esclamation mark
+    let l:keys = substitute(l:keys, '\$', '\\\$', 'g') "escape dollar sign
     call system(g:tmux_cmd . "-l \"" . l:keys . "\"")
 endfunction
 function! s:TmuxSendEnter()