# BetterGoToFile Open file path under cursor in Sublime Text. If path resolves to a single file in current project, it is opened right away. If several files match, you get a quick panel to choose one. Supported forms: ```text path/to/file.py path/to/file.py:42 "path/to/file.py" '/absolute/path/to/file.py' ``` ## Shortcut Add a key binding to your user keymap: ```js [ {"keys": ["ctrl+enter"], "command": "goto_file"} ] ``` Use whatever key you prefer. The command is also available from the command palette as "BetterGoToFile: Open File at Cursor". If no path is found or nothing matches, the plugin falls back to Sublime's `goto_definition` command by default. You can change that in `BetterGoToFile.sublime-settings`: ```js { "fallback_command": "goto_definition", "fallback_args": {}, "excluded_dirs": [".git", "node_modules", "__pycache__", ".venv"] } ``` Project files are cached for a few minutes to avoid walking the same folders on every command run.