How do you open a TextMate tab in an another window? - textmate

I have two monitors on my system and sometimes I want to open a tab (i.e. file) from one window in its own window.
Is this possible?

You can't move a tab to a new window (yet? see this suggestion), but you can open a file in a new window from the drawer. Right-click the file in the drawer and choose "Open filename in New Window."
Find next is ⌘+G.

Find Next is Cmd-g. Moving a tab is View > Move to New Window. Exploring the menus would be a good idea.
Ignore me, confused editors (see comments).

Related

How do I stop Visual Studio 2022 find starting a new set of editor tabs?

I use various finds to do basically all my navigation in VS... haven't been back to .NET for a while, and are using VS 2022, but there's a behaviour I can't handle, and I'm wondering how to stop it.
Basically
I have a set of code open in a bunch of tabs.
I hit the key to open the "find in files" window and put in a search
It opens a new pane with find results in it.
Clicking on any file inside the find results opens that file IN THIS NEW PANE
So suddenly I have two sets of editor tabs. I never want two sets of editor tabs.
How do I stop it doing this?
It sounds like your Find Results window is Docked as Tabbed Document. In this case, right click the Find Results tab and select Dock to fix the problem.

Opening a file in a new window in macOS?

Pretty much what the title says.
I would like when I use File -> Open or Cmd + O to open a file/directory, Atom would open it in a new Atom editor window not in a new tab inside the existing editor window.
Thanks in advance!
If you want to open a file in a new window using Atom in a mac, at most you can deactivate the option "Always Show Tab Bar" in Settings > Packages > tabs AND open the window before opening a file:
You can think a "window" as a "projects" container.. so when you just open a file is like you are opening it in the current project for this reason you will see it in a new tab inside the window.
In this way is like you are opening a one-file project, hidding his single tab bar.
The result:
If you need to switch to another file in the same path or close you can just open the "tree view" (cmd+):

Xcode 5: disable single-click in navigation

So, after struggling with horrible interface choices of Xcode 4, I'm finally on 5.1.1.
The tabs became almost usable. Double clicking can be configured to open a file in a new tab. Good. Double clicking another file opens it in a new tab. Good. Double clicking first file again switches to previously open tab. Good! Double clicking first file while it is open in current tab opens a second tab with that file. Ok, I can live with that, since from there on they just switch from one to another.
So far a surprisingly sane behavior.
Unless you make a single click in the navigation panel by mistake. Single click opens whatever you click in the current tab, all logic and reason be damned.
The question is, how to change single click behavior to "Use separate tab" (or however Xcode refers to that behavior)?
Is there any way to disable single clicks from doing anything at all aside from highlighting the selection?
There's no option to disable the single-click behavior. Two options that get you close to your desired behavior are:
Use a single separate window for most of your tabs. Use a "main" window that has the file navigator visible, and a separate "work" window with the file navigator hidden. If you want to add a tab to the work window, create it in the main window and then drag it's tab over to the work window. This is an extra step, but you'll never have a single click change any of the tabs that you care about (thought it'll still change the primary or focussed editor in the main window, depending on your settings).
Use separate windows for each file. There's a preference setting that lets you create windows instead of tabs when you double-click a file in the file navigator. Use Mission Control instead of the tab bar to navigate between your files.

Xcode 4 shortcut for swapping focus between editor and assistant editor

In Xcode, I am big fan of the assitant editor that shows me the corresponding .h or .m for the file that I am editing.
Is there a shortcut that allows me to swap focus between this two windows? I frequently switch between the two and using the mouse every time is annoying.
New answer:
Move Focus To Editor — commandj followed by ←/↑/↓/→ and return
This goes nicely together with commandshiftj which is Reveal in Project Navigator.
Old answer:
Use optioncommand` keyboard shortcut.
It can be remapped in Preferences - Keyboard Bindings - Move Focus To Next Area.
Edit: Removed XVim recommendation.
#Oneiros: Not quite what the OP was asking for..
I don't know of a 'short' shortcut but there's Cmd-J showing a popup where you can choose what to focus.
I made this to help answer another question... Does it help?
Xcode 8+
This is the easiest option:
^` - Move Focus to Next Editor
When using multiple assistant editors, ⇧^` moves focus to previous editor.
Xcode 4+
⌥⌘` - Move Focus to Next Area
⇧⌥⌘` - Move Focus to Previous Area
Using this option you can switch between Project Navigator (left pane), Primary Editor, Assistant Editors, Utility Area (right pane), Debug Area, etc.
⌘J - Move Focus to Editor...
Using this option you can choose where to move the focus using graphical navigation chooser.
For Xcode 4.4:
Use Cmd+Option+` (left to number 1) to Move Focus to Next Area, and use Cmd+Option+Shift+` to Move Focus to Previous Area
For Xcode 4.3:
If you only have the Editor and Assistant open, use Cmd+Option+. to switch between them (Navigator>Move Focus to next area)
Also, if you want to open a different file in the right pane, like the .xib or any other, press
Command ⌘shift ⇧o
The open quickly window will appear, search the file, use capital letters to filter through camel case notation, then press
Alt ⌥enter ↵
The file will be opened in the assistant window
Switching between .h and .m:
Control ^Command ⌘Up Arrow ↑
You can do this:
Assume you have Standart(S) and Assistance(A) editor opened and you want swap them.
1) Double tap with holded Alt to line in navigation bar of S editor with file name (look screenshot). This file will open in A editor.
2) In A editor tap Go Back and do 1. File from A editor will be opened in S editor.
3) In A editor tap Go Forward.
DONE!

Multiple editor windows in Xcode

When coding in Xcode, I double-click a file in the "Groups and files" list, and it opens a new editor window. I have several of these open at once.
Until today.
Today, when I double-click a file in the list, it opens the file in the last editor window I was using, meaning I can only have one editor window up at any one time.
I guess I've switched some option somewhere by mistake. How do I get it back to the way I like it?
I'm using Xcode 3.2.5
In the top right of the editing window is an icon that says "grouped", perhaps you clicked on it by accident.
Click on it so it says "ungrouped", and you'll be back to opening multiple windows.
perhaps preferences>General>Open Counterpart in same Editor

Resources