Skip to content

bytetools/formatting-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Misc. text formatting tools for Bytetools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published