(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
:
# idea from :http://web.archive.org/web/20020617214130/http://vb-world.net/files/tip511.html | |
require 'win32ole' | |
def get_long_filename(shortpath, fso = WIN32OLE.new("Scripting.FileSystemObject")) | |
path = case | |
when fso.FolderExists(shortpath) | |
fso.GetFolder(fso.GetAbsolutePathName(shortpath)) | |
when fso.FileExists(shortpath) | |
fso.GetFile(fso.GetAbsolutePathName(shortpath)) |