/usr/share/doc/libtext-autoformat-perl/examples/config.vim is in libtext-autoformat-perl 1.669004-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | " Add these lines to your .vimrc and you will be happy with
" p5-Text-Autoformat. Use ctrl-k to reformat a paragraph and ctrl-n to
" reformat all text from the cursor.
imap <C-K> <esc> !G perl -MText::Autoformat -e "{autoformat;}"<cr>
nmap <C-K> !G perl -MText::Autoformat -e "{autoformat;}"<cr>
vmap <C-K> !G perl -MText::Autoformat -e "{autoformat;}"<cr>
imap <C-N> <esc> !G perl -MText::Autoformat -e "{autoformat{all=>1};}"<cr>
nmap <C-N> !G perl -MText::Autoformat -e "{autoformat{all=>1};}"<cr>
vmap <C-N> !G perl -MText::Autoformat -e "{autoformat{all=>1};}"<cr>
|