dhruv's wiki

Miscellaneous

gx

Reverse lines in a range

:100,150g/^/m99

" reverses lines between 100-150
" works with visual selection too