Short question i'm using this regex https://stackoverflow.com/a/11531819/4779063 to sort lines by lenght in vim but i modified it a little bit to make it work with windows and gawk so i end up having something like this:
vmap <Leader>su ! gawk -f "{ print length(), $0 \| \"sort -n \| cut -d\\ -f2-\"}"<CR>
but everytime i try to use it it says that it could open a .tmp file in my C:\Users\Username\AppData\Local\Temp\VIi33.tmp
any ideas?