Asif Process a block of text as if it were in a buffer of a different filetype Example: :call append(10, Asif(getline(1,10), 'text', ['set textwidth=40', 'normal! gqap'])) Note Asif depends on https://github.com/dahu/vimple