vimrc配置 鼠标光标_在“提示”框中:即时调整窗口大小,包含鼠标光标并了解电池配置…

  • Post author:
  • Post category:其他


vimrc配置 鼠标光标

vimrc配置 鼠标光标

Tips-How-To-Geek-Template

Every week we dip into the reader mail bag and pull out tips and tricks to share. This week we’re looking at a super simple shortcut for resizing windows, how to contain your mouse in a multi-monitor setup, and how to check your battery configuration.

每周我们都会浸入阅读器邮件袋中,并分享一些技巧和窍门。 本周,我们正在寻找一种超级简单的快捷方式,用于调整窗口大小,如何将鼠标包含在多显示器设置中以及如何检查电池配置。

一次单击即可垂直扩展窗口

(

Extend a Window Vertically with a Single Click

)

2011-05-05_114125

Writing in from Ohio, reader Charles shares a clever tip that was brand new to us:

读者查尔斯(Charles)从俄亥俄州写信,分享了一个对我们来说是全新的巧妙技巧:

When you need to maximize the height of a window (but not the width) you can do so by placing the cursor over the upper or lower edge of the window. When it becomes a little resize arrow, double click. The window will instantly extend to the full height of the monitor (but not the width). I discovered this trick totally by accident and have found it useful ever since.

当您需要最大化窗口的高度(而不是宽度)时,可以通过将光标置于窗口的上下边缘来实现。 当它变成一个调整大小的小箭头时,双击。 窗口将立即扩展到显示器的整个高度(而不是宽度)。 我完全是偶然发现了这个技巧,并从此发现了它的用处。

It’s such a useful trick, too! We’d never even heard of it but already see several instances where it would prove to be quite useful. You can also, under Windows 7, tap a window against the upper middle edge of the screen to perform a similar center-dock and extend trick.

这也是一个有用的把戏! 我们甚至从未听说过它,但是已经看到了几个实例,证明它非常有用。 您还可以在Windows 7下,在屏幕的上中间边缘上点击一个窗口以执行类似的中心停靠和扩展技巧。

将鼠标监禁在多显示器设置上

(

Jail Your Mouse on a Multi-Monitor Setup

)

2011-05-05_113330

Steve writes in with his multi-monitor quandary and the solution he found:

史蒂夫(Steve)写下了他的多显示器难题,并找到了解决方案:

I love my multi-monitor setup but there are times when it can be a pain. Specifically when playing certain computer games or running certain legacy applications I have to use for my job. Games and older applications often don’t know what to do with a multi-monitor setup and all sorts of weird stuff can happen. I’ve had the mouse get stuck on the secondary monitor, had applications crash when the mouse went from the primary monitor to the secondary monitor, and had the mouse outright disappear once it left the primary monitor. Even when it’s not that drastic it’s annoying when you expect a “hard edge” while playing a game and the mouse just zips right out of the frame and vanishes.

我喜欢我的多显示器设置,但有时可能会很痛苦。 特别是在玩某些计算机游戏或运行某些旧版应用程序时,我必须使用它来完成工作。 游戏和较旧的应用程序通常不知道如何使用多显示器设置,并且可能会发生各种奇怪的事情。 我将鼠标卡在了辅助监视器上,当鼠标从主监视器转到辅助监视器时,应用程序崩溃了,一旦鼠标离开了主监视器,鼠标就彻底消失了。 即使不是那么激烈,当您在玩游戏时期望“硬边”并且鼠标只是从框架中滑出并消失时,也很烦人。

My solution is an open source app I found called

Mousenitor

. It’s a simple little application that allows you to effectively “jail” the mouse. You can set boundaries, toggle it with hot keys, and even set up profiles for different apps and games. It’s saved me from so many headaches! Speaking of headaches, don’t set up a profile that restricts the mouse to the primary monitor, then put the Mousenitor control panel on the second monitor, and then turn it on. That was quite a puzzle to solve.

我的解决方案是一个名为

Mousenitor的

开源应用程序。 这是一个简单的小应用程序,可让您有效地“囚禁”鼠标。 您可以设置边界,使用热键切换边界,甚至可以为不同的应用程序和游戏设置配置文件。 它使我免于太多头痛! 说到头痛,请不要设置将鼠标限制在主显示器上的配置文件,然后将Mousenitor控制面板放在第二台显示器上,然后再打开它。 那真是一个难题。

Great solution Steve! We’ve seen simple apps that just stick the mouse to the primary monitor but this is the first time we’ve seen an app that supports profiles and so many variables. Nice find.

伟大的解决方案,史蒂夫! 我们已经看到了简单的应用程序,它们只是将鼠标停留在主显示器上,但这是我们第一次看到支持配置文件和这么多变量的应用程序。 好发现。

了解电池配置

(

Understanding Battery Configurations

)

2011-05-05_115929

Last week we shared a reader tip about

rotating batteries to squeeze out extra life

. Jim wrote in with some additional insight into why this trick might not be as effective as you might hope and how you can test if it works on your devices.

上周,我们分享了有关

旋转电池以延长使用寿命

的读者提示。 吉姆(Jim)撰写了一些其他的见解,介绍了为何该技巧可能不如您希望的那样有效,以及如何测试该技巧在您的设备上是否有效。

The battery “rotating” idea does not make sense electrically unless the batteries are in parallel (rarely used that way). Nearly all battery circuits are in series (which you can tell if their polarity is reversed one from another within the battery compartment). The resistance of a weak battery in a series circuit is the same no matter where it is in the circuit. Possibly, the contacts are dirty and moving them around “cleans” them a little which provides for a better connection between the contacts and the batteries.

除非电池并联(很少使用),否则电池“旋转”的想法在电气上是没有意义的。 几乎所有电池电路都是串联的(您可以分辨出它们在电池盒中的极性是否彼此相反)。 串联电路中弱电的电阻无论在电路中的任何位置都相同。 触点可能很脏,并在其周围四处“清洁”一点,这可以改善触点和电池之间的连接。

You can also tell if the batteries are in series with a cheap

voltmeter

(it’s a multimeter set for measuring voltage, buy on that measures up to 30 volts to be on the safe side). They’re available at Ace Hardware or similar stores. Place the positive (red) probe at the positive terminal of one battery contact and negative (black) probe on the negative pole of the battery contact at the other end. If the voltage is 2, 3 or 4 times (depending on the number of batteries) the voltage of a single battery (usually about 1.5v for AA or AAA) that is a series circuit and rotating the batteries will have negligible effect.

您还可以判断电池是否与便宜的

电压表

串联(这是一种用于测量电压的万用表,为安全起见,购买时最高可测量30伏)。 它们可在Ace Hardware或类似商店购买。 将正极(红色)探针放在一个电池触点的正极,另一端将负极(黑色)放在电池触点的负极。 如果电压是串联电路的单个电池的电压(取决于AA或AAA的1.5v),是电池的2倍,3倍或4倍(取决于电池数量),则旋转电池的影响可忽略不计。

Thanks for writing in Jim, while we’re sure the reader who wrote in the original tip has had good luck with the tip it’s great to hear the science behind it and how we can test our devices to see if battery rotation has any effect.

感谢您在Jim中撰写文章,同时我们可以肯定在原始提示中撰写的读者对此技巧很满意,很高兴听到其背后的科学知识以及如何测试设备以查看电池旋转是否有效果。



Have a tip or trick to share? Shoot us an email at

tips@howtogeek.com

and you just might see your tip featured on the front page.

有提示或技巧可以分享吗? 向我们发送电子邮件,

网址



tips@howtogeek.com

,您可能会在

首页

看到您的提示。

翻译自:

https://www.howtogeek.com/62278/from-the-tips-box-instant-window-resizing-containing-the-mouse-cursor-and-understanding-battery-configuration/

vimrc配置 鼠标光标