Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime Text 2: Opening single window and ignoring all other windows

I am using Sublime Text 2 on Linux. I use it as my primary programming editor. That is I have several tabs opened throughout the sessions. Yet sometimes I only want to quickly open a single file without opening all my other files from a previous session.

The default behaviour on my system is that the new opened file becomes a new tab besides my previously opened files. What I want, however, is to open just the new file (some sort of incognito browsing) without opening all the other previous files. That is, one tab in one window.

Does Sublime Text support that file opening behaviour?

like image 239
orschiro Avatar asked Aug 07 '13 20:08

orschiro


People also ask

How do I open multiple windows in Sublime Text?

To do so, you need to press Ctrl+K, then Ctrl+Shift+Up. You can repeat as many times as you like. Press Ctrl+K, then Ctrl+Shift+Up to open a new sub-window.

How do I make sublime text not open last project?

Make sure Sublime is closed, then delete Auto Save Session. sublime_session and Session. sublime_session . This will not only close all the windows and tabs you have open, but it will also remove the entries in the File -> Open Recent and Project -> Open Recent menus.

How do I split a tab in Sublime Text?

To view two row (horizontal) panes side-by-side use the shortcut SHIFT-ALT-UP-2 (PC) or SHIFT-OPTION-⌘-2 (Mac). Replace the last stroke with “3” to view three panes respectively. If you want to split a pane further, you can use ST3's “Group” feature.


1 Answers

You can change the User Settings hot_exitand remember_open_files to false.

{
  "hot_exit": false,
  "remember_open_files": false,
}
like image 187
messivanio Avatar answered Oct 06 '22 03:10

messivanio