如何將當前文件路徑嵌入到自定義用戶鍵盤映射中?我指的是這個文檔:Sublime Text 3用法鍵盤映射用戶
http://sublimetext.info/docs/en/reference/build_systems.html
已經遭到反對,但我沒有看到相當於文檔$file_path
變量,我需要在我的鍵盤映射最新文檔中使用。我沒有任何運氣。我的鍵盤佈局是這樣的(嘗試推出谷歌瀏覽器與標誌包裝我的應用程序):
{
"keys": [
"shift+ctrl+g"
],
"command": "exec",
"args": {
"cmd": [
"c:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe",
"--pack-extension=${file_path}"
]
}
}
這不是關鍵綁定文檔,而是構建系統文檔。有關構建系統的更多詳細信息,請參閱http://docs.sublimetext.info/en/latest/reference/build_systems.html和http://docs.sublimetext.info/en/latest/file_processing/build_systems.html。 – skuroda