Post B4jEE8VSGv9DVoSxnM by justine@snac.smithies.me.uk
(DIR) More posts by justine@snac.smithies.me.uk
(DIR) Post #B4jBDeRnjMHqQJpmtM by justine@snac.smithies.me.uk
0 likes, 0 repeats
[Resolved]I think I'm being a tad stupid here ? How do I select text in vi or nvi not vim if it has no visual mode using just the keyboard ? Everything I search just gives me vim results.
(DIR) Post #B4jBZabkgcKot0wwDY by nielsk@mastodon.social
0 likes, 0 repeats
@justine Iirc they don’t have a visual mode but you work only with movement-commands etc2wy - yanks the next two words:2,5d - delete lines 2-5
(DIR) Post #B4jBZazrEzcK5mEBn6 by justine@snac.smithies.me.uk
0 likes, 0 repeats
Thank you Niels ;)
(DIR) Post #B4jCJLbUnspFfleIC0 by justine@snac.smithies.me.uk
0 likes, 0 repeats
Got it now. So I can select from the cursor to the end of the line with `y$'. Perfect !CC: @nielsk@mastodon.social
(DIR) Post #B4jEE8IL3geir8KULo by tfb@functional.cafe
0 likes, 0 repeats
@justine @nielsk How else would you do it? I think my vi knowledge doesn't include many (any?) vim-isms
(DIR) Post #B4jEE8VSGv9DVoSxnM by justine@snac.smithies.me.uk
0 likes, 0 repeats
I got so used to visual mode and never tried the correct way (vi) ;)CC: @nielsk@mastodon.social