Misc. formatting tools for Bytetools
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tait Hoyem 3c923668cf Add tripple dots ligature to replacement list. 8 months ago
LICENSE Add license 10 months ago
README.md Update reamde 10 months ago
format-sentence.vim Rename vim 10 months ago
replace-bad-characters Add tripple dots ligature to replacement list. 8 months ago



This is very... miscellaneous repo. Basically, random one-off scripts that do something small enough that it doesn't make sense to create an entirely different repository for it.

All tools are explained by a second level header.


This script removes common bad characters from the pdftotext tool. It does not catch them all though.


$ replace-bad-characters test.txt


This vim script defines a function that will (mostly) format sentences on one line. It screws up on colons and and question marks if text is after it, but otherwise is fairly accurate.


:call FormatSentence()

To attach it to a key sequence, for example Ctrl+Shift+p

nnoremap <C-S-p> :call FormatSentence()<CR>


If you'd like to contribute, please open a pull require on the Github unless you work for Bytetools and have permissions.