wordgrinder icon indicating copy to clipboard operation
wordgrinder copied to clipboard

Justify text & mapping keys

Open ajrossnz opened this issue 2 years ago • 1 comments

Hi, I would really like the ability to justify text (as in fill the available page rather than left justify which is the global default). This is a fairly standard option in all word processors. Whilst I appreciate wordgrinder is often suggested for use with other 'prettyfiers', I commonly don't have an option to run a GUI when I am on the move, so doing so is not an option on occasion, thus the reason I use Wordgrinder.

Secondly, it would be awesome if there was some way to map keys such as CTRL-; or CTRL-P for example to remap END, PGDN etc as my terminal cannot support PGDN/UP and END etc. When I enter these sequences into WG it just says that these are already bound or in some cases, provides no error at all.

ajrossnz avatar Mar 19 '23 22:03 ajrossnz

WordGrinder should be able to map any key which your terminal provides (which is not itself a printable character). ^P, for example, should work fine. It's a little inconvenient if the mapping is already present elsewhere as you have to manually hunt it down and delete it (e.g. ^P is in Style -> Change Paragraph Style).

Regarding justification: WordGrinder doesn't know anything about the output format. The only thing justification would do is to change the on-screen rendering. Unfortunately given the monospaced font this would look terrible, which is why it's not supported.

davidgiven avatar Mar 20 '23 13:03 davidgiven