How to send escape sequences from within Vim?
问题 So recently Apple have included support for displaying the working directory and file in the status bar of Terminal. The escape sequence that must be sent (to set the current file) is this: ESC ] 6 ; Pt BEL where Pt is a file:// url pointing to the file currently being edited. So I figured I could get Vim to send this command as an escape sequence, but I'm having a bit of trouble. I have this so far: au BufNewFile,BufReadPost,BufFilePost,BufWritePost * echo <escape sequence> but I have a