Tmux Part 4: Vim Integration

Hello Hunt, could you provide a bit more detail? I would expect things to work assuming you use the plugins as described in the show notes for this video. Specifically, you can use the following:

Bundle 'thoughtbot/vim-rspec'

let g:rspec_command = "VtrSendCommandToRunner! rspec {spec}"

map <Leader>t :call RunNearestSpec()<CR>

Note the ! at the end of the command, there is also a version without a !. The ! version will open a runner pane if none is attached. If you want to manually open and position the runner pane, you can use :VtrAttachToPane.

1 Like