Subj : Re: 2wk vim challenge To : paulie420 From : deon Date : Mon Aug 21 2023 21:40:34 Re: Re: 2wk vim challenge By: paulie420 to esc on Sat Aug 19 2023 06:55 pm > There are several vim cheatsheets already out there; some better than others > - here are a couple; So, I jus wanted to let you know that I'm glad you started this thread, and I'm following it with great interest. I am a vi fan, and I know I only use 5% (if that much), and I've already learnt a few things from this thread. I havent seen it yet, so I thought I'd add my tip, many of the commands can be used with the position reference keys - where . "is the current spot", "$" is the end of (something). So I often use ".,$s/.../.../" to substitute everything from the currently line to the end of the file. (Or "1,." to substitute everything from line one to here).... - and you can add ^ in the regex to substitute the beginning of the line, or $ substitute the end of the line... :$ also takes you to the end of the file.. (where :1 takes you to the top). I also use "H", "M", "L" a lot, to position the cursor at the top, middle, bottom of the screen respectively. :) ....лоеп --- SBBSecho 3.20-Linux * Origin: I'm playing with ANSI+videotex - wanna play too? (1337:2/101) .