Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Commands for aligning text. :left, :right and :center #12944

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

nik-rev
Copy link
Contributor

@nik-rev nik-rev commented Feb 24, 2025

This PR adds:

  • :center to center text
  • :left to align text to the left
  • :right to align text to the right

Showcase:

align-text-helix.mp4

All commands also take a parameter that allows you to specify what text width to use. If you don't use this parameter, it follows language config -> editor config text_width setting.

@nik-rev nik-rev marked this pull request as ready for review February 24, 2025 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant