Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I can re-order 'cmd' tabs in Conemu ( as per Is that possible to reorder tabs in ConEmu?), but the WinAltLeft and WinAltRight shortcuts do not work if the tab has a Cygwin shell in it.

I have tried various combinations of hotkey modifiers but none of them seem to work with the Cygwin shell.

This is problematic because most of the tabs in my ConEmu have Cygwin shells.

I open a Cygwin shell using the following command:

C:\cygwin\bin\mintty.exe -i /Cygwin-Terminal.ico -
share|improve this question

2 Answers 2

up vote 2 down vote accepted

Cygwin shell is sh.exe!

mintty.exe is another GUI terminal emulator, but not a shell. Are you sure you need it?

When you run GUI application in ConEmu - it put keyboard focus into that child window and does not process keystrokes at all. With the exception of very few globally registered keystrokes.

If you open "Keys & Macro" settings page you may find global hotkey for "Put focus to ConEmu window" (not sure of the exact name). After that you may reorder GUI child applications running in ConEmu tabs.

Upd. New ConEmu builds can reorder tabs by dragging them with mouse.

share|improve this answer
    
That works. Cheers !! –  Ashutosh Jindal Sep 5 '13 at 7:59

Maximus' answer (both options are correct). I'll quickly jot down a few details (adding this as an answer to use snapshots).

Option 1 : If you use mintty or another terminal emulator

In Settings -> 'Keys & Macro', add a keyboard snapshot for 'Set focus to ConEmu' like so:

enter image description here

Once you do this, you should be able to use this shortcut to focus Conemu and then use the shortcut to re-order.

For example, my shortcuts are setup as in the snapshot:
'Set focus to ConEmu' : WinAltShift1 'Move active tab leftward' : WinAltShiftLeft

So if I have to move a mintty console left/right I use the above in sequence.

This is a generic way of re-orderding tabs if you use ConEmu to run GUI applications.

Option 2 (Simpler, Cygwin Specific): Directly use bash.exe/sh.exe

If I start a new console by directly using the bash or sh.exe, then I can re-order without any issues (there is not need to focus the Conemu window first)

For instance:

C:\dev\cygwin\bin\bash.exe --login -i

enter image description here

share|improve this answer
    
Option 1 works for me. Thanks. –  Conaaando Apr 14 at 20:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.