Re:Lazygit: A simple terminal UI for Git commands
by 7kay on Tuesday November 30, 2021 @06:10PM
(#29398612)
May I ask what made you choose lazygit instead of fugitive? I'm using the latter and am quite happy with it, but I'm keen to learn what I'm missing out on.
[ Parent
| on HN ]
Re:Lazygit: A simple terminal UI for Git commands
by stavros on Tuesday November 30, 2021 @06:49PM
(#29398947)
I use both, though I only use fugitive for "git blame" and I use Lazygit for log browsing and partial staging. With me, it's just what tool will stick, fugitive might be great but I just don't stick with it.
Same with editors, I really want to like VS Code but in the end I just open vim by default again.
Re:Lazygit: A simple terminal UI for Git commands
by typon on Tuesday November 30, 2021 @07:19PM
(#29399147)
Same here. Fugitive for me is really only good at git blame and git diff. Rebasing, branching, stashing, commiting is better done with lazygit
Re:Lazygit: A simple terminal UI for Git commands
by agileAlligator on Tuesday November 30, 2021 @10:39PM
(#29400398)
You can try vim emulation inside vscode, there is an extension for that.
https://marketplace.visualstudio.com/items?itemName=vscodevi...
Re:Lazygit: A simple terminal UI for Git commands
by stavros on Wednesday December 01, 2021 @02:03AM
(#29401436)
I do use that, and it's OK, but I just can't get used to the VS Code workflow or something...
Re:Lazygit: A simple terminal UI for Git commands
by ekianjo on Wednesday December 01, 2021 @12:09AM
(#29400908)
It does not support all vims features.
Re:Lazygit: A simple terminal UI for Git commands
by cvak on Wednesday December 01, 2021 @04:29AM
(#29402184)
there's also this: https://github.com/asvetliakov/vscode-neovim
Re:Lazygit: A simple terminal UI for Git commands
by kblev on Wednesday December 01, 2021 @12:06AM
(#29400893)
What is a vim emulator?
Re:Lazygit: A simple terminal UI for Git commands
by da39a3ee on Wednesday December 01, 2021 @12:47AM
(#29401089)
An editor extension that makes the editor behave like vim as far as editing operations are concerned (so modal, etc). E.g. Emacs has very accurate vim emulation in evil-mode.
Re:Lazygit: A simple terminal UI for Git commands
by ahurmazda on Tuesday November 30, 2021 @08:01PM
(#29399429)
Personally I’m not a fan of the fugitive/magit style UI, ie learn a bunch of esoteric commands (:Git blah) so that you don’t need to remember the other set of original commands.
With lazygit/tig, at least there is a visual pager with shortcut letter I need to press along with a text hint about what it actually does.
Re:Lazygit: A simple terminal UI for Git commands
by tcmart14 on Tuesday November 30, 2021 @11:07PM
(#29400546)
Magit is fairly straight forward if you have helm. magit-commt, magit-push, magit-pull, magit-status, etc. But so long as you have helm, it is really easy. A lot of the time I don't even need to type 'magit-', I can just type 'status' and helm will pull 'magit-status' to the top of the list.
Re:Lazygit: A simple terminal UI for Git commands
by phonebucket on Wednesday December 01, 2021 @04:14AM
(#29402115)
> ie learn a bunch of esoteric commands (:Git blah) so that you don’t need to remember the other set of original commands
I use fugitive, but haven't remembered these commands. I map what they do to shortcuts of my choosing e.g. \gad = git add; \gco = git commit; \gpus = git push etc.