How to issue a OSC 7 sequence to tmux without actually changing directory with :cd
in neovim. Rationale: I want to update the pane_current_path of tmux with every BufEnter, but not change the current working directory in nvim. I tried call printf(’\e]7;%s\e’,’/Users/reportaman’), but it doesn’t change tmux pane_current_path. Changing directory with :cd
in neovim does correctly change the pane_current_path option in tmux.
Note: pane_current_path is not directly settable by the user, it can only be set using something like OSC 7 escape sequence.