Re-indent entire buffer

2 Points

chechoRP chechoRP

3 years ago

Look at the title of this snippet :) ... One caveat, it doesn't keep the cursor position when triggered

" Re-indent entire buffer
nnoremap <leader>i gg=G