Skip to main content

Sorting numbers - VIM

" This will sort a list of numbers in ascending order
:sort n
" Adding a bang after sort will cause the list to be sorted in descending order
:sort! n
Post a Comment

Popular posts from this blog