A tiny vim plugin that sends a word/line/paragraph of text from vim into a tmux pane for execution.
git clone https://mcol.xyz/code/tide
Log | Files | Refs | README | LICENSE

commit 81885b5fd56cf699a606597744a8862c672c0e27
parent 72c6303579c7f4341a3cdc8eef03ab39cad37495
Author: mcol <mcol@posteo.net>
Date:   Mon, 11 Mar 2019 15:41:25 +0000

added TmuxSendWORD to send <cWORD>

Mplugin/tide.vim | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/plugin/tide.vim b/plugin/tide.vim @@ -124,6 +124,7 @@ silent! xnoremap <unique> <silent> <script> <Plug>TmuxSendVisual :<C-u>TmuxSendV silent! nnoremap <unique> <silent> <script> <Plug>TmuxSendParagraph :TmuxSendParagraph<CR> silent! nnoremap <unique> <silent> <script> <Plug>TmuxSendLine :TmuxSendLine<CR> silent! nnoremap <unique> <silent> <script> <Plug>TmuxSendWord :call TmuxSendKeysEnter(expand("<cword>"))<CR> +silent! nnoremap <unique> <silent> <script> <Plug>TmuxSendWORD :call TmuxSendKeysEnter(expand("<cWORD>"))<CR> silent! nnoremap <unique> <silent> <script> <Plug>TmuxSendSection :TmuxSendSection<CR> " default keybindings @@ -132,6 +133,7 @@ if !exists("g:tide_no_default_keys") silent! nmap <unique> <silent> <F9> <Plug>TmuxSendParagraph silent! nmap <unique> <silent> <F8> <Plug>TmuxSendLine silent! nmap <unique> <silent> <F7> <Plug>TmuxSendWord + silent! nmap <unique> <silent> <F6> <Plug>TmuxSendWORD silent! nmap <unique> <silent> <F4> <Plug>TmuxSendSection endif