Showing posts with label row. Show all posts
Showing posts with label row. Show all posts
18 March 2023
23 January 2022
21 December 2021
How to change multiple rows into one row in vim?
How to change multiple rows into one row in vim?
Check how many rows are there totally (e.g. 50)
50J
Check how many rows are there totally (e.g. 50)
50J
How to change a one-row text into multiple rows in vim?
How to change a one-row text into multiple rows in vim?
:%s/; /\r/g
The above command replaces '; ' with \r (carriage return)
:%s/; /\r/g
The above command replaces '; ' with \r (carriage return)
How to append some text to each row in vim?
How to append some text to each row in vim?
:%s/$/,/g
:%s/$/,/g
How to remove duplicate rows in vim?
How to remove duplicate rows in vim?
:sort u
:sort u
Subscribe to:
Posts (Atom)