I'm sure there's some simple way and that this has been asked and answered before: How do I ask TextMate _not_ to open a new file into a tab of an existing window, but rather into a window of its own?
Main reason I need this is that with multiple unrelated files open I lose track of what's open if they are not all individual windows.
Thx - m.
-- matt neuburg, phd = http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 11! http://shop.oreilly.com/product/0636920107408.do iOS 11 Fundamentals! http://shop.oreilly.com/product/0636920107415.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
Command+N seems to do that for me.
Not so much for you?
On Thu, Apr 12, 2018 at 3:30 PM Matt Neuburg matt@tidbits.com wrote:
I'm sure there's some simple way and that this has been asked and answered before: How do I ask TextMate _not_ to open a new file into a tab of an existing window, but rather into a window of its own?
Main reason I need this is that with multiple unrelated files open I lose track of what's open if they are not all individual windows.
Thx - m.
-- matt neuburg, phd = http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 11! http://shop.oreilly.com/product/0636920107408.do iOS 11 Fundamentals! http://shop.oreilly.com/product/0636920107415.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
I think he might mean with opening from the dragging to the application icon, or with the `mate` command... It is a minor annoyance for me... the number of minor annoyances are kind of adding up in general for me. If I were less lazy I would fix them, or fork it and fix them... or find another editor... but I bought a copy of text mate like 12 years ago... and that is a lot of laziness inertia to overcome.
-Grady
On Apr 12, 2018, at 2:55 PM, Graham Heath graham.p.heath@gmail.com wrote:
Command+N seems to do that for me.
Not so much for you?
On Thu, Apr 12, 2018 at 3:30 PM Matt Neuburg <matt@tidbits.com mailto:matt@tidbits.com> wrote: I'm sure there's some simple way and that this has been asked and answered before: How do I ask TextMate _not_ to open a new file into a tab of an existing window, but rather into a window of its own?
Main reason I need this is that with multiple unrelated files open I lose track of what's open if they are not all individual windows.
Thx - m.
-- matt neuburg, phd = http://www.apeth.net/matt/ http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 11! http://shop.oreilly.com/product/0636920107408.do http://shop.oreilly.com/product/0636920107408.do iOS 11 Fundamentals! http://shop.oreilly.com/product/0636920107415.do http://shop.oreilly.com/product/0636920107415.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html http://www.apeth.com/RubyFrontierDocs/default.html
textmate mailing list textmate@lists.macromates.com mailto:textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate http://lists.macromates.com/listinfo/textmate -- Thanks, Graham P Heath
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Yeah, I shouldn't have said "New", that was misleading. I should have said existing (on disk). So Command-O, or drag onto TextMate's icon — no matter how I open something, it gets melded with what's already open into a tabbed window... m.
On Apr 12, 2018, at 2:04 PM, Grady Player gradyplayer@gmail.com wrote:
I think he might mean with opening from the dragging to the application icon, or with the `mate` command... It is a minor annoyance for me... the number of minor annoyances are kind of adding up in general for me. If I were less lazy I would fix them, or fork it and fix them... or find another editor... but I bought a copy of text mate like 12 years ago... and that is a lot of laziness inertia to overcome.
-Grady
On Apr 12, 2018, at 2:55 PM, Graham Heath graham.p.heath@gmail.com wrote:
Command+N seems to do that for me.
Not so much for you?
On Thu, Apr 12, 2018 at 3:30 PM Matt Neuburg matt@tidbits.com wrote: I'm sure there's some simple way and that this has been asked and answered before: How do I ask TextMate _not_ to open a new file into a tab of an existing window, but rather into a window of its own?
Main reason I need this is that with multiple unrelated files open I lose track of what's open if they are not all individual windows.
Thx - m.
-- matt neuburg, phd = http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 11! http://shop.oreilly.com/product/0636920107408.do iOS 11 Fundamentals! http://shop.oreilly.com/product/0636920107415.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate -- Thanks, Graham P Heath
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
-- matt neuburg, phd = http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 11! http://shop.oreilly.com/product/0636920107408.do iOS 11 Fundamentals! http://shop.oreilly.com/product/0636920107415.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
Not exactly what you're after, but there's a Menu Item for "Move tab to new window" which you can add a keyboard shortcut to.
On Fri, 13 Apr 2018 at 01:15 Matt Neuburg matt@tidbits.com wrote:
Yeah, I shouldn't have said "New", that was misleading. I should have said existing (on disk). So Command-O, or drag onto TextMate's icon — no matter how I open something, it gets melded with what's already open into a tabbed window... m.
On Apr 12, 2018, at 2:04 PM, Grady Player gradyplayer@gmail.com wrote:
I think he might mean with opening from the dragging to the application
icon, or with the `mate` command...
It is a minor annoyance for me... the number of minor annoyances are
kind of adding up in general for me.
If I were less lazy I would fix them, or fork it and fix them... or find
another editor... but I bought a copy of text mate like 12 years ago... and that is a lot of laziness inertia to overcome.
-Grady
On Apr 12, 2018, at 2:55 PM, Graham Heath graham.p.heath@gmail.com
wrote:
Command+N seems to do that for me.
Not so much for you?
On Thu, Apr 12, 2018 at 3:30 PM Matt Neuburg matt@tidbits.com wrote: I'm sure there's some simple way and that this has been asked and
answered before: How do I ask TextMate _not_ to open a new file into a tab of an existing window, but rather into a window of its own?
Main reason I need this is that with multiple unrelated files open I
lose track of what's open if they are not all individual windows.
Thx - m.
-- matt neuburg, phd = http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 11! http://shop.oreilly.com/product/0636920107408.do iOS 11 Fundamentals! http://shop.oreilly.com/product/0636920107415.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate -- Thanks, Graham P Heath
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
-- matt neuburg, phd = http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 11! http://shop.oreilly.com/product/0636920107408.do iOS 11 Fundamentals! http://shop.oreilly.com/product/0636920107415.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On Apr 12, 2018, at 3:30 PM, Matt Neuburg matt@tidbits.com wrote:
I'm sure there's some simple way and that this has been asked and answered before: How do I ask TextMate _not_ to open a new file into a tab of an existing window, but rather into a window of its own?
I think the best way to explain how to work with the issue is to learn how TextMate treats windows and projects. Then you should understand why TextMate sometimes opens a document in a tab vs a window.
So firstly in 2.0 everything is a project, in 1.x this wasn’t the case as a project was a specific thing that was created. When you open a directory in TextMate that becomes the project, if you open a file in a window by itself it’s parent directory becomes the project directory for that window. The project determines where Find in Project and Open Quickly search along with other features. It is also the directory that many bundle items will use as the working directory, etc.
Now if you open a file the already opened projects are checked, if the file is contained within that project it is opened as a tab in that project to help group and organize your work area. If the file is not contained in an open project it gets a new window and becomes a project itself.
If your getting a case where you are seeing all documents opening in a single window this is likely because you have a window with a very high project directory. Like if you open a file that is in the root of your documents folder then any file in that folder will open in that window even if it is a few levels down in the hierarchy. This can also happen if you open a file in the root of your home folder. Check if this is the case in the window you are having an issue with and either close that window or reset the project directory lower down by using the path menu at the top of the file browser (It offers the option to set the current directory as the project directory).
On Apr 13, 2018, at 4:19 AM, Michael Sheets mummer@whitefalls.org wrote:
Like if you open a file that is in the root of your documents folder then any file in that folder will open in that window even if it is a few levels down in the hierarchy.
Very good explanation, thank you! That's quite right; if I open two files from within the same directory they end up as tabs in the same window, but if I open two files from disparate directories they end up as separate windows.
So what I'm asking for is something like a menu item Open In New Window... so that I can pick a file and have it open in a separate window (rather than having to open the file and _then_ move the tab to a separate window as I'm doing now).
Similarly, it might be nice to have a modifier key such as Shift that I can hold down during a drop onto the TextMate icon and have the file open in a separate window.
m.
-- matt neuburg, phd = http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 11! http://shop.oreilly.com/product/0636920107408.do iOS 11 Fundamentals! http://shop.oreilly.com/product/0636920107415.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
So, I would also really like this feature, or something like it. I would love to work on two documents that are siblings in the directory hierarchy in two windows (split vertically).
On Fri, Apr 13, 2018 at 11:20 AM, Matt Neuburg matt@tidbits.com wrote:
On Apr 13, 2018, at 4:19 AM, Michael Sheets mummer@whitefalls.org
wrote:
Like if you open a file that is in the root of your documents folder
then any file in that folder will open in that window even if it is a few levels down in the hierarchy.
Very good explanation, thank you! That's quite right; if I open two files from within the same directory they end up as tabs in the same window, but if I open two files from disparate directories they end up as separate windows.
So what I'm asking for is something like a menu item Open In New Window... so that I can pick a file and have it open in a separate window (rather than having to open the file and _then_ move the tab to a separate window as I'm doing now).
Similarly, it might be nice to have a modifier key such as Shift that I can hold down during a drop onto the TextMate icon and have the file open in a separate window.
m.
-- matt neuburg, phd = http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 11! http://shop.oreilly.com/product/0636920107408.do iOS 11 Fundamentals! http://shop.oreilly.com/product/0636920107415.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 13 Apr 2018, at 22:20, Matt Neuburg wrote:
Very good explanation, thank you! That's quite right; if I open two files from within the same directory they end up as tabs in the same window, but if I open two files from disparate directories they end up as separate windows.
So what I'm asking for is something like a menu item Open In New Window... so that I can pick a file and have it open in a separate window (rather than having to open the file and _then_ move the tab to a separate window as I'm doing now).
Similarly, it might be nice to have a modifier key such as Shift that I can hold down during a drop onto the TextMate icon and have the file open in a separate window.
I added option (⌥) as a way to force a file to open in its own window (rc.14).
I have noted that people would like to have a preference to set this as the default behavior.
Hey Martin,
That was a great explanation on why this occurs. As you've said, if you open a file in an upper level all downstream docs will open in it. For Macs, which puts user files beneath your $HOME folder, ... this is a very inconvenient 'feature' to have. Any random file I open in my home folder automatically becomes the default project for downstream files (everything).
Is it possible to turn this off? I've never really used the project feature before and I guess I would have preferred to opt-in to such a huge change or at have visibility into how to turn it off.
-J
On 13 April 2018 at 07:19, Michael Sheets mummer@whitefalls.org wrote:
On Apr 12, 2018, at 3:30 PM, Matt Neuburg matt@tidbits.com wrote:
I'm sure there's some simple way and that this has been asked and answered before: How do I ask TextMate _not_ to open a new file into a tab of an existing window, but rather into a window of its own?
I think the best way to explain how to work with the issue is to learn how TextMate treats windows and projects. Then you should understand why TextMate sometimes opens a document in a tab vs a window.
So firstly in 2.0 everything is a project, in 1.x this wasn’t the case as a project was a specific thing that was created. When you open a directory in TextMate that becomes the project, if you open a file in a window by itself it’s parent directory becomes the project directory for that window. The project determines where Find in Project and Open Quickly search along with other features. It is also the directory that many bundle items will use as the working directory, etc.
Now if you open a file the already opened projects are checked, if the file is contained within that project it is opened as a tab in that project to help group and organize your work area. If the file is not contained in an open project it gets a new window and becomes a project itself.
If your getting a case where you are seeing all documents opening in a single window this is likely because you have a window with a very high project directory. Like if you open a file that is in the root of your documents folder then any file in that folder will open in that window even if it is a few levels down in the hierarchy. This can also happen if you open a file in the root of your home folder. Check if this is the case in the window you are having an issue with and either close that window or reset the project directory lower down by using the path menu at the top of the file browser (It offers the option to set the current directory as the project directory).
-- Michael Sheets – MacroMates Support
Tip of the Day: Use ⌃⌘T (control-command-T) to see a list of currently available bundle items, start typing to filter the list.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate