What's the explicit difference between this and vim-fugitive? #539
-
I randomly came up on this recently (somehow didn't see it when looking for git plugins initially), and this looks quite similar to fugitive, is there any explicit design difference or whatnot that made this happen? Or are there similar principals but in just Lua? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi! This plugin doesn't take any inspiration from fugitive, but I can tell you why they feel similar: fugitive took inspiration from the same place this does! tpope/vim-fugitive#569 What we're doing here is working towards building magit, an emacs plugin, in lua, for neovim. Any similarities to fugitive are purely coincidental :) |
Beta Was this translation helpful? Give feedback.
The CKolkey fork has now arrived in master.
And you are correct, Fugitive is its own thing which serves to be a Magit inspired solution for Git workflow inside Vim.
Fugitive uses a more Vim idiomatic workflow, such as relying on Ex commands and as such works more like a smart terminal which you feed commands.
Neogit is perhaps closer to Magit and also serves to bring a Git workflow to Neovim. However, Neogit aims to achive a much more interactive interface with popups, navigation, keybindings and selection screens. An example which neatly illustrates this is the rebasing workflow.
Fugitive provides a status like buffer which displays the current git state and in-progress rebases and stage…