ccstatusline icon indicating copy to clipboard operation
ccstatusline copied to clipboard

Feature request: Default Padding — option for left-only or right-only

Open riptscripts opened this issue 5 months ago • 0 comments

Summary

The Default Padding setting currently applies padding to both the left and right of each widget — per the docs: "Add consistent padding to the left and right of each widget."

It would be useful to choose which side(s) that padding applies to, rather than always both.

Request

Add an option to control the padding side:

  • Both (left + right) — current behavior, default
  • Left only
  • Right only

The default stays both, so existing configs render identically and nothing breaks for current users.

Why

With some separator / powerline styles, padding on both sides can compound the spacing between adjacent widgets, or push the first/last widget further from the line edge than wanted. Per-side control lets you tune spacing on one side without it doubling up on the other.

Notes

Backwards-compatible: the existing defaultPadding value keeps working as-is; the new side option just narrows where that padding is applied.

riptscripts avatar Jun 24 '26 19:06 riptscripts