Ancestors

Written by Alec :tux: 🇦🇺 👨‍💻 on 2024-03-15 at 00:44

Now I've repented of my sins and gone back to #Vim #Neovim I am rediscovering my favourite motion commands.

Today's example

y%

yanks the current block delimited by the char under the cursor e.g. (,[,{

=> More informations about this toot | More toots from alecthegeek@mstdn.social

Toot

Written by Alec :tux: 🇦🇺 👨‍💻 on 2024-03-16 at 07:15

And today's #Vim #Neovim command "de jour" is

z=

to spell check the word under the cursor (because I write a lot of text)

=> More informations about this toot | More toots from alecthegeek@mstdn.social

Descendants

Written by Alec :tux: 🇦🇺 👨‍💻 on 2024-03-17 at 03:55

Today's #Vim #NeoVim tip is a feature rather than a single command.

Use marks

=> =======

https://vim.fandom.com/wiki/Using_marks

Amongst other things, they help you jump around a file and move arbitrary lines of text with ease. e.g.

  1. find 1st line of interest and create a mark with "ma"

  1. Locate end of text block

  1. Delete the text block with ":`a,.d"

  1. Goto new location and hit "p"

=> More informations about this toot | More toots from alecthegeek@mstdn.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/112104133673958259
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
271.964445 milliseconds
Gemini-to-HTML Time
0.731482 milliseconds

This content has been proxied by September (ba2dc).