NEOVIM GIT PRODUCTIVITY: 2024

Поделиться
HTML-код
  • Опубликовано: 3 окт 2024

Комментарии • 9

  • @Alan910127
    @Alan910127 3 месяца назад +1

    Why would you use Fugitive to commit and push? In the Neogit menu, you can press `c` to edit the COMMIT_EDITMSG and press `P` to push (note that `P` is uppercase, and lowercase `p` is for pulling).

    • @ashishalex10
      @ashishalex10  3 месяца назад

      Yup, i didn’t know at the i made the video. now I have made the switch, thanks thought

  • @SirJagerYT
    @SirJagerYT 15 дней назад

    What are your thoughts on lazygit cli ? Why not just use lazygit ?

    • @ashishalex10
      @ashishalex10  13 дней назад +1

      never really used it tbh. Also, this current setup is integrated with neovim as in the key bindings. So always felt at home with this

    • @SirJagerYT
      @SirJagerYT 13 дней назад +1

      @@ashishalex10 Yeah, this is the way to go in neovim. But I like lazygit, it reduces 3-4 plugins in neovim, plus it runs standalone. So i prefer lazygit. You should give a try for once

  • @vukovukasinovic7661
    @vukovukasinovic7661 3 месяца назад

    Hello,
    At around 2:21 in your video, you have a popup that shows a diff with red and green highlights. I have the same popup in my Neovim setup, but it doesn't show the red and green diff. How did you configure that to display the diff in such a way?
    Thank you!

    • @ashishalex10
      @ashishalex10  3 месяца назад

      This I believe are coming from 'lewis6991/gitsigns.nvim' plugin.
      You might want to checkout the config I have used in this repo - github.com/ashish10alex/pnvim/blob/b8799814b556ea253e562dfdb4323047df43d47f/lua/plugins/fugitive.lua#L18-L18

    • @vukovukasinovic7661
      @vukovukasinovic7661 3 месяца назад +1

      @@ashishalex10 I did but nothing seemed to work for me, I guess I will have to research more. Thank you very much! Take care

    • @ashishalex10
      @ashishalex10  3 месяца назад

      Last try, could it be because I have delta cli installed in my path
      delta cli -> github.com/dandavison/delta