Quick File Path
Quickly send file paths to the terminal.

Features
- Send Active File Path: Send the relative path of the currently active editor file to the terminal
- Send Selected File Path: Send the relative path of the file selected in Explorer or Source Control to the terminal
Usage
- Open Keyboard Shortcuts (
Cmd+K Cmd+S)
- Search for "Quick File Path"
- Assign your preferred keybindings
Recommended Keybinding Setup
{
"key": "cmd+;",
"command": "quickFilePath.sendActiveFilePath",
"when": "editorFocus"
}
{
"key": "cmd+;",
"command": "quickFilePath.sendSelectedFilePath",
"when": "listFocus && (explorerViewletFocus || focusedView == 'workbench.scm')"
}
Note: sendSelectedFilePath uses the clipboard internally, so your clipboard contents will be overwritten.
| |