Neovim and Git: SOLVED

  Рет қаралды 79,243

typecraft

typecraft

Күн бұрын

Пікірлер
@mahirabbas3700
@mahirabbas3700 10 ай бұрын
thanks nerd!
@typecraft_dev
@typecraft_dev 10 ай бұрын
there he is
@mambusskruj
@mambusskruj 10 ай бұрын
This is the highest quality youtube content about nvim I've ever seen. Top notch.
@lenluin
@lenluin 10 ай бұрын
Fugitive’s status window is the killer feature that you missed. Makes managing the commits so much simpler.
@typecraft_dev
@typecraft_dev 10 ай бұрын
oh damn! I gotta admit I use fugitive pretty lightly in my day-to-day work so I may have missed more in-depth features
@runelausen1135
@runelausen1135 10 ай бұрын
I agree with @lenluin. Try :Git without any arguments. This is where Fugitive really shines IMHO. As a side note: It's ok just to write G and save a few keystrokes 🙂
@restagner99
@restagner99 9 ай бұрын
Thanks for taking the time to put this together. I recently transitioned away from vim-fugitive to neogit. Personal preference, but I think neogit is just more tightly integrated into neovim
@juniorsundar
@juniorsundar 10 ай бұрын
I like this series a lot. Getting a minimum viable Neovim with a scalable plugin management system in place is the biggest hump for any newbie. Once you’re over that it’s all smooth sailing. Lua isn’t particularly a tough language to learn and breaking Neovim isn’t so catastrophic as long as you keep a backup of a stable Neovim config handy. Great work nerd!
@typecraft_dev
@typecraft_dev 10 ай бұрын
thanks! I'm glad you're enjoying the videos!
@lipegps
@lipegps 9 ай бұрын
I love to use LazyGit inside NeoVim, great git UI.
@fantero1649
@fantero1649 10 ай бұрын
absolute game changer, been following for a while and I've got no regrets at all. You're probably the most interactive and beginner friendly neovim content creator I've seen and im glad I stumbled upon your channel when I was making the switch. Thanks and lots of love (nerd)
@typecraft_dev
@typecraft_dev 10 ай бұрын
Hell yeah brother, thanks!
@aditya95sriram
@aditya95sriram 5 ай бұрын
I don't see the intro getting the love it deserves, the confused look back at the camera always gets a chuckle out of me 😂 Great content by the way, how did I not know about gitsigns until now?!
@kalanzi1000
@kalanzi1000 10 ай бұрын
You are soo good at teaching and explaining stuff,i cant wait for you to start teaching any tech stack
@cantucodes
@cantucodes 10 ай бұрын
Amazing video! I had no idea gitsigns existed! What an awesome plugin.
@typecraft_dev
@typecraft_dev 10 ай бұрын
Glad you liked the video! and yeah its a pretty great plugin
@Denis-wf4bl
@Denis-wf4bl 10 ай бұрын
Thank you so much for the video! It's really informative. I will try out vim-fugitive. My current workflow is to open a tmux pane and then enter the git commands. With vim-fugitive I will save a step 🤭
@typecraft_dev
@typecraft_dev 10 ай бұрын
that was my workflow for the longest time. and I really think this is better. thanks for being a part of the gang!!!!
@manee427
@manee427 10 ай бұрын
Best Neovim config tutorial in youtube
@friendly__drone9352
@friendly__drone9352 10 ай бұрын
You're doing great TC! Converting the masses to Neovim
@davidkagan7290
@davidkagan7290 10 ай бұрын
I think these videos are absolutely amazing, thank you for making them! They're slowly moving me away from using a neovim "distro", and that's one of my goals. One of the things that I miss is having is a file/buffer format on save using a preferred formatter for the language per file/buffer.
@TannerEllen
@TannerEllen 10 ай бұрын
conform.nvim is the plugin for that. Works great and will fallback to the default lsp formatter when no other formatter is available.
@domojestic4155
@domojestic4155 10 ай бұрын
Awesome video! Personally, I think a good way (for me) to integrate Git seemlessly into my workflow is having Lazygit open in another tmux window/pane, and then just hopping back and forth. No shade to TPope, he's a phenomenally talented programmer, but I just don't think vim-fugitive will be for me. The gitsigns plugin is pretty neat, though! That's the benefit of a modular plugin system, for sure! 😁
@typecraft_dev
@typecraft_dev 10 ай бұрын
Yup, and that is how I currently use lazygit. I like fugitive at least for Git blaming files. It feels a little quicker to me than trying to do the same in lazygit. But I'm with you, lazygit is always open in another pane for me
@derpenstocks
@derpenstocks 10 ай бұрын
Give neogit a try!
@jenkinpan185
@jenkinpan185 10 ай бұрын
I think the Fugitive is unnessary for me. Because I found out the neotree also has a nice gui for showing git status, git add and commit even push it. but I do really like the gitsigns to show my change. Thanks for your sharing!
@Redyf
@Redyf 10 ай бұрын
Gitsigns might be good... but your videos are even BETTER!
@typecraft_dev
@typecraft_dev 10 ай бұрын
awwwww
@chris-ew9wl
@chris-ew9wl 10 ай бұрын
you forgot to show :G which is fugitive's status window, where you can stage the whole file and even hunk files, it also shows you the changes you made by pressing = on the filter itself.
@bartstavenuiter9895
@bartstavenuiter9895 10 ай бұрын
i use this more than the command line Git commands
@CrixuAMG
@CrixuAMG 10 ай бұрын
Great video! Love the series so far, it has really helped me to understand neovim and the way plugins work within it! Could you please also make a video on ToggleTerm or any alternative you think is better? Having a background terminal for for example running a watch command that you can popup whenever you need it would be a great addition in my opinion
@gdnight
@gdnight 10 ай бұрын
did you just give yourself a fake Neovim logo tattoo ?
@typecraft_dev
@typecraft_dev 10 ай бұрын
… maybe 🤔
@TheRich107
@TheRich107 5 ай бұрын
His KZbin profits feed directly into his local tattoo removal business. This is technically a not for profit channel
@marcelonmoraes
@marcelonmoraes 4 ай бұрын
Great video and explanation. Thanks for share.
@nassehk
@nassehk 10 ай бұрын
I liked git-fuggitive. Thanks for introducing it
@nairdesu
@nairdesu 7 ай бұрын
nvim neck tattoo disappeared?👀 1:00
@RussFrizzell
@RussFrizzell 10 ай бұрын
Best feature of Fugitive: Instead of :Git add, just do :Gw That will do the same thing for the current file. 😁
@LewiatanHPC
@LewiatanHPC 10 ай бұрын
To be honest, after a recent video about Lazy Git I was expecting the Lazy Git plugin :D Any reasons you used Fugitive instead of LG plugin?
@typecraft_dev
@typecraft_dev 10 ай бұрын
I actually use both. I use lazygit on its own in a separate pane. And when spot-checking files with git blame, I use fugitive
@LewiatanHPC
@LewiatanHPC 10 ай бұрын
@@typecraft_dev I see. Actually git blame seems really usefull so I could use that for. But also for now for me it seems much easier to run lazygit directly in neovim rather than separate instance. Maybe because I'm not using tmux yet 🤔 Nevertheless, thanks for the series! It really helped me do a decent progres with switching to neovim 👊
@filippzakharov1378
@filippzakharov1378 10 ай бұрын
Hi! What is the plugin for the line that shows temperature and current folder or what is it?
@typecraft_dev
@typecraft_dev 10 ай бұрын
that is part of my tmux setup! here: kzbin.info/www/bejne/fmiTnYiCjK-Yn8ksi=yHHE6wNHsdhfhvXs
@filippzakharov1378
@filippzakharov1378 10 ай бұрын
Thanks!) @@typecraft_dev
@ahmadhassan90590
@ahmadhassan90590 6 ай бұрын
Next Level Productivity and Thanks
@avishka-don
@avishka-don 10 ай бұрын
Hey love your series, I’ve been trying to add GitHub copilot but kept getting some issues around the module is not being loaded. Can you make a video on how I can add it?
@typecraft_dev
@typecraft_dev 10 ай бұрын
SURE!
@dezly-macauley
@dezly-macauley 10 ай бұрын
😎🤘 Before I knew about this channel I was using Neovim with VS Codium as a backup. Each video this guy makes is making my old setup on VS Codium less appealing. Might as well uninstall it.
@typecraft_dev
@typecraft_dev 10 ай бұрын
Love hearing this! I'm glad you're getting so much out of these videos
@BigToinE976
@BigToinE976 9 ай бұрын
How to jump into the hunk preview window to copy what's inside ?
@amqndin
@amqndin 10 ай бұрын
what theme are you using
@typecraft_dev
@typecraft_dev 10 ай бұрын
Catppuccin mocha
@tahseenjamal
@tahseenjamal 6 ай бұрын
How did you do that where for adding a new file you have a pop up window to enter the name ?
@joergw
@joergw 10 ай бұрын
Wow, really nice 🤘 Are those plugins also good for diff's and merging conflicts? These are typical some tasks, which needs a really good visualization
@typecraft_dev
@typecraft_dev 10 ай бұрын
you can use fugitive for merge conflicts for sure. I use lazygit for that typically (I have a video on it in this channel)
@CarmenGeelhaar
@CarmenGeelhaar 10 ай бұрын
Diffview is an amazing Plugin for this use case
@nikolabanovic4833
@nikolabanovic4833 10 ай бұрын
Can you make a video about using your local nvim config for developing in remote environemnts, like in a docker container? I'm having trouble getting LSP to work there
@secondculs
@secondculs 10 ай бұрын
I'm trying to show the git branch in the left corner like you. Can somebody tell me how?
@laughingvampire7555
@laughingvampire7555 4 ай бұрын
vim-merginal is the greatest complement to fugitive
@TheCazacuCristian
@TheCazacuCristian 10 ай бұрын
I also integrated lazygit directly in vim through the popup terminal and when I edit a file it opens directly in the current vim session, by the way nice video 😍
@aarond309
@aarond309 10 ай бұрын
popup terminal to open lazygit and flatten.nvim to edit in the current session
@sachinmalik566
@sachinmalik566 10 ай бұрын
Can you please help customize the neo-tree icons? Pretty please? The default ones don't look so good and I can't change it without breaking something else.
@EmileNani
@EmileNani 10 ай бұрын
Thanks nerd! I use gitsigns and I use lazygit in a tmux-popup over my neovim. How much am I really missing out by not utilising fugitive?
@zobayer1
@zobayer1 23 күн бұрын
This could be the part 7 of the neovim for newbs course.
@LinuxForLife
@LinuxForLife 9 ай бұрын
Nice! 👍 Next one will be Telescope? 🎉
@Saboor-Hamedi
@Saboor-Hamedi 10 ай бұрын
I have a question: Your Neovim looks quite clean, unlike mine. In my setup, the theme doesn't cover the entire workbench, particularly on the right side. When I move the cursor, it doesn't look nice on the eyes. How can I solve that?
@alecclews
@alecclews 10 ай бұрын
Is there is a reason this is not EP 7 in the Neovim course?
@pauliusjo
@pauliusjo 10 ай бұрын
that neovim configuration, I can't replicate on Windows11 please someone help me with how to set environmental variables to point to python3 :checkhealth provider Python 3 provider (optional) ~ - WARNING No Python executable found that can `import neovim`. Using the first available executable for diagnostics. - WARNING Could not load Python 3: python3 not found in search path or not executable.
@2EOGIY
@2EOGIY 10 ай бұрын
Noob question: is there a plugin to refactor issues suggested by linter? or if it is already in neovim then how to do it?
@typecraft_dev
@typecraft_dev 10 ай бұрын
If you have something running a linter. That should be able to solve your problem. Maybe theres a code-action function for the plugin you're uisng for your linter?
@Shivam-to8wc
@Shivam-to8wc 10 ай бұрын
​@@typecraft_dev Lspconfig and lspsaga both plugins have code actions.
@AnthonyBullard
@AnthonyBullard 10 ай бұрын
These code actions differ on the language/lsp. Some provide few fix up type actions, some provide too many (Haskell btw)
@CodingWithLewis
@CodingWithLewis 10 ай бұрын
I just need to get gud and jump into NeoVim
@typecraft_dev
@typecraft_dev 10 ай бұрын
Haha yup! Gotta figure out how to exit first
@rules-nx5rk
@rules-nx5rk 10 ай бұрын
we need a video about chatgpt plugins for nvim
@gjermundification
@gjermundification 10 ай бұрын
3:52 Not to mention which comment to make on commit.
@saurabhrane8039
@saurabhrane8039 9 ай бұрын
Hey Nerd, are you not using warp anymore?
@s-xatya5088
@s-xatya5088 10 ай бұрын
Next video, Refactoring 🙌
@glenrubenlarsen8479
@glenrubenlarsen8479 9 ай бұрын
Did you cheekily edit in a neovim neck tattoo on yourself there for a moment?
@typecraft_dev
@typecraft_dev 9 ай бұрын
maybe :)
@martinezfg111
@martinezfg111 7 ай бұрын
Nice Neovim tat
@laggedskapari
@laggedskapari 10 ай бұрын
Noooooooo! Nerd nuked his moustache.
@typecraft_dev
@typecraft_dev 10 ай бұрын
I’m growing it back as quick as I can I promise!
@Yunky_
@Yunky_ 10 ай бұрын
Do autopairing next.
@pranavkarthikvijayan7586
@pranavkarthikvijayan7586 9 ай бұрын
great video
@typecraft_dev
@typecraft_dev 9 ай бұрын
Thanks!
@PetrenkoAndrii
@PetrenkoAndrii 10 ай бұрын
Cool!🎉
@typecraft_dev
@typecraft_dev 10 ай бұрын
Thanks!
@Pptruenoz
@Pptruenoz 10 ай бұрын
Good videos!
@typecraft_dev
@typecraft_dev 10 ай бұрын
Glad you like them!
@littlecurrybread
@littlecurrybread 10 ай бұрын
appreciate it!
@zolitakacs6306
@zolitakacs6306 10 ай бұрын
lit fuggitive is older than me
@mrsu7353
@mrsu7353 22 күн бұрын
At 1:04, do you have a Neovim tattoo on your neck?
@ShaqarudenGames
@ShaqarudenGames 10 ай бұрын
Would rather use lazygit than fugitive
@prop3rrr
@prop3rrr 6 ай бұрын
Try gitui;)
@MiguelLopez-mu1ss
@MiguelLopez-mu1ss 9 ай бұрын
Just open lazygit in a floatng window
@hamzarashid7579
@hamzarashid7579 4 ай бұрын
Neogit is more interactive and advance than fugitive.
@sumirandahal76
@sumirandahal76 10 ай бұрын
Neovim 'N stands for the Nerd' Nerdvim
@arshadjaveed7877
@arshadjaveed7877 10 ай бұрын
Basically, you start with vim and turn it into vscode
@markbabin3753
@markbabin3753 9 күн бұрын
lmaooo the neck tattoo!
DONT use Neovim!! (in these scenarios)
8:56
typecraft
Рет қаралды 46 М.
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
30 Vim commands you NEED TO KNOW (in just 10 minutes)
10:27
typecraft
Рет қаралды 131 М.
The Holy Grail of Neovim Git Integrations
13:28
DevOps Toolbox
Рет қаралды 44 М.
My Forever Dev Workflow
16:02
typecraft
Рет қаралды 112 М.
How to learn Bash and Vim the FUN WAY with Advent of Code!
8:46
Nathan Laundry
Рет қаралды 2,3 М.
Making Tmux Better AND Beautiful -- here’s how
10:56
typecraft
Рет қаралды 103 М.
How to Vim in 2023: Tips and Tricks
15:53
ThePrimeagen
Рет қаралды 441 М.
The HIDDEN Git Trick for Resolving Merge Conflicts
8:48
DevOps Toolbox
Рет қаралды 20 М.
Git Worktrees and Neovim: A Match Made in Coding Heaven
9:53
DevOps Toolbox
Рет қаралды 32 М.
I was wrong about git stash...
5:19
Philomatics
Рет қаралды 165 М.
I'm never using Git the same way again
11:19
typecraft
Рет қаралды 97 М.