Sublime Text 2 Windows 中的多个光标 [英] Multiple Cursors in Sublime Text 2 Windows

查看:25
本文介绍了Sublime Text 2 Windows 中的多个光标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在 Windows 中安装了 Sublime Text 2,我正在尝试使用多光标功能.

I have installed Sublime Text 2 in windows and I am trying to use the multiple cursors feature.

首先我突出显示我正在寻找的选择(三行).

Firstly I highlight the selection I am looking for (three lines).

然后我可以按 CTRL + D 选择每个重复出现,或 ALT + F3全选.我的情况有四次重复.

Then I can press CTRL + D to select each re-occurrence, or ALT + F3 to select all. There are four repeats in my situation.

我现在想移动三行中间的光标并添加一些信息,以添加到所有出现的地方.

I now want to move the cursors in the middle of the three lines and add some information, to be added to all occurrences.

我一点击选择,多选就消失了?是不是我做错了什么,我确定是错的,但由于文档太弱,我不知道怎么做?

As soon as I click in the selection, the multiple selection is gone? Is there something I am doing wrong, I am sure it is wrong but as the documentation is so weak I cannot find out how?

推荐答案

在 Sublime Text 中,选择多个文本区域后,单击被视为退出多选模式的一种方式.用键盘键(箭头、Ctrl+箭头等)移动光标,你会没事的

In Sublime Text, after you select multiple regions of text, a click is considered a way to exit the multi-select mode. Move the cursor with the keyboard keys (arrows, Ctrl+arrows, etc.) instead, and you'll be fine

这篇关于Sublime Text 2 Windows 中的多个光标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆