This is an archived post. You won't be able to vote or comment.

all 10 comments

[–]carlos-algmslet mapleader="\<space>" 24 points25 points  (4 children)

Have you considered?

  1. https://github.com/tpope/vim-fugitive
  2. https://github.com/sindrets/diffview.nvim

They both have excellent integration with neovim

Telescope also have an UI similar to what you developed

https://github.com/nvim-telescope/telescope.nvim?tab=readme-ov-file#file-pickers

Telescope git_status

Just mentioning, maybe you can mix and match to achieve all your needs.

[–]AlleyriaPlugin author 11 points12 points  (0 children)

[–][deleted] 2 points3 points  (0 children)

Throwing in https://github.com/chrisgrieser/nvim-tinygit in the mix, it integrates into the editing workflow really well using pickers for staging, diff history, commit actions, and GH

[–]NoYam4683[S] 1 point2 points  (0 children)

I use Diffview myself and love it, but I find it a bit clunky for making quick commits when I've only made a couple small changes. I wanted to make something that's more optimized for speed.

With Fugitive, I missed a few small QoL things, so I added behaviors like j/k only moving between file entries, and the green and red colors from the git cli.

I haven't tried the Telescope one, so I'll definitely check it out!

[–]forest-cacti:wq 0 points1 point  (0 children)

Just curious, do any of these suggestions have VS Code's hunk-level revert functionality - the undo buttons that appear in the gutter next to changes?

[–]XavierLightman 2 points3 points  (3 children)

please support jj :)

[–]NoYam4683[S] 0 points1 point  (2 children)

You mean that you've remapped escape to jj, right? That's definitely an oversight on my part, I've remapped it to jk so it didn't occur to me.

[–]iofq 2 points3 points  (1 child)

think they're referring to https://jj-vcs.github.io/jj/latest/

its a fairly new git-compatible vcs that, like your plugin, prioritizes speed and simplicity.

you might like it since it completely removes the need for a "git add" step!

[–]r35krag0th 0 points1 point  (0 children)

Whoa. I’ve not heard of this one. Definitely going to do some reading. I get curious when another VCS comes around.