Live data from Hacker News

Windows Terminal Quake Mode

github.com

41–50 of 91 posts

Re: Windows Terminal Quake Mode

#41
I'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/

2: https://stefansundin.github.io/altdrag/

3: https://www.microsoft.com/en-us/p/quicklook/9nv4bs3l1h4s

4: https://github.com/vhanla/winxcorners

Re: Windows Terminal Quake Mode

#42
I 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!

Re: Windows Terminal Quake Mode

#43

Please come up with reverse searches and forward searches in terminal and I swear I will change my primary OS to Windows.

I 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. The slides and video links are listed there. The videos all have timestamps so you can jump around to the tmux bits pretty easily.

Re: Windows Terminal Quake Mode

#44
post #25

Earlier quoted context omitted.

ConEmu 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…

In 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.

It still opens a separate window, unfortunately.

Re: Windows Terminal Quake Mode

#45
post #13

Earlier quoted context omitted.

I’ve been using Ctrl+Shift+f in Windows Terminal for this (it searches terminal output/its scroll back buffer).

It's not the same: reverse/forward searches look into command history to let you relaunch commands prevously used.

[deleted]

Re: Windows Terminal Quake Mode

#47
post #9

> 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 presse…

for callofduy it was `seta thereisacow 1337` you could do just set but seta = archive = persistent

Re: Windows Terminal Quake Mode

#48
I 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...

Re: Windows Terminal Quake Mode

#49
post #32

Earlier quoted context omitted.

In 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.

And it seems some improvements to mixed elevation is coming soon: https://github.com/microsoft/terminal/pull/8455

Only 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.

Re: Windows Terminal Quake Mode

#50
post #48

I 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...

See my [Phoenix config](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.
Post reply on HN