Maximus5 / ConEmu

Customizable Windows terminal with tabs, splits, quake-style, hotkeys and more
https://conemu.github.io/
BSD 3-Clause "New" or "Revised" License
8.63k stars 578 forks source link

[question] conemu configuration #1941

Open xeijin opened 5 years ago

xeijin commented 5 years ago

Not sure where else to ask these so please close if not relevant.

I'm trying to make ConEmu act like a Spotlight/Alfred/Launchy replacement much of this I've achieved by editing the appearance/quake/hotkey settings. Remaining questions:

Maximus5 commented 5 years ago

how can I force conemu to always appear in the exact vertical/horizontal centre of my monitor?

Put the window in the center, check "Fixed" instead of "Cascade" and save its position.

is there a way to run a command simultaneously with the 'show /hide' hotkey (CTRL + ')

This sounds weird for me. Assuming you start the Task with fd | fzf when you press Ctrl', you'll get bloat of tabs without prompt. What do you expect?

is it possible to have the output of every command pop-up a separate window (preferably without titlebars) and then disappear again?

I don't understand you. What "command pop-up"? Don't you mean existing option "Multiple consoles in one ConEmu window"?

and then disappear again?

Does it make sense? You'll lose your output immediately. Don't you interested in output? What if there were errors?

If not, is there a way to increment the vertical size of the conemu window using only keyboard shortcuts?

Search settings for "Resize with arrows"

xeijin commented 5 years ago

how can I force conemu to always appear in the exact vertical/horizontal centre of my monitor?

Put the window in the center, check "Fixed" instead of "Cascade" and save its position.

I do this now but the window occasionally moves around (probably because I switch between external monitors and laptop screen) is there a way for ConEmu to calculate the centre point and always automatically snap to it?

is there a way to run a command simultaneously with the 'show /hide' hotkey (CTRL + ')

This sounds weird for me. Assuming you start the Task with fd | fzf when you press Ctrl', you'll get bloat of tabs without prompt. What do you expect?

Agree it is a non-standard use-case, like I said I'm trying to get Cmder to act like Spotlight on MacOS, a very thin bar that appears in the middle of the screen. If it loads with fd | fzf it emulates spotlight's behaviour of automatically searching the filesystem for your files:

image

is it possible to have the output of every command pop-up a separate window (preferably without titlebars) and then disappear again?

I don't understand you. What "command pop-up"? Don't you mean existing option "Multiple consoles in one ConEmu window"?

Sorry I meant when a command is executed I want its output to appear in a separate cmder window to the one where it was entered.

and then disappear again?

Does it make sense? You'll lose your output immediately. Don't you interested in output? What if there were errors?

I want the output in a separate window which disappears when I execute my shortcut key again to hide CTRL + ', if the shortcut key is executed once again the 'output' windows do not re-appear.

If not, is there a way to increment the vertical size of the conemu window using only keyboard shortcuts?

Search settings for "Resize with arrows"

Thank you.

I realise alot of what I want to achieve is very bespoke and likely not all achievable with settings, would the 'GuiMacro' functionality (https://conemu.github.io/en/GuiMacro.html) help me here at all?

xeijin commented 5 years ago

@Maximus5 any thoughts on the above?

Maximus5 commented 5 years ago

If you yes ConEmu only for fd-ing than:

If you tend to use ConEmu in other scenarios too, you may use distinct xml files or named configs.

LesterCovax commented 5 years ago

@xeijin I personally just use Wox/Everything for this purpose. 'Everything' creates an index of everything in the background (which you can heavily customize), and then I open Wox with alt+space to bring up the search window. There are a ton of plugins for different services, so you can either just use it as a quick file search / launcher, or for more advanced things. My WSL filesystem is also indexed and searchable this way.

ipatalas commented 4 years ago

I know it's not the solution for your problem but I can suggest trying out https://keypirinha.com/first.html#start-project as an alternative to Launchy. I've been using Launchy for quite some time and only Keypirinha made it worth to change.

No, I don't "work" for them. Just a very happy user :) Integration with Everything is built-in as well as calculator and currency exchange. If you're a developer or alike you might like https://keypirinha.com/packages/string.html package. Truly my best tool discovery last year.

LesterCovax commented 4 years ago

@ipatalas - Cheers, I'll def check that out. At first I thought it suffered the same Dev stagnation as Wox has, but it appears it's just spread across multiple repos. GitHub link for the lazy: https://github.com/Keypirinha/Keypirinha

There's also a fork of Wox I need to evaluate that's actually received a lot of love, with them even working on converting it to DotNet Core.

I have a soft spot for python though, so you may have just stolen my heart❤️ with keypirinha. The fact it's also named after my favorite cocktail just seals the deal.