chrisgrieser / nvim-tinygit

A lightweight bundle of commands focussed on swift and streamlined git operations.
MIT License
154 stars 4 forks source link

Feature Request: Commit message improvements #10

Closed skoch13 closed 6 months ago

skoch13 commented 6 months ago

Feature Requested

First of all thank you for this great plugin!

I have two question/feature requests:

Thank you in advance

Relevant Screenshot

No response

Checklist

chrisgrieser commented 6 months ago

thank you!

is it possible to increase commit message width?

The appearance of the commit preview is determined by nvim-notify. To change for example the width of the preview, use:

require("notify").setup {
    max_width = 60,
}

is it possible for say kawre/neotab.nvim operate properly in such buffers(?) ?

Don't think so, the nvim-notify buffer isn't really intended for navigating, and also does not have any brackets to begin with, so I am not sure what you'd want to use the plugin for anyway? If you mean the commit message input buffer: yes, that should be possible, the tab key is not mapped by tinygit, so it should not require anything special.

skoch13 commented 6 months ago

@chrisgrieser it turned out that eventually tab key worked as I'd expect it, but by some reason it didn't when I was creating this issue.

Thank you

skoch13 commented 6 months ago

Oh, and I just realized I might've confused you, but I was asking about the commit message input, but I'll check stevearc/dressing.nvim settings

chrisgrieser commented 6 months ago

oh I see. Yup, that's dressing. The width is controlled by these settings:

require("dressing").setup {
    input = {
        prefer_width = 73,
        min_width = 0.4,
        max_width = 0.9,
    }
}