如何在Geany中同时写多行? [英] How can I write to multiple lines simultaneously in Geany?
问题描述
我想修改Geany中txt文件每一行的开头。以某种方式可以同时写入多行(也许使用框选择?)。
如何执行此操作?
I want to modify the beginning of every line of a txt file in Geany. Somehow it is possible to write in multiple lines at the same time (maybe with box selection?). How to do this?
推荐答案
您需要先安装插件额外选择。
对于我的配置(Debian / Buster,Geany 1.33)我添加了配置快捷键。
有关更多详细信息,请参见插件手册:
For my configuration (Debian/Buster, Geany 1.33) I add to configure shortcuts key. See plugin manual for more details :
用法:
在工具->附加选择下,有7个新项目:列
模式,选择到行,选择到匹配的括号,切换
矩形/流,设置锚点,选择到锚点和矩形
选择到锚点。通常,这些键应绑定到键,例如
Alt-C,Alt-Shift-L,Ctrl-Shift-B,Ctrl + 2,F12,Shift-F12和
Alt-Shift-F12。
Usage :
Under Tools -> Extra Selection, there are 7 new items: "Column Mode", "Select to Line", "Select to Matching Brace", "Toggle Rectangular/Stream", "Set Anchor", "Select to Anchor" and "Rectangle Select to Anchor". Normally these should be bound to keys, for example Alt-C, Alt-Shift-L, Ctrl-Shift-B, Ctrl+2, F12, Shift-F12 and Alt-Shift-F12.
这篇关于如何在Geany中同时写多行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!