logoalt Hacker News

TheSorcerertoday at 7:02 PM1 replyview on HN

Thanks! Super valuable feedback! I'll make sure to implement these features in the near future. The branch diff is already there and works quite nice.


Replies

insane_dreamertoday at 8:37 PM

another feature that pycharm has (and Zed though not as well implemented): insert the filename into the commit text.

zed inserts the filename but doesn't allow you to edit the commit (so it's all or nothing), pycharm allows you to edit the commit prepopulated with the filename if only one file is staged.

another enhancement is that neither pycharm or zed can handle inserting multiple filenames into the commit. so while editing the commit, you could potentially have keys to insert the staged filenames, i.e., by pressing a meta+number key combo where ctrl+1 inserts the first filename in the staged list, ctrl+2 the second, 1-9. just an idea.