7 ms·
Windows Terminal Quake Mode
- haywirez 6y agoBeen waiting for this for ages, I hope it comes fast!
- aste-risk 6y agoPlease come up with reverse searches and forward searches in terminal and I swear I will change my primary OS to Windows.
- sp332 6y agoPowerShell has shipped with PSReadLine since version 6.
- laqq3 6y agoI’ve been using Ctrl+Shift+f in Windows Terminal for this (it searches terminal output/its scroll back buffer).
- jakopo87 6y agoIt's not the same: reverse/forward searches look into command history to let you relaunch commands prevously used.
- deleted 6y ago[deleted]
- _hsgp 6y agoBy reverse search do you mean this [link redacted] because you can do that with Ctrl-R now :)
- pdpi 6y agoReverse/forward searches are features of the shell, not the terminal. As others have noted, PowerShell supports those.
- colordrops 6y agotmux supports this.
- oblio 6y agoTmux is not a terminal, though.
- hansel_der 6y ago> searches are features of the shell, not the terminal no, tmux/screen implement search in the terminal output buffer and work well.
- oblio 6y agoDo they, though? They have their own buffer.
- deleted 6y ago[deleted]
- systemvoltage 6y agoTerminal features would be a footnote in the 1400 page book containing list of things I'd like to see in Windows :-)
- ant6n 6y agoAnd a 1000 of those are bugs that have been around since Windows 98.
- noisem4ker 6y agoAny example?
- ant6n 6y agoOne simple one: If I start multiple Kopies/file downloads, Windows will run them all in parallel, even if they run through the same connection. So if after 50% there´s a connection drop, all of them will abort. This used to be especially bad on nicely defragmented disks, because the extra seeking makes parallel copies slower then sequential ones. Even after all this time, they can`t figure out to automatically chain I/O operations (or at least give me some UI to do it explicitly).
- nickjj 6y agoI highly recommend using tmux. It works well with the MS terminal (and other terminals). You'll get forward and reverse searching, split panes, windows (similar to tabs), excellent window and pane management binds (moving them, switching orders, zooming in / out, etc.), persisted sessions that you can save and restore across reboots and good mouse support if you want it. The best part is it works the same with every terminal so you can super charge any terminal and use the same tmux configuration in multiple environments. This way you can make a terminal choice based on optimizing for speed, low key press latency and other traits that make a terminal feel nice to use. I gave a command line talk once that focuses on using tmux, Vim and various Unix tools at https://github.com/nickjj/nyhackr-cli-dev-env https://github.com/nickjj/nyhackr-cli-dev-env. The slides and video links are listed there. The videos all have timestamps so you can jump around to the tmux bits pretty easily.
- stinos 6y agoFuzzy history search like fzf does is in my experience quicker. And also works in Powershell.
- ripley12 6y agoAre you using PSFzf or something else? https://github.com/kelleyma49/PSFzf https://github.com/kelleyma49/PSFzf
- stinos 6y agoI used to use PSFzf indeed: it's pretty good and got me started with fzf on PS, but the history reading nor file scanning are particularly fast so currently I'm using some C# code to do those and pipe it into fzf directly. Don't recall exactly but the most basic C# code I could come up with which does 'read history file in reverse and skip duplicates' was like 3 times faster than what PSFzf uses.
- ossopite 6y agoClink [https://mridgers.github.io/clink/ https://mridgers.github.io/clink/] adds this functionality and much more to good old fashioned command prompt (which I prefer to powershell because it's much faster and simpler)
- rashil2000 6y agoThat repo is extremely outdated. Here's the official(?) supercharged fork, which is actively developed - https://github.com/chrisant996/clink https://github.com/chrisant996/clink
- ossopite 6y agoHuh, I did wonder if there was an updated fork but I obviously didn't look hard enough. Thanks!
- yrro 6y agohttps://mridgers.github.io/clink/ https://mridgers.github.io/clink/ gives you readline editing in cmd.exe
- TedShiller 6y agofully expecting Blue Screen
- rektide 6y agoI really like that this is documented. huge respect for that. this could just be some gimmick thrown in. taking the time to give this capability some context, done definition, it feels real good. it makes it culturally enduring. this is spec #653, an early-ish idea. but it cites & builds atop spec #5000, process model 2.0, which specifically cites quake mode as a capability the new process model enables (and also tab tearing away). this isanifestation of WT turning into a mini/macro/alt offering to tmux, a way of making terminals quasi independent entities.
- hnlmorg 6y agoIt's not a gimmick. It's something supported by the leading terminal emulators on pretty much every other desktop environment for the last 10 years and it's a massive productivity boost for people working on single screens (like a laptop). I agree that the level of documentation for this feature is really quite impressive though. It shows that they're investing time to do this properly rather than rushing through some half baked feature out of fear of playing catch up.
- sharken 6y agoThe specs are great and i agree that having one for the more complicated features is a great benefit. I have seen specs in another project where pseudocode was also used, but am beginning to think that often leads to a poor code quality. Note that Windows Terminal project uses issue numbers for specs, so there are not 5000 specs :) https://github.com/microsoft/terminal/tree/main/doc/specs https://github.com/microsoft/terminal/tree/main/doc/specs Another file worth looking at from time to time is the Roadmap. https://github.com/microsoft/terminal/blob/main/doc/terminal-v2-roadmap.md https://github.com/microsoft/terminal/blob/main/doc/terminal...
- Cloudef 6y agoNow do tiling wm and package manager (with easy source builds from recipes) and it'll start to become a decent OS.
- paavohtl 6y agoThey do have an official not-quite tiling VM: FancyZones[1]. I don't know how good it is, but it's open source. I personally use AquaSnap [2] (commercial, 18 USD) for my window tiling & snapping needs which has definitely been a worthy purchase. [1] https://docs.microsoft.com/en-us/windows/powertoys/fancyzones https://docs.microsoft.com/en-us/windows/powertoys/fancyzone... [2] https://www.nurgo-software.com/products/aquasnap https://www.nurgo-software.com/products/aquasnap
- Jenk 6y agoI have been using FancyZones for about a year. It's not quite a twm, it allows you to redefine the snap zones but they are fixed/static. There's also very little in the way of shortcuts to control them.
- userbinator 6y ago...and of course provide an easy way to turn off all the spyware.
- xen2xen1 6y agoHave you seen choclatey?
- numpad0 6y ago> Many existing terminals support a feature whereby a user can press a keybinding anywhere in the OS, and summon their terminal application. [...] This global summon action is often referred to as "quake mode", a reference to the video game Quake, who's console slid in from the top. This is not to play Quake in WT, this allows WT to behave like the console window in Quake descendants that displays when [ ~] is pressed, the console whose sole purpose is to accept `sv_cheats 1` command (jk). For me it was `setenv therewasacow 1337` if my memory serves well...
- tomc1985 6y agoHey now, I've used it to blindly type in the command to switch screen resolution when I accidentally set it to something my computer didn't support back in the day
- Waterluvian 6y agoThis reminds me of using a floppy disk and a bunch of blind keyboard commands to recover my corrupted BIOS in 2002. Felt like a wizard when it worked.
- tempodox 6y agoThat does sound helpful. Although, in Quake, you can shoot the monstrosities that vex you. You cannot do that in Windows.
- smcl 6y agoLooks like we need a quake/windows version of this doom/Linux tool: https://www.cs.unm.edu/~dlchao/flake/doom/ https://www.cs.unm.edu/~dlchao/flake/doom/
- pvtmert 6y agofor callofduy it was `seta thereisacow 1337` you could do just set but seta = archive = persistent
- oblio 6y ago
- CephalopodMD 6y agoI <3 this
- john_alan 6y agoBeen using this type of style on iTerm2 for a while. iTerm is so good I’d happily pay for it. Edit: just found they have a donate page, donated.
- chocolatkey 6y agoBeing a user of Cmder (ConEmu), I have been waiting for this for a long time. Thank you to OP for naking me aware that this is now available
- sharken 6y agoConEmu manages the whole elevated/non-elevated situation better than Windows Terminal in my opinion. As mentioned in the article elevated and non-elevated Windows Terminal windows are two different apps. In ConEmu they are tabs in the app. The real benefit is that you can easily start either a elevated or non-elevated window within ConEmu, of course this is only possible if ConEmu was started in elevated mode in the first place.
- nullify88 6y agoIn Windows Terminal, I'm sure you can create a new profile with your chosen shell prepended with "start-process -Verb RunAs" that will offer similar fuctionality.
- sharken 6y agoAnd it seems some improvements to mixed elevation is coming soon: https://github.com/microsoft/terminal/pull/8455 https://github.com/microsoft/terminal/pull/8455
- quietbritishjim 6y agoOnly small improvements; that report specifically says that the full feature isn't possible: > For a long time, we've been researching adding support to the Windows Terminal for running both unelevated and elevated (admin) tabs side-by-side, in the same window. However, after much research, we've determined that there isn't a safe way to do this without opening the Terminal up as a potential escalation-of-privilege vector.
- nvrspyx 6y agoIt still opens a separate window, unfortunately.
- alfiedotwtf 6y agocmd.exe —nowait
- jaclaz 6y agoOnly for the record/memory, an old tool that was (is) very nice: https://sourceforge.net/projects/winqconsole/ https://sourceforge.net/projects/winqconsole/
- tbronchain 6y agoI've been using Auto Hotkey[1] for a while and it's truly amazing to bring the missing hotkeys feature to Windows. This, plus Altdrag[2], Quicklook[3] and Winxcorners[4] are my must have. 1: https://www.autohotkey.com/ https://www.autohotkey.com/ 2: https://stefansundin.github.io/altdrag/ https://stefansundin.github.io/altdrag/ 3: https://www.microsoft.com/en-us/p/quicklook/9nv4bs3l1h4s https://www.microsoft.com/en-us/p/quicklook/9nv4bs3l1h4s 4: https://github.com/vhanla/winxcorners https://github.com/vhanla/winxcorners
- mszcz 6y agoAltDrag has been one of the first pieces of software I install on a Windows machine for years now. Such a time saver. As we're a little OT here, I might as well recommend you check out GridMove which moves windows to predefined positions on any of the screens with a press of a hotkey.
- omegabravo 6y agoalt drag is something I picked up on Linux. I was delighted to find it for Windows several years ago, and the name made it really easy to find. Mac window management continues to infuriate me.
- tim-- 6y agoI can not recommend Contexts [1] and Rectangle [2] enough! [1]: https://contexts.co/ https://contexts.co/ [2]: https://rectangleapp.com/ https://rectangleapp.com/
- pbowyer 6y agoI played with Auto Hotkey (AHK) recently as I wanted to add a layer to my keyboard. Wow, what powerful software! But I really disliked the scripting language and wished they'd used a standard language. I ended up installing TouchCursor [1] which did everything I need at present, but will persevere with AHK. 1: http://martin-stone.github.io/touchcursor/ http://martin-stone.github.io/touchcursor/
- graderjs 6y agoI use ConEmu on windows with PuTTY, PowerShell and CMD attach3ed as consoles to have exactly this. In fact the ConEmu setting is called "Quake mode" ~ drop down. I do all my work from my replacable windows box, and code exclusively in vim ssh'ing into whatever VPS. So I can be viewing the website in a browser on windows, then Ctrl+~ to get my shell/vim screen, type some code, the server restarts and I can reload. Fast feedback loop. I love it!
- kekebo 6y agoFor the impatient, there's a community built companion program for Windows Terminal that enables Quake Mode drop down until it is officially implemented[0]. [0] https://github.com/flyingpie/windows-terminal-quake https://github.com/flyingpie/windows-terminal-quake
- pvtmert 6y agoI am using iTerm2 just for this feature. Otherwise I'd use Alacritty Also It is pretty good to see Windows Terminal finally gets usable features. A POSIX compatible shell would be nice...
- Siira 6y agoSee my [Phoenix config](https://github.com/NightMachinary/.shells/blob/master/.phoenix.js https://github.com/NightMachinary/.shells/blob/master/.phoen...) (or Phoenix's docs) to create hotkey windows for any apps. I have been using this with Kitty, and it works very well, unless you want to have multiple windows.
- sedatk 6y agoIs shell by itself valuable at all without the surrounding toolchain?
- Grimm1 6y agoI use Guake as my preferred terminal on Linux for this reason. I love how I can just pull it up over everything and put it away with one key press.
- noisy_boy 6y agoI used to use Guake but felt the need sometimes to be able to resize/move terminal open next to a window, say, for comparing something. So I instead setup a script to run a regular terminal such that it a) starts a terminal instance if none are running b) activates the terminal window if an instance is running and c) presses alt-tab to switch away from terminal if the terminal window is active. The script is bound to a shortcut key so basically I get the Guake type functionality (without the fancy drop-down of course) + can treat the terminal as just another window on the desktop.
- Too 6y agoDisregarding the geek and nostalgia factor. Why is this a feature of a specific application and not the WM? In fact it's almost already there. Just put your terminal as first item in the task list, then press Win+1 to summon a terminal and then Win+1 again to hide it. All existing window location and focus rules stay the same. What's missing?
- uncleyo 6y agoHad been literally doing this first as a "poor man's" quake mode since moving away from ConEmu - pretty soon realised it was just enough for me. So I'd rather they find an elegant solution to UAC elevation.
- NBJack 6y agoVery curious as to why you moved away from ConEmu. Can you share the motivating factors? Anything to be concerned about?
- bellyfullofbac 6y agoI'm not the grandparent poster, but I notice ConEmu sometimes display my Linux terminal (connected via Cygwin's SSH) strangely after being resized, I would try to edit a file in Joe and trying to navigate would just update the 1st line of the console. I could scroll down in a less window but going up garbled the display...
- uncleyo 6y agoIt just never really worked well for me in a multi-monitor setup with two screens and a docking station... Now, Windows itself is quite terrible with this and often moves windows between screens for no reason. For example, when primary screen takes a second longer to come back from sleep, all windows float to secondary one, at least that is what I guess is happening. Now, with ConEmu, that also caused some rendering defects and I would have to hide/show window and sometimes reopen tabs to get it to work again. If I understand correctly, ConEmu does some sort of off screen rendering hack with conhost and then just synchronizes the bitmap to where its real window is. Though I may be completely wrong and that is not how it really works. But these issues have never occurred with WT. Otherwise, I had nothing to complain about with ConEmu, especially its UAC handling is awesome. Unless we could have proper sudo on Windows, of course. That would be even better UX :)
- 29athrowaway 6y agoLinux and macOS terminals have had this for years. At least a full decade.
- Xorlev 6y agoSure, but it's nice that Windows is coming along in terms of developer-friendliness.
- 29athrowaway 6y agoIf you want developer friendliness, try Linux or BSD. Full source and debugging symbols for mostly everything. Everything can be tinkered with with no limits. Windows will never be like this. If you want to understand how things work there will be a limit where you will have to become a reverse engineer to do it. With Linux this is not the case.
- least 6y agoYour argument kind of makes me think of Proton and the massive efforts of Wine, Valve, DXVK, and other projects that have increasingly made Linux a more attractive platform for gaming. You could argue that Linux will 'never be good enough' and if you want to play games you should just 'try Windows.' I think it's worth celebrating the efforts and the progress that has been made on Linux towards being a better platform for gamers. Is it perfect? Nope! Considering the market develops with Windows in mind, you're a lot less likely to run into issues running games on Windows, but it's definitely better than it was a few years ago. Similarly, I think that Microsoft's efforts to make Windows a better platform for developers should be welcomed! I don't think Windows is as good a platform for a lot of developers as Linux/BSD and it may never be, but the progress in that regard is praise worthy, I think.
- 29athrowaway 6y agoAlternatively, you can buy a console. It's cheaper than a desktop PC. I have many games on Steam that I can run on Linux but I hardly ever play. I don't have much time for that.