Toot

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 | View the thread | More toots from alecthegeek@mstdn.social

Mentions

Tags

=> View neovim tag | View vim tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/112109010685465068
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
227.912761 milliseconds
Gemini-to-HTML Time
0.92737 milliseconds

This content has been proxied by September (ba2dc).