rhysd / committia.vim

A Vim plugin for more pleasant editing on commit messages
MIT License
731 stars 30 forks source link

Add the ability to customize left window width #50

Closed jaydorsey closed 4 years ago

jaydorsey commented 4 years ago

The width of the left panel is a fixed width of 80, here

It would be nice/useful if we could customize this, with the default set to 80 to maintain behavior

I wrap my commit messages at 80 chars, but I also have some things in the gutter that always show which leads to the commit message window horizontally scrolling

I've hard-coded this value locally and it works great but it would be a nice configuration option, I think. I haven't worked with vimscript before but I'll try and create a PR for this (someone else feel free to submit it if you know how to do it)

Edit: I created a PR for this and linked it. I've been using it for a week now and it's been working great