惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
V2EX
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
WordPress大学
WordPress大学
罗磊的独立博客
小众软件
小众软件
I
InfoQ
Y
Y Combinator Blog
宝玉的分享
宝玉的分享
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Hugging Face - Blog
Hugging Face - Blog
MyScale Blog
MyScale Blog
博客园 - 聂微东
Microsoft Security Blog
Microsoft Security Blog
H
Help Net Security
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园_首页
S
SegmentFault 最新的问题
博客园 - 三生石上(FineUI控件)
P
Proofpoint News Feed
博客园 - 司徒正美
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Azure Blog
Microsoft Azure Blog
Jina AI
Jina AI
N
Netflix TechBlog - Medium

jdhao's digital space

Conversion between base64 and OpenCV or PIL Image 腾讯云对象存储博客图床开启 CDN 加速(不需要购买额外域名) Search and Replace in Multiple Files in Vim/Neovim Change Table Column Width in LaTeX Image or Table Side by Side in LaTeX LaTeX 并排显示图像或表格 Firenvim: Neovim inside Your Browser Content inside HTML tags missing in Latest Hugo? Creating Markdown Front Matter with Ultisnips Labelme JSON 标注格式转 voc XML 格式 Nifty Nvim Techniques That Make My Life Easier -- Series 6 macOS 下如何为视频制作字幕 Running Command Asynchronously inside Neovim Resolving Merge Conflict after Git Stash Pop Pylint: command not found? A Hands-on Experience with Neovim's Built-in LSP Support How to Convert PDF to Images with Imagemagick 互联网上常用缩略语集锦 File Backup in Neovim Converting PDF Pages to Images with Poppler Nifty Nvim Techniques That Make My Life Easier -- Series 5 Neovim Configuration for System-wide Use How to sort a list of tuple or list in Python -- lambda or itemgetter? Building A Vim Statusline from Scratch 人类第一颗原子弹爆炸始末 Distributed Training in PyTorch with Horovod Learning Expect Programming Essential Knowledge about SSH Nifty LaTeX Techniques -- Series 1 更改 Adsense 邮寄地址,重新寄送 PIN
Mintty Tips and Configurations
2019-10-16 · via jdhao's digital space

In this post, I want to share some useful tips and configurations about mintty.

Share mintty config between Cygwin and wsltty#

Since both Cygwin and wsltty use mintty as its terminal emulator, it would be great if we could use a unified config file for mintty instead of having to configure separately on two locations. According to doc here, mintty provides such a feature: you need to put configuration in %APPDATA%\mintty\config so that mintty for Cygwin and wsltty can use the same config.

Quickly switch to other mintty windows#

Unlike iterm2 or other terminal emulator, mintty does not have a Tabbed window. However, mintty does provide a virtual tab feature. If you are using mintty 3.0.3 or above, you can switch between different mintty windows with several shortcuts:

  • ctrl + right-click
  • ctrl + right-click in the window title bar
  • ctrl + menu

References#

Open file, directory or links#

Use ctrl+left-click to open a file, directory or URL (beginning with www).

Change cursor when IME is on#

The option IMECursorColour can be used to set the cursor color when IME is on. For example:

this will set cursor color to red when IME is on.

Show selection text size#

The option SelectionShowSize can be used to show the size of selection. 0 disable this feature. A value of 1-12 shows the size of selected text in a position corresponding to the clock hours.