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.
|
8 months ago | |
---|---|---|
LICENSE | 10 months ago | |
README.md | 10 months ago | |
format-sentence.vim | 10 months ago | |
replace-bad-characters | 8 months ago |
README.md
formatting-tools
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.
replace-bad-characters
This script removes common bad characters from the pdftotext
tool.
It does not catch them all though.
Usage
$ replace-bad-characters test.txt
format-paragraph.vim
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.
Usage
:call FormatSentence()
To attach it to a key sequence, for example Ctrl+Shift+p
nnoremap <C-S-p> :call FormatSentence()<CR>
Contribution
If you'd like to contribute, please open a pull require on the Github unless you work for Bytetools and have permissions.