Git integration in Helix for an IDE like experience?

Sdílet
Vložit
  • čas přidán 25. 03. 2024
  • A short tutorial on integrating Git with a custom keybinding in the Helix editor.
    Config Gist: gist.github.com/lavafroth/c5b...
    Official docs for key remapping: docs.helix-editor.com/remappi...
  • Věda a technologie

Komentáře • 23

  • @lavafroth
    @lavafroth  Před měsícem +2

    With helix being a recent editor, what hidden or undocumented feature have you come across?
    Config Gist: gist.github.com/lavafroth/c5b01984fcd58f26911bd42e43d29289
    Official docs for key remapping: docs.helix-editor.com/remapping.html

  • @kalthun8318
    @kalthun8318 Před měsícem +3

    The idea to use the multi-command is brilliant. I have been slowly setting up a full IDE in helix and I had no idea this was possible.

  • @yeyee2418
    @yeyee2418 Před 10 dny

    Oh wow I didn't know you can do that using insert-output. Thanks! 😋

  • @thatguynar
    @thatguynar Před 18 dny

    This is actually pretty cool. I usually just have another terminal window or a zellij tab for lazygit but this is even better.

  • @forloopcodes
    @forloopcodes Před měsícem +5

    Crazy

  • @swastikacharyya
    @swastikacharyya Před měsícem +1

    Thanks for this and you have a new subscriber

  • @UliTroyo
    @UliTroyo Před měsícem

    Oh! This is super useful, thanks!

  • @PacificBird
    @PacificBird Před měsícem

    Absolutely awesome

  • @alpomb4628
    @alpomb4628 Před měsícem

    This is amazing

  • @rickdixon1928
    @rickdixon1928 Před měsícem

    Thanks for this vid. Now, all I have to do is figure out how to get emacs's magit to work in a tty like lazygit does and I will have my favorite git front-end in helix. :D

  • @Aceu_
    @Aceu_ Před měsícem +2

    it crashes when you want to edit a file with helix through lazygit
    When typing "e" on a file it freezes

    • @lavafroth
      @lavafroth  Před měsícem

      Good catch, yes. If you try to edit the file, lazygit will try to spawn helix inside helix. Since this is more of a hacky way to integrate lazygit, you might have to get back to helix to edit the file for now.

  • @wetfloo
    @wetfloo Před 6 dny

    I need to know what font this is

  • @vacagonzalo
    @vacagonzalo Před měsícem

    nice

  • @simplegamer6660
    @simplegamer6660 Před 12 dny

    I'm getting an error when trying to execute the ":insert-output lazygit" command. Any ideas how to fix it?

    • @lavafroth
      @lavafroth  Před 12 dny

      Consider using the full path to the lazygit binary. Also, I'm assuming that you have lazygit is installed. I'm using NixOS, so I configure it like so: github.com/lavafroth/dotfiles/blob/main/hosts/default/helix.nix

    • @simplegamer6660
      @simplegamer6660 Před 12 dny

      @@lavafroth everything worked after setting the full path, thanks!

  • @plutack
    @plutack Před měsícem

    Why doesn't esc work to exit rather q?

    • @lavafroth
      @lavafroth  Před měsícem

      That's a lazygit specific keybinding unrelated to helix or this integration but I'm sure there's a way to change it in the configs for lazygit.

  • @rocketsamiyou
    @rocketsamiyou Před 9 dny

    Can I use gitui ?

    • @lavafroth
      @lavafroth  Před 9 dny

      yes!

    • @rocketsamiyou
      @rocketsamiyou Před 8 dny

      @@lavafroth after replacing lazygit with gitui, any time i press Ctrl+g, helix freeze and i wait for about 20 seconds and nothing happens.
      cab you share me how it works ? thanks

  • @borisoid
    @borisoid Před měsícem +1

    Nix mentioned