Name of the active buffer does not update when switching between files of the same filetype
Closed this issue · 2 comments
bmedicke commented
% 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.
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 %'
\ }
mhinz commented
Thanks for the feedback! It should work now.
bmedicke commented
It does, thank you.