: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
vrijdag 9 juni 2017
Wordfast Anywhere
Hoe van de ene regel naar de andere te gaan in Wordfast?
Druk op Alt+pijl omlaag of Alt+pijl omhoog.
Voor de manual:
https://www.wordfast.net/wiki/Handleiding_Wordfast_Anywhere#De_belangrijkste_commando.E2.80.99s
Druk op Alt+pijl omlaag of Alt+pijl omhoog.
Voor de manual:
https://www.wordfast.net/wiki/Handleiding_Wordfast_Anywhere#De_belangrijkste_commando.E2.80.99s
dinsdag 6 juni 2017
Feh controls
If you want feh to run from ranger, you will have to do "r" and then choose "t" for new screen.
Press "v" for filled screen. And use the spacebar to scroll forward.
Use d to see what the filename is.
Press "v" for filled screen. And use the spacebar to scroll forward.
Use d to see what the filename is.
maandag 29 mei 2017
Git
Belangrijke Git commands:
$ git remote -v
$ git remote show origin
$ git status
Zorg ervoor dat je daadwerkelijk in de folder bent waar het om gaat, zoals:
~/gitclone/vimrc-file
$ ls
$ index.html vimrc1.txt vimrc2.txt
$ git remote -v
$ git remote show origin
$ git status
Zorg ervoor dat je daadwerkelijk in de folder bent waar het om gaat, zoals:
~/gitclone/vimrc-file
$ ls
$ index.html vimrc1.txt vimrc2.txt
donderdag 25 mei 2017
[Solved]
How to mark posts as solved on fora?
Go to the first post you have posted and press edit. Then advanced edit.
This allows you to edit the title of the post.
Then add [Solved] before the title.
Go to the first post you have posted and press edit. Then advanced edit.
This allows you to edit the title of the post.
Then add [Solved] before the title.
dinsdag 9 mei 2017
Scout command in ranger
Swiss army knife command for searching, traveling and filtering files. The command takes various flags as arguments which can be used to influence its behaviour:
-a = automatically open a file on unambiguous match
-e = open the selected file when pressing enter
-f = filter files that match the current search pattern
-g = interpret pattern as a glob pattern
-i = ignore the letter case of the files
-k = keep the console open when changing a directory with the command
-l = letter skipping; e.g. allow "rdme" to match the file "readme"
-m = mark the matching files after pressing enter
-M = unmark the matching files after pressing enter
-p = permanent filter: hide non-matching files after pressing enter
-r = interpret pattern as a regular expression pattern
-s = smart case; like -i unless pattern contains upper case letters
-t = apply filter and search pattern as you type
-v = inverts the match
zondag 7 mei 2017
Asterisk before directories in ranger
TAGS
Tags are single characters which are displayed left of a filename. You
can use tags however you want. Press "t" to toggle tags and "ut" to
remove any tags of the selection. The default tag is an Asterisk ("*"),
but you can use any tag by typing "<tagname>.
Abonneren op:
Posts (Atom)
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...
-
You can open the LibreOffice window completely by pressing the CTRL+Shift+J keys together.
-
https://wiki.documentfoundation.org/Faq/Calc/113 Create a new LibreOffice Calc document. Click on a cell in the table (A1 for example) Go t...