(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| #!/usr/bin/env python | |
| import os | |
| import sys | |
| import subprocess | |
| if len(sys.argv) > 1: | |
| files = [] | |
| for arg in sys.argv[1:]: | |
| if os.path.exists(arg): | |
| p = os.path.abspath(arg).replace('\\', '\\\\').replace('"', '\\"') |