Skip to content

Instantly share code, notes, and snippets.

@kwbr
Forked from romainl/sort.vim
Created Mar 17, 2020
Embed
What would you like to do?
Sort operator
function! Sort(type, ...)
'[,']sort
endfunction
nmap <silent> <key> :set opfunc=Sort<CR>g@
" usage:
" <key>ip
" <key>G
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment