问题
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?
回答1:
You need to install before the plugin Extra Selection.
For my configuration (Debian/Buster, Geany 1.33) I add to configure shortcuts key. See plugin manual for more details :
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.
回答2:
Select the region, while pressing Alt-Shift, then move around with cursor with arrows.
来源:https://stackoverflow.com/questions/52024578/how-can-i-write-to-multiple-lines-simultaneously-in-geany