Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tmux send-keys #4

Open
andy-lang opened this issue Jun 26, 2016 · 0 comments
Open

tmux send-keys #4

andy-lang opened this issue Jun 26, 2016 · 0 comments

Comments

@andy-lang
Copy link
Owner

As pointed out by @tonywoode, the method of tmux send-keys is not wonderfully ideal, mostly because it adds a command to the user's shell history.

The issue with a conventional call to vim *flags* *files* is that the call is blocking in Python until Vim closes. This means that tmux believes that the currently running program is Python, not Vim. While this is usually fine, it breaks compatibility with the excellent vim-tmux-navigator.

However, @tonywoode has also found a potential solution to this issue, by removing the command from the history after it's been made. There's a couple of solutions outlined regarding how this can be done on StackOverflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant