fix _VimuxNearestPaneIndex and escape the text to send to tmux