esamattis / slimux

SLIME inspired tmux integration plugin for Vim
http://esa-matti.suuronen.org/blog/2012/04/19/slimux-tmux-plugin-for-vim/
Other
217 stars 52 forks source link

Make SlimuxSendKeysLast send last prompted-for keys instead of last sent keys #48

Open slashfoo opened 8 years ago

slashfoo commented 8 years ago

SlimuxSendKeysLast prompts if one hasn't specified what to send, and then keeps sending that.

When someone uses SlimuxSendKeys command to send keys, however, the last sent gets overwritten and one would need to re-enter what was typed at the prompt.

I think separating the last-sent from the path by SlimuxSendKeys, and only involve the Prompt and Last commands it would avoid this problem.