Reformat whole file

2 Points

Martin Toma Martin Toma

10 years ago

With this snippet You can easily reformat whole file. Thanks to marks You will stay on your current position. I use my 'subleader' comma here, but feel free to map to whatever You like.

nnoremap ,f mzgg=G`z