Neogit / Magit or Jujutsu in Zed #40179
theherk
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Zed has great git integration. However, sometimes one wants something a little different or something that can be used outside Zed as well.
You may have seen the Lazygit tasks that have popped up in a few places. In fact, it has just appeared in the new Hidden Gems: Team Edition Part 1, though this has been around for quite a while. see #8485.
Anyway, if you're a lover of Neogit (much like Magit), you can use Neogit directly in Zed. You can also run Jujutsu UI for those of you working with Jujutsu.
Neogit
Neovim configuration
First, you'll need an autocmd to spawn neogit directly (assuming you have the extension installed). I do this in my config like this
Then you can use this anywhere you want for just the git interface.
Zed Configuration
Then, you need a task and optionally a keymap to run it.
~/.config/zed/tasks.json
~/.config/zed/keymap.json
Jujutsu
Assuming you have Jujutsu and jjui installed, you simply need the task and optionally the keymap.
~/.config/zed/tasks.json
~/.config/zed/keymap.json
Beta Was this translation helpful? Give feedback.
All reactions