Windows Terminal 1.0即将推出-立即更新并设置您的拆分窗格热键!

The Windows Terminal is free and in the Windows Store and you should go make sure you have the latest update. The v0.10 is out and it's got a number of lovely quality of life improvements, not the least of which is Mouse Support!

Windows Terminal是免费的,并且在Windows Store中,您应该确保已安装最新版本。 v0.10已经发布,并且在生活质量方面有许多改进,其中最重要的一点就是鼠标支持!

滑鼠支援 (Mouse Support)

What's that mean, doesn't it already support mice? This means Text-Mode mouse support. So your apps like tmux and Midnight Commander can receive and react to mouse events, event when you're ssh'ed in remotely! That's because it's using VT (virtual terminal) textual commands under the covers.

那是什么意思,它已经不支持老鼠了吗? 这意味着支持文本模式鼠标。 因此,您的应用程序(例如tmux和Midnight Commander)可以接收鼠标事件并对鼠标事件做出React,这些事件是您远程登录时发生的事件! 这是因为它使用VT(虚拟终端)文本命令在幕后

Mouse Support for text mode is super useful if you use apps like Midnight Commander under Linux, or if you split plans with tmux.

如果您使用Linux下的Midnight Commander之类的应用程序,或者使用tmux拆分计划,则对文本模式的鼠标支持非常有用。

分割窗格 (Split Pane)

You can change Windows Terminal in any way with themes, colors, gifs, key bindings and more. Many of you use screen or tmux under Linux and you can and should do that.

您可以使用主题,颜色,gif,键绑定等更多方式来更改Windows Terminal。 在Linux下,许多人都使用screen或tmux,您可以并且应该这样做。

Terminal also supports splitting natively and for any shell (remember terminal != console != shell) and they just added a lovely splitMode=duplicate that makes a copy of the shell/profile in focus.

终端还支持本机拆分和任何shell拆分(请记住终端!= console!= shell ),他们只是添加了一个可爱的splitMode = duplicate,使焦点清晰的shell / profile副本。

NOTE: You might consider starting with a fresh profile if yours is getting out of control.

注意:如果您的配置文件已失去控制,则可以考虑从新的配置文件开始

{
"keys": ["ctrl+shift+d"],
"command": {
"action": "splitPane",
"split": "auto",
"splitMode": "duplicate"
}
}

Here's my whole keybindings section right now, including the part above.

这是我现在的整个键盘绑定部分,包括上面的部分。

"keybindings": [
{
"command": "closeTab",
"keys": ["ctrl+w"]
},
{
"command": "newTab",
"keys": ["ctrl+t"]
},
{
"command": {
"action": "splitPane",
"split": "auto"
},
"keys": ["ctrl+|"]
},
{
"keys": ["ctrl+shift+d"],
"command": {
"action": "splitPane",
"split": "auto",
"splitMode": "duplicate"
}
}
],

So I can split with ctrl+shift+d and get a copy of whatever is in front. I can use ctrl+| to get my default terminal, and I can use ctrl+shift+w to close the pane in focus, while ctrl+w close the current tab. Yummy.

因此,我可以使用ctrl + shift + d进行拆分,并获取前面的内容的副本。 我可以使用ctrl + | 以获取默认终端,我可以使用ctrl + shift + w关闭焦点所在的窗格,而ctrl + w关闭当前选项卡。 好吃。

Currently, the Terminal teams says they are fixing bugs to prepare for the release of v1. Windows Terminal v1 will be released in May!

目前,终端团队表示他们正在修复错误,以准备发布v1。 Windows Terminal v1将于五月发布!

Sponsor: Couchbase gives developers the power of SQL with the flexibility of JSON. Start using it today for free with technologies including Kubernetes, Java, .NET, JavaScript, Go, and Python.

Sponsor :Couchbase通过JSON的灵活性为开发人员提供了SQL的功能。 立即开始免费使用Kubernetes,Java,.NET,JavaScript,Go和Python等技术免费使用它

翻译自: https://www.hanselman.com/blog/windows-terminal-10-is-coming-update-now-and-set-up-your-split-pane-hotkeys

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值