Subj : Re: 2wk vim challenge To : paulie420 From : Nelgin Date : Sun Aug 20 2023 18:26:43 Re: Re: 2wk vim challenge By: paulie420 to MeaTLoTioN on Sun Aug 20 2023 14:09:32 > :1d > (deletes line 1...) Yup, you can also do something like :1,4 which will delete lines 1 to 4. .. represents the current line so yo can do something like :-2,.d which will delete from 2 lines above to the current line. D will delete from the cursor to the end of line You know how you can use the cursor to move down through a page, well you can use CTRL-E and CTRL-Y to a large file up and down keeping the cursor in place until it reached the top or bottom then the file keeps scrolling. Hard to explain, but useful if you want to look for something while scrolling. You may know that o opens a new line for input below the cursor but did you know that O opens a line above the cursor? .