Quantcast
Channel: vim – Joar
Viewing all articles
Browse latest Browse all 4

Joining ~18000 lines, thnx vim

$
0
0

after some grep, sed and awk’ing I had sorted out a bunch of foldernames into a file, feelin’ smug about it.
I needed those on one line, using vim the only hinder was my not-so-super-skills in vim .
In vim command mode, typing ‘18000J’ would join current line with the next 18000 lines

thnx stackoverflow.com


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images