:vnewis more effcient than:vsplitfollowed by:enew.yitis more efficient thanvitfollowed byy.- Okay I'm being facetious. Sorry. To actually answer your question, macros (
:help complex-repeats) can playback commands that move the cursor to other windows, so you can use them for this sort of task. You might need to tweak this to work with the contents of your file, but the basic steps are:/tspan<cr>: Search for the first tag.f>l: Jump into the element contents.qq: Start recording into theqregister.yit: Yank the text.ctrl-w w: Move cursor to your other window.p: Paste the yanked text.ctrl-w p: Move cursor back into the first window.n: Jump to start of next tag.q: Stop recording and save the macro.
You can then play the macro back 31 times with the command:31@q. - You could probably also do it with a
:globalcommand.https://vi.stackexchange.com/questions/12619/more-efficient-way-of-yanking-text-out-of-tags
dinsdag 13 juni 2017
Selecting text from SVG files
Enlarging Libreoffice window completely with command
You can open the LibreOffice window completely by pressing the CTRL+Shift+J keys together.
-
Als je een goede pdf wilt maken van een Volkskrant artikel, moet je als volgt te werken gaan. Open de Volkskrant pagina, waar je een pdf van...
-
Changing the brightness of the screen of a laptop, you can use the command brightnessctl. 1. brightnessctl -l 2. brightnessctl set 5000
-
# Umount Target is Busy Lazy unmount: The third and safer alternative to the force unmount is a lazy unmount. A lazy unmount allows the sys...