Skip to content

Instantly share code, notes, and snippets.

@iolathief108
Created July 22, 2021 22:58
Show Gist options
  • Save iolathief108/548cd74cd7235206f1f3cb84ec945026 to your computer and use it in GitHub Desktop.
Save iolathief108/548cd74cd7235206f1f3cb84ec945026 to your computer and use it in GitHub Desktop.
Way to make sublime open in new window every time

how to make sublime open in new window

Right click open

  • Regedit
  • HKEY_CLASSES_ROOT/*/shell/Open with sublime/command/
  • "C:\Program Files\Sublime Text 3\sublime_text.exe" "-n" "%1"

Double click open

  • Regedit
  • HKEY_CLASSES_ROOT/Applications/sublime_text.exe/shell/open/command
  • "C:\Program Files\Sublime Text 3\sublime_text.exe" "-n" "%1"

Task bar

  • remove existing task bar shortcut
  • add sublime text shortcut to windows start (as you normally do)
  • then right click goto file location (that should be a shortcut)
  • right click property target field
  • "C:\Program Files\Sublime Text 3\sublime_text.exe" "-n"
  • click ok
  • drag that to taskbar
  • right click pin to start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment