Demo: How I use Neovim to contribute to open source

  Рет қаралды 46,556

bashbunni

bashbunni

Күн бұрын

Hope you enjoyed being my rubber duckies! I will post part two to this video if this one gets 200 likes
Theme: github.com/catppuccin
My LSP keybinds: github.com/bashbunni/dotfiles...
Gocovsh: github.com/orlangure/gocovsh
vhs: github.com/charmbracelet/vhs
Chapters:
0:00 intro
0:43 ze issue
2:15 yoinking code from vhs
2:48 searching for key term with neovim
3:42 how to fork a github repo + cloning gocovsh
4:40 go install
5:20 getting test coverage report
5:40 gocovsh demo
6:00 LSP get references
6:48 finding styles in gocovsh
7:24 brainstorming to solve the issue
7:45 ze coding
10:23 brainstorming round 2
10:51 more coding
14:47 testing the changes
17:50 git restore
18:05 let's PR
20:36 like for part 2
Keep in touch:
/ bashbunni
/ sudobunni
/ discord
Music from Uppbeat (free for Creators!):
uppbeat.io/t/prigida/moonshine
License code: 19NTEKKSQXXGNJ74

Пікірлер: 131
@tommasochiti4237
@tommasochiti4237 Жыл бұрын
glad to see a woman running a YT channel with awesome content, no bs, no boilerplate, just technical stuff. Love it, keep up! ❤️
@endrico221
@endrico221 Жыл бұрын
Nailed it.
@MrAvalanches
@MrAvalanches Жыл бұрын
Definitely nailed it. No BS and no boilerplate. More technical than most female youtubers. Awesome content!
@mrlectus
@mrlectus Жыл бұрын
Lol, and how many women on YT use vim?
@endrico221
@endrico221 Жыл бұрын
@@mrlectus This comment is like asking " Am I with the sheep or not?" God speed to people with original thought and espescially women who also have some technical skills.
@mrlectus
@mrlectus Жыл бұрын
@@endrico221 what do you mean? Am actually intrigued by her
@cokoala5137
@cokoala5137 Жыл бұрын
This is gold. The floundering about to find some functionality that makes sense to you is such a refreshing take on people who just know(or maybe practiced prior) where to look. Definitely relate to your style
@dfinlen
@dfinlen Жыл бұрын
Yeah there is way too much of that. Fish programmer, I flounder my way to something working.
@SeantheSkater96
@SeantheSkater96 Жыл бұрын
Very refreshing to see a programming video that actually shows the real process (research, trial and error etc) rather than just reading from a script and retyping some code that's on another screen. Would love to see more content like this
@bashbunni
@bashbunni Жыл бұрын
Ah thank youuu ❤ I really enjoyed making this so will definitely be making more
@brunomello7499
@brunomello7499 Жыл бұрын
This actually really inspired me to look more into contributing to open source. I already have the mentality of just looking for specific stuff in a code base and have no trouble finding myself in large code bases, but I only did like two open source contributions because I would only contribute when it was something that I found by myself. I never really considered looking into the issues of repos that I enjoy
@sp3ctum
@sp3ctum Ай бұрын
Love it! OS work can be a lot of fun. Catppuccin is such a satisfying theme. I set it everywhere, including neovim, lazygit, yazi, presenterm, delta, starship, wezterm, bat... It's like a frenzy 😄
@StoneColdET_
@StoneColdET_ Жыл бұрын
Recently found the channel from Primes stream, this was great content! Definitely would love to see more open source contribution videos, never have myself and seeing you run through it makes it seem way less daunting for sure hahaha
@kodder
@kodder Жыл бұрын
Just finished it, very useful for fresh programmers to be able to self help and get involved. Keep it up Bash! You're awesome!
@bashbunni
@bashbunni Жыл бұрын
Thank you Kodder!!
@Cirkygolfer86
@Cirkygolfer86 Жыл бұрын
++ For actually putting the full thought process out there.
@coolcoder182
@coolcoder182 Жыл бұрын
Very glad this video was recommended to me, awesome to see you work through your thought process for us to see! Also I feel like this is very relatable to real life development. Great content
@bashbunni
@bashbunni Жыл бұрын
Thank you! That's my goal and why I enjoy live coding on Twitch, but I was struggling to figure out how to bring that to KZbin. Super stoked that it worked out and has been helpful for others :) Thank you for the good vibes!
@pedrolobo9835
@pedrolobo9835 Жыл бұрын
Another content about Neovim. Glad to see this.
@bashbunni
@bashbunni Жыл бұрын
Also finally some Go content!!
@clapperfool
@clapperfool 10 ай бұрын
just explored u and watched some videos... great work, i'm really enjoying the content
@bashbunni
@bashbunni 10 ай бұрын
Welcome in! Nice to have you :) thanks for saying hey
@bradyconnor
@bradyconnor Жыл бұрын
Very cool content. Subbed here and followed on Twitch.
@a2n-
@a2n- Жыл бұрын
Very cool, for also, experienced dev how want to deep into open source. Thanks !
@blankRiot96
@blankRiot96 Жыл бұрын
Always wanted a video like this, glad I found it
@opdavies
@opdavies Жыл бұрын
7:58 Should be... ThePrimeagen!
@SR-ti6jj
@SR-ti6jj Жыл бұрын
Your content is really good! Thank you for making it
@bashbunni
@bashbunni Жыл бұрын
Thank you I really appreciate that!
@leonnardocr
@leonnardocr Жыл бұрын
Nice Dactyl on the background 😍
@perschonca
@perschonca Жыл бұрын
super chill, i like it!
@theodorealenas3171
@theodorealenas3171 Жыл бұрын
It's refreshing to see what my setup could have looked like but doesn't. I came to Linux and NeoVim for the aesthetic, and I ended up in Linux and NeoVim, but with an aesthetic slightly above ThePrimeagen if at all.
@bashbunni
@bashbunni Жыл бұрын
He does 0 ricing 😂 him and I are very different in that way. I love a pretty dev setup (but don’t ask about my cable management 😂)
@JustValxntine
@JustValxntine Жыл бұрын
I LOVE this content, but not breaking your struct fields onto separate lines (13:42 line 21 for example) sent me over the edge D: Looking forward to more content like this though!
@bashbunni
@bashbunni Жыл бұрын
muahahahahaha!!! >:D Would you be putting each of the chained commands on a new line? Or am I misunderstanding?
@JustValxntine
@JustValxntine Жыл бұрын
​@@bashbunni Oh god you're going to make me attempt to format code in youtube comments! Nah I meant the return: return Theme{ NeutralLine: NeutralLine, CoveredLine: CoveredLine, UncoveredLine: UncoveredLine, } Just a style thing but it activates my fight or flight seeing structs on one line hahahaha
@bashbunni
@bashbunni Жыл бұрын
@@JustValxntine ohhh I see what you mean. Yeah agreed that would look cleaner
@JustValxntine
@JustValxntine Жыл бұрын
@@bashbunni Just my preference! But as I say, this content is :chefs-kiss:! I've been a dev (and a Go dev) for about a year now, this video gave me the boost to go hunt for some open source projects in Go to try and contribute to, so thank you!
@bashbunni
@bashbunni Жыл бұрын
@@JustValxntine Yessss! That's the goal!! I hope you have fun doing it :)
@yaminyassin3602
@yaminyassin3602 Жыл бұрын
youtube recommendations are on fire today 🔥
@thiagolopes4978
@thiagolopes4978 Жыл бұрын
Mate is also a good drink, here in Brazil. There is also a desktop environment named MATE. It is a kind of tea. If someday you come here, give a try, and also for Guaraná. XD
@nimser3829
@nimser3829 Жыл бұрын
Nice! Is that junegunn/vim-easy-align that you're using to align some columns (e.g. all `string`s or = signs together)? You seem well versed at it (or whatever else you're using)!
@bashbunni
@bashbunni Жыл бұрын
It's actually just gofmt, I have it formatting on save. I don't think this auto formatting works with all LSPs but it does with Go github.com/bashbunni/dotfiles/blob/mac/.config/nvim/init.lua#L119
@leonardoantunes1598
@leonardoantunes1598 Жыл бұрын
awesome stuff!
@Redyf
@Redyf Жыл бұрын
Your channel is so good, keep up the good work bunni :)
@bashbunni
@bashbunni Жыл бұрын
Thank you :))
@yzxxrw
@yzxxrw Жыл бұрын
great video! btw, what tool did you use to generate that animation/gif with the commands you ran and it's outputs? it looks awesome.
@bashbunni
@bashbunni Жыл бұрын
That was VHS! So github.com/charmbracelet/vhs
@yzxxrw
@yzxxrw Жыл бұрын
@@bashbunni that's awesome! ill def. start using it in some of my projects.
@bashbunni
@bashbunni Жыл бұрын
@@yzxxrw If you tweet charm @charmcli on Twitter with your GIF, we'll feature it as well :)
@yzxxrw
@yzxxrw Жыл бұрын
@@bashbunni :) I will
@headlights-go-up
@headlights-go-up Жыл бұрын
Thank you for this! I'm as green of a dev as you can get, and at the risk of being crucified and exiled I will admit that I've used nothing but vscode. But you're inspiring me to branch out a bit lol
@bashbunni
@bashbunni Жыл бұрын
I think most of the functionality I used for navigating code in Neovim exists in IDEs as well! I have no idea what the shortcuts would be, but you’d be looking for: go to definition, get references, search (one that uses ripgrep under the hood ideally), and workspace diagnostics. I hope that helps! Happy coding 😊
@headlights-go-up
@headlights-go-up Жыл бұрын
@@bashbunni oh okay, cool! thanks for the heads up
@theodorealenas3171
@theodorealenas3171 Жыл бұрын
If I understand, in fact, a specialized IDE will have superior search. It would index the project, and cache what it found for later searches. I think they index on start-up and that's why start-up takes a while.
@Tarexant
@Tarexant Жыл бұрын
What plugin do you use to show the movement keys in nvim? Or is this something to do with gocovsh? @5:55
@bashbunni
@bashbunni Жыл бұрын
Oh that is part of the gocovsh TUI
@Tarexant
@Tarexant Жыл бұрын
@bashbunni ah I see, thank you 😊
@trieulee4739
@trieulee4739 Жыл бұрын
it should get 1k like .
@AKABeestYT
@AKABeestYT Жыл бұрын
That's amazing. I didn't think there were any females in this genre. Best of luck to you and I hope to see more content in the future.
@joacava12
@joacava12 Жыл бұрын
Amazing video, btw what is that font? It looks gorgeous
@bashbunni
@bashbunni Жыл бұрын
IBM Plex Mono Nerd Font! It’s awesome. I love the sharp lines of the font with the pastel theme, it’s so good 🙌
@joacava12
@joacava12 Жыл бұрын
@@bashbunni Thank you!
@carlosalba9690
@carlosalba9690 Жыл бұрын
I got a ertho split keyboard about a month ago and am struggling so much to get back to where I was in terms of productivity that I often give up and switch over to my normal tkl setup. It's nice to have coffee in the middle and good for my posture but def gonna need to remap all my neovim stuff and potentially reprogram my layout.
@bashbunni
@bashbunni Жыл бұрын
Ahh I need to get my nail extensions removed before I can make any proper decisions around what needs to change. It's almost impossible to touch type with long nails since you can't actually feel where you are on the mech keyboard, so not ideal. I was feeling better with it after my 12 hour interpreter stream though!
@GandalfTheBrown117
@GandalfTheBrown117 Жыл бұрын
Every bashbunni video is like water to a parched throat: cool projects, great live technical thinking, not serious/boring, and ~cute~ aesthetic. This video is like all your others: top tier.
@bashbunni
@bashbunni Жыл бұрын
Ah thank you so much! I’m having lots of fun creating it :)
@GandalfTheBrown117
@GandalfTheBrown117 Жыл бұрын
@@bashbunni I'm so glad! Your enthusiasm shows and turns the more sp00ky technical problems into fun challenges. Excited for you! :)
@kodder
@kodder Жыл бұрын
hell yeah!
@n_sweep
@n_sweep Жыл бұрын
What was that move at 8:23 that vertically aligned everything in the DefaultTheme struct?
@bashbunni
@bashbunni Жыл бұрын
It’s just gofmt, I have it set up to format on save!
@n_sweep
@n_sweep Жыл бұрын
@@bashbunni thanks! great video!
@teej_dv
@teej_dv Жыл бұрын
How I use telescope like a boss
@bashbunni
@bashbunni Жыл бұрын
The better title
@teal8365
@teal8365 Жыл бұрын
What config are you using to scroll in place when your cursor goes within like 8 lines of the top/bottom? I'm going crazy trying to google this, no clue how you're doing that // edit: nevermind 5 seconds of checking your dotfiles solved that mystery. >set scrolloff=x
@nodidog
@nodidog Жыл бұрын
You may also enjoy 'sidescrolloff' for horizontal scrolling, too
@orlangure
@orlangure Жыл бұрын
Sorry for the panics 😹 On the other hand, they make the video even more authentic 😼
@bashbunni
@bashbunni Жыл бұрын
Heheh it’s all part of the coding experience! It would be way less fun if I edit out the errors 😂❤ thanks for creating gocovsh!!
@danieltoth714
@danieltoth714 Жыл бұрын
The thumbnail made me so mad i couldnt finish the video lmao
@bashbunni
@bashbunni Жыл бұрын
LMAO I HAD TO. As soon as he said hardcore developers only I had to make an editor joke 😂
@hendrykhoza4782
@hendrykhoza4782 Жыл бұрын
Hello, What font are you using?
@bashbunni
@bashbunni Жыл бұрын
BlexMono Nerd Font!
@zeocamo
@zeocamo Жыл бұрын
it been so long since you upload a video, i don't remember what Neovim tips i have posted, but here are 2 in case one is a repost. 1st when you are in insert mode, you can use ctrl-r to paste from a reg. and if you want the primary you use " so ctrl-r " this is really nice with the .(dot) command, as you can change in word and type some paste then type more then you can redo many times. 2nt if you use the multi cursor in other editors then you got some thing better on vim, it is the cgn command, you start my searching for something(if you want a word then use *) then use cgn(change go next?) and type the new text, then you can use n or N to search for next/prev. and then .(dot) to change and go next, easy 2 keys n and . hope it help and there you go, a tip for a video as promise
@kj-marslander
@kj-marslander Жыл бұрын
she was in ThePrimeagen's livestream a few days ago here
@zeocamo
@zeocamo Жыл бұрын
@@kj-marslander that don't count, as the deal is videos on KZbin, not CNN or BBC on KZbin. it was to help her make videos as she wanted to make more videos. ohh and Welcome as you must be new here.
@theodorealenas3171
@theodorealenas3171 Жыл бұрын
Yes! I'd add, you can Ctrl R in command mode too. And in search mode. You can see where this is useful right? Just be mindful when you paste a dot or slash in the search.
@pedrolobo9835
@pedrolobo9835 Жыл бұрын
May I suggest a video? Explain how to configure Neovim for Java development. It is not a trivial task and many give up. I was stuck for a long time, until I got it. I could do it, but I'm not a KZbinr or English speaker.
@bashbunni
@bashbunni Жыл бұрын
Can definitely do this. I'll see if TJ, the neovim pro😎, would be interested as well
@pedrolobo9835
@pedrolobo9835 Жыл бұрын
​@@bashbunni Yeeeeaaaaah! It would be great to see you with TJ DeVries again. As I said, installing LSP and debbuger are different from another languages. If you need any help, I'm available too.
@SpaceChicken
@SpaceChicken Жыл бұрын
Hmmmmmmmm. This is clean. You need more subs.
@bashbunni
@bashbunni Жыл бұрын
Ahh thank you ❤ I’m still learning how to make videos. I appreciate it, I’ll get there one day!!
@jrmoulton
@jrmoulton Жыл бұрын
Subbed!
@bashbunni
@bashbunni Жыл бұрын
Thank you!!
@neilclay5835
@neilclay5835 Жыл бұрын
This is very good - I like the approach and the method used. The thing is, if you go back and read the original TDD work and philosophy, and also later blog posts of Kent Beck et al., full code coverage isn't considered to be a good idea because you're testing implementation and not just results. This makes refactoring more difficult because when you change the implementation method you have to change the tests as well, and the original idea was to never change the tests. Tests should only cover the interfaces between systems - i.e. test the contract of each system in relation to another. Now, I'm quite old and maybe you bright kids (not being patronising!) have figured out a lot since then, or maybe I'm not understanding what full code coverage is considered to be these days, but there is also that chance that actually there's a lot of time being wasted on making sure you have full code coverage. Group think might be in effect here? I don't know, but worth investigating I think. Best wishes to you.
@bashbunni
@bashbunni Жыл бұрын
Ah yeah I wanted to correct myself while editing but figured it wasn't worth breaking the flow of the video over. Thank you for sharing this disclaimer! It's a great point to bring up
@hoaxdream_
@hoaxdream_ Жыл бұрын
what font are you using?
@bashbunni
@bashbunni Жыл бұрын
IBM Plex Mono Nerd Font!
@hoaxdream_
@hoaxdream_ Жыл бұрын
@@bashbunni thanks
@cpuccino
@cpuccino Жыл бұрын
Thnx
@hglbrg
@hglbrg Жыл бұрын
I heard something about a linear keyboard? Sorry haven't been able to catch your streams in half a year or something so haven't kept up to date. :P
@bashbunni
@bashbunni Жыл бұрын
Ah yes I got a new dactyl manuform :D so it's a split, curved, ortholinear keyboard
@hglbrg
@hglbrg Жыл бұрын
@@bashbunni I've seen those crop up a lot lately. Looks alright. I think your joints will thank you much later on. :) Oh I noticed when you rename variables at 8:00 you could instead just use ct (change 'til, is how I remember it) and then the capital C in Color which would remove everything from your cursor to the character you specify. so PrimaryColor, put marker at P as in Primary then use the motion ctC (C as in the capitalized Color) it is pretty awesome when you have camelCase or PascalCase words.
@bashbunni
@bashbunni Жыл бұрын
@@hglbrg ahhh thank you so much! I have a long way to go still with vim motions. The tip is very much appreciated :)
@hglbrg
@hglbrg Жыл бұрын
@@bashbunni oh we all do. You, for example, do a lot with visual mode that is sorcery to me.
@StefanRows
@StefanRows Жыл бұрын
All power to you. We need more female creators in this space! I'm gonna feature you on my channel!
@bashbunni
@bashbunni Жыл бұрын
Thank you for the love!! ❤
@ashutoshpatoa837
@ashutoshpatoa837 Жыл бұрын
I don't know why, but I love it. Can I get these fonts plz
@bashbunni
@bashbunni Жыл бұрын
IBM Plex Mono nerd font :)
@maxz999
@maxz999 Жыл бұрын
Great video! I always struggle with finding a project and issue to work on. Anyone got tips for that?
@bashbunni
@bashbunni Жыл бұрын
I should have a follow up video coming soon where I walk through how I actually found the issue to contribute to
@IntentStore
@IntentStore Жыл бұрын
I have no idea what the hell is going on in the video and I develop for a living 😭
@kayakMike1000
@kayakMike1000 Жыл бұрын
What's wrong with regular vim?
@bashbunni
@bashbunni Жыл бұрын
Nothing at all! I just have plugins that I use, Telescope in particular, that are written in lua, so only supported in Neovim. Also my friend is a maintainer of Neovim, so always nice to support :)
@kayakMike1000
@kayakMike1000 Жыл бұрын
@@bashbunni might just have to try neovim, vim script is kinda cryptic, but lua is a bit more reasonable.
@hussienalsafi1149
@hussienalsafi1149 Жыл бұрын
🤠🤠🤠🤠🤠😎😎😎😎
@grantwilliams630
@grantwilliams630 Жыл бұрын
Surprised you doing have a neovim plugin to highlight hex codes with their color!
@bashbunni
@bashbunni Жыл бұрын
Listen, I'm mostly scuffed. Any recommendations?
@1234minecraft5678
@1234minecraft5678 Жыл бұрын
This 21mins were over so quickly O.o
@bashbunni
@bashbunni Жыл бұрын
Ahhh that is such a compliment, thank you for nerding out with me 🎉❤
@TheJackForge
@TheJackForge Жыл бұрын
Why does all of this stuff always look so hard?? 😭
@cpuccino
@cpuccino Жыл бұрын
Font?
@bashbunni
@bashbunni Жыл бұрын
IBM Plex Mono
@iansmith3301
@iansmith3301 Жыл бұрын
I don't understand people who hamstring themselves with Vim editors for code, just use a proper IDE lol. Your life can get so much better.
@bashbunni
@bashbunni Жыл бұрын
Neovim is really fun for me! It’s completely personalized to the point where interacting with my code is just muscle memory + keyboard shortcuts. It has made me way faster and more excited to write code. It’s 100% a personal choice that won’t be for everyone, but those that use it enjoy it for good reason 😊 I don’t think there’s a right or wrong when it comes to your own choice of tools
@iivarimokelainen
@iivarimokelainen Жыл бұрын
@@bashbunni Can I ask if you've tried an IDE? Like jetbrains goland?
@bashbunni
@bashbunni Жыл бұрын
@@iivarimokelainen Yep! I started with PyCharm, then also used Eclipse, IntelliJ, Visual Studio, and Visual Studio Code. Great tools, but I love customization and my current dev environment. That being said, it can be time consuming to configure. Hope that helps!
@tkemaladze
@tkemaladze Жыл бұрын
Are you single? I subscribed :)
@bashbunni
@bashbunni Жыл бұрын
Thanks for the sub! Not single and not interested :) thanks tho
@tkemaladze
@tkemaladze Жыл бұрын
@@bashbunni Glad I cleared that out right away. Thanks for feedback. Best wishes!
@cpuccino
@cpuccino Жыл бұрын
Wtf
@jrmoulton
@jrmoulton Жыл бұрын
If you haven't seen it there is a setting in nvim for always having the sign column on. This makes it so that when errors appear the sign column doesn't pop in and out. It can be kinda jarring. I definitely like having it always on. vim.opt.signcolumn = "yes"
@bashbunni
@bashbunni Жыл бұрын
Ohhh interesting! Thanks for sharing, I'll try that out
How to contribute to open source
14:15
strager
Рет қаралды 102 М.
小路飞姐姐居然让路飞小路飞都消失了#海贼王  #路飞
00:47
路飞与唐舞桐
Рет қаралды 94 МЛН
Would you like a delicious big mooncake? #shorts#Mooncake #China #Chinesefood
00:30
Super sport🤯
00:15
Lexa_Merin
Рет қаралды 20 МЛН
How I prepare to meet the brothers Mbappé.. 🙈 @KylianMbappe
00:17
Celine Dept
Рет қаралды 53 МЛН
Top 3 AI Coding Assistant for Programmers 🤯 | 2024
14:21
Website Learners
Рет қаралды 2,7 М.
Tmux has forever changed the way I write code.
13:30
Dreams of Code
Рет қаралды 895 М.
Golang is OG?
5:16
Martin Baun
Рет қаралды 2,8 М.
Neovim Registers: Work Smarter, Not Harder
7:51
DevOps Toolbox
Рет қаралды 6 М.
time to learn go? here's how
5:44
bashbunni
Рет қаралды 79 М.
Lazygit
8:06
DevOnDuty
Рет қаралды 51 М.
Complete Guide to Open Source - How to Contribute
41:53
freeCodeCamp.org
Рет қаралды 628 М.
Why Vim Experts Do THIS Instead of Using Tabs...
7:55
DevOps Toolbox
Рет қаралды 117 М.
小路飞姐姐居然让路飞小路飞都消失了#海贼王  #路飞
00:47
路飞与唐舞桐
Рет қаралды 94 МЛН