jebaum/vim-tmuxify

Name of the active buffer does not update when switching between files of the same filetype

Closed this issue · 2 comments

% in tmuxify_run does not expand to the name of the active buffer but to the first buffer of each filetype. Even killing that buffer with :bd will result in the first one to be returned.

Basically the active buffer is fetched only once for each filetype.

buf
The pane association works fine (first echos via <Leader>ms),
but switching between the splits and running <Leader>mr always executes the first script.

let g:tmuxify_run = {
\ 'sh': 'bash %',
\ 'fortune': 'strfile %'
\ }

Thanks for the feedback! It should work now.

It does, thank you.