Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 393 Bytes

sort-numbers-on-vim.md

File metadata and controls

8 lines (5 loc) · 393 Bytes

How to sort number on vim

To this tutorial we are going to use some linux command called sort

In order to sort on vim you need to highlight the row of numbers by V or + v in order to highlight Then press colon then write the command by !sort -n inorder to sort the numbers

In order to sort reverse/opposite on sort command you need to add flag -r which is !sort -n -r