Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 352 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 352 Bytes

Preserve.vim

Preserve function plus a few suggested uses G :call Preserve("normal gg=G") Removes trailing whitespace w :call Preserve("%s/\s\+$//e")

Spoke to Drew Neil and Johnathan Palardy on twitter, who came up with with the preserve trick and made it a function, respectifvely, and they are cool with this.