Dude, this is the kind of video what I pay internet for.
@nagkanya2 жыл бұрын
31:09 Yes! please make a video exploring the topic of windows and tabs. I always have a blast watching this series, and learn a bunch of cool stuff. Appreciate ya
@Oswee2 жыл бұрын
Thank You booth for making this! I think every one should start with teaching debugging. So many hours wasted because of this... :) And yes please, make a video about the general navigation. That would be superb!
@teej_dv2 жыл бұрын
I will add it to my list!! Thanks for the Thanks :)
@OliNorwell Жыл бұрын
TJ is an incredible teacher, I had this on a third screen but still managed to learn about 10 different things. Legend.
@runtimejpp Жыл бұрын
truth. don't see enough maintainers (not that they dont do enough already) putting out as many videos about their own projects like tj, it's so much more intuitive than reading the docs esp for a newb. appreciate this the most
@demolazer9 ай бұрын
100%. Very engaging and good at breaking things down
@nicolhaidi2 жыл бұрын
I’ve learnt so much from this series it’s unbelievable. +1 on the idea of making a video about windows/tabs/buffers, as it’s sonething I still struggle with a lot. Thank you for everything.
@Jscodin11 ай бұрын
8:14ish - mind blown, never knew you could do that, such a cool tip
@ChrisPatti2 жыл бұрын
this is the best video I’ve seen on debugging with neovim. thank you for making it!
@granviaje10 ай бұрын
the kickstart video & this. my life is complete now 😄
@robonator2945 Жыл бұрын
100% there need to be more videos like this in the world where it's just teaching people about nvim, specifically because of things like 8:45 where they will off-hand mention a massive QoL improvement
@byt3blitz Жыл бұрын
Was banging my head on the wall for a while trying to figure out dap and dap-go. This video solved my initial problem but along the way I learned so much. I've spent 6 months in neovim and it's pretty wild to see all the bad habits I developed along the way lol from not taking the time to dive into the fundamentals. Amazing work!
@leana8959 Жыл бұрын
This is at the same time wholesome, cool, and very informative. Thanks, BashBunni and TJ!
@benarcher372 Жыл бұрын
So good, so much to learn. Merry Christmas 2023.
@Oswee2 жыл бұрын
To run the quick command it the terminal you can use `Ctrl+z` which puts the process (Neovim) in the background. Then run your quick command. And then run the `fg` to bring back the last suspended process.
@eliasgill24532 жыл бұрын
thank you good sir. I always have problems remembering how to enter again in neovim before ctr+z 😂
@hugohabicht62742 жыл бұрын
Or just open a tmux pane
@conradmbugua9098 Жыл бұрын
@@hugohabicht6274 on thing that annoys me with tmux is that I can't copy text from the tmux window to the browser
@bait65712 ай бұрын
I just... open the shell in neovim
@RootsterAnon2 жыл бұрын
I managed to setup my new Astro Vim with delve. What a ride. this will be bookmarked, thank you!
@rafaelcolladojr Жыл бұрын
The absolutely most useful neovim video I've ever watched. Thanks for all the gems!
@Ellefsen97 Жыл бұрын
I've had a hard time setting up debugging with Dap and because of this video I now have a fully functional debugger for C. Thanks a lot
@heftyfunseeker99872 жыл бұрын
This is such a wonderful format. I learned some great stuff not even related to debugging. Thank you, Bash and TJ!
@fam1u2 жыл бұрын
I installed nvim-dap a while ago but realized I didn't use it much because I wasn't happy with my config and ended up just resorting to using debugger on the terminal. This gave me the motivation to install nvim-dap again and actually try to configure it properly.
@faraonch2 жыл бұрын
Best walk through so far!!!!! It helps so much that you do it bilaterally!
@NiceMicroTV2 жыл бұрын
Debugging in Neovim?? Always something new to learn. Also, I peaked into that neovim setup, and... grammar checking also exists in neovim???? Wow.
@AndyHuynh-p2s10 ай бұрын
Well done TJ and Bash! Fantastic teacher and partner to learn from
@jemag2 жыл бұрын
Thanks for the upload teej, really enjoying this series.
@williambillemeyling56472 жыл бұрын
Hey TJ. I have a suggestion for a video/stream. It would be really cool if you could teach me and others the inner workings of neovim. As in, what modules neovim consists of, how to navigate the neovim code base, maybe an example of solving a small and simple pull request. Best, William.
@Zarazhas82 жыл бұрын
8:54 🤯🤯🤯 whaaaat thats amazing. Also loving dem dabs from sudobunni
@faustona559 Жыл бұрын
Thanks for the video! On moving back a buffer to its original window in a tab: I believe this is only necessary due to having used Ctrl-W T, which moves the buffer over to the new tab. If instead one were to use something like ":tabedit %" or ":tab split", then the buffer would be opened in a new window in a new tab, but the current one would be left untouched.
@Don_XII2 жыл бұрын
These videos are great and informative. I am getting into neovim too. It would be great if there is screen key or anything similar so we can see keystrokes. There are few new things here that I did not know which can be found after some googling but just some input that it would be a great addition. :)
@nickbanderson2 жыл бұрын
You are a sir and man a gentle. Telescope has expanded my brain. Now, time to find dank icons to ruin my focus while working.
@vikingthedude Жыл бұрын
The bash2basics playlist singlehandedly made me a neovimer
@demolazer9 ай бұрын
Great stuff. Legit the only thing Neovim needs to have everything. Also I accidently found out today that C-Space highlights word cursor is on and enters visual mode.
@Alex-vz6nn Жыл бұрын
This video is full of gems and tips beyond debugging. Thanks TJ and Bashbunny for the incredible content. Liked, subscribed and comment... done :)
@ahmedschhaider4762 Жыл бұрын
Thank you, TJ & Bash Bunny, This is really cool !!
@TheHTMLCode Жыл бұрын
Super informative, was listening in whilst looking after the baby and had to backup a few times to pick up a few tips 😂 awesome stuff!
@TheHTMLCode Жыл бұрын
This was the only thing that would still make me reach for VS code 20% of the time.
@tarasbiletskyi63012 жыл бұрын
I just started wondering how do I debug in neovim, and boom, here's the video to substitute vimspector!
@Titere05 Жыл бұрын
Learning vim is like being gifted a large set of expensive, top of the line tools, when you've been making do with a screwdriver, a hammer and a flimsy set of pliers to fix things around the house. I have to remind myself that I have these powerful tools now and that I shouldn't fall back to the old, tedious way of editing text
@CZiNTrPT2 жыл бұрын
if you press C-f when in : command, it opens a list of command history which you can edit,copy,etc so bash doesn't have to retype stuff into file she already ran
@arjunmahishi Жыл бұрын
@8:37, you dont event have to type the ", {buffer=0}" part. You can just highlight it with +* or +# and type ":s///" By default, the pattern will be chosen based on the highlight :)
@sethcenterbar Жыл бұрын
This video and the lsp one have helped me fully move from vs code. Thanks!
@xXPK26realXx2 жыл бұрын
This is the perfect format to learn.
@tseitz Жыл бұрын
This is incredible. Thank you both
@d3javu19782 жыл бұрын
Thank you! finally got mine setup the way i wanted it, thanks for the shortcut!
@username-oz3uj2 жыл бұрын
followed along and managed to do everything you guys did right along with the video. love this but! bash didn't try setting a breakpoint outside of main(). when I tried to do that I couldn't get the debugger to run. "Failed to launch". wish you guys would have covered that :(
@iangann98282 жыл бұрын
You should definitely make the follow-up video on the differences between buffers, windows, and tabs in Vim!
@eoinmcmahon11522 жыл бұрын
Please do a video on buffer windows and tabs! Would be super useful
@mariuskimmina2 жыл бұрын
This was cool, will I keep debugging with prints, tho? probably yes
@stephaneislistening61032 жыл бұрын
I have the key map Ctrl W to close a terminal window so I can't use it in Neovim and so I wonder if there is a lua command to expand the current buffer. Then I could add my own custom mapping on it.
@stephaneislistening61032 жыл бұрын
Big thank you ! I noticed that if my browser current tab is not one that shows the application, then the debugger will have trouble finding the source code, and it'll display the message: Breakpoint ignored because generated code not found (source map problem?) I wonder if I could have a callback handling that error event, so as to display my own message as well, say: Have you the app as the browser current tab ?
@3ckortreat2 жыл бұрын
We need more videos with this 2
@qsmfoui Жыл бұрын
is there somewhere a guide on how to use this with c? like inspect the stack, heap and registers? i have a hard time finding something like this and i am not very good at understanding documentations but i try
@JustVoylin8 ай бұрын
Been trying to setup debugging in neovim for GDExtensions, keep getting wrong_path errors of my breakpoints inside of the C++ code
@awabkhan2977 Жыл бұрын
How do you do that at 8:18
@DFPercush Жыл бұрын
Does nvim-dap support custom views of types, like .natvis files or something similar? Qt creator has its own way of doing it via Python scripts. Is there something similar in nvim?
@zennmyst53472 жыл бұрын
Could you do a video on how to debug using C/C++. I'm struggling to get it setup. It's the only thing I have left to do in my Neovim setup. But I'm so lost. I am new to Linux, Neovim and C.
Cool, I got dap setup as well, just need to set it up for JS node and browser and use it now.
@leonardomaia7661 Жыл бұрын
can you with lldb debugger in dap set a conditional breakpoint like strlen(str) < 5?
@darkenblade9862 жыл бұрын
great vid but how do you set it up so when you press f5 in any file type it opens its specific debugger. In the vid yall set it to specifically dap-go which is the go debugger. I want it to where it doesnt matter if im in python, rust, go or whatever to open that filetypes debugger.
@korcakd2 Жыл бұрын
Hey, thank you for the tutorial, it helped me a lot. What do you think of running vim-go plugin alongside of this? Do you think there would be any conflicts?
@Ruzveld8310 ай бұрын
Is there a way to execute library functions in Watches tab? Seems like it doesn't have the same scope as the code being debugged. For example I couldn't call strlen while debugging C code though I had imported.
@Ruzveld8310 ай бұрын
Phew, I found out the solution: for the example in my comment this should work: "/nat (size_t) strlen("hello")". The /nat prefix declares a native expression which is aware of C environment. This may be specific to a DAP which in my case is codelldb.
@Mawkler2 жыл бұрын
I was told there would be double synchronized dabs at the end
@ypucandeleteit2 жыл бұрын
Really enjoyed teh video. where can I find convigs and keymaps for this?
@SnowDaemon11 ай бұрын
TJ da VimGod
@umlal Жыл бұрын
I suggest a drinking game, a shot for every dab
@brettholman36062 жыл бұрын
TIL `
@freeman42742 Жыл бұрын
Hey thanks for the video - One thing that confuses me is the use of .vim instead of .lua - Given the preference seems to be to use lua it would be cool to redo with that it mind
@pedrolobo98352 жыл бұрын
Thanks for this helpful video! =p
@echobucket2 жыл бұрын
Someone should build a thing like Mason but for DAP stuff.. it's way too hard to setup right now.
@RajinderYadav Жыл бұрын
Please make a video on how to setup nvim to debug typescript code. I am trying to get angular setup for debugging and not makng any progressse, code browsing is find. This video is way to chatty for me and I found (for me) it didn't help. I've got a pretty good setup (for someone just entering nvim) except for debugging both js code and java, but for right now I am trying to focus on js.
@bonchonmaru2 жыл бұрын
My soul hurt when all those dapui windows popped up, each with their own statusline D;
@cprn. Жыл бұрын
Who said it can't be done? Because I'm using `xdebug` in Vim for quite a few years now... (`vdebug` plugin) I'm here because I picked up more languages over the years and want to switch to DAP but failed with `vimspector` - glad to hear I'm not the only one 😂
@justanaveragebalkan Жыл бұрын
Coming from an Emacs user,. i know the girl is not the most competent person in the room so to say and it's mostly an office bunny, but if you need the tool creator to install a plugin, is it really that good?
@seannewell3972 жыл бұрын
I spotted a wild @ThePrimeagen in the chat!!
@hamed93272 жыл бұрын
this is my man
@Max-bh8tg2 жыл бұрын
What dos the scratch window do?
@zeocamo2 жыл бұрын
TeeeJ you forgot to paste the plugins in desc.
@username-oz3uj2 жыл бұрын
here they are (using Packer) use 'mfussenegger/nvim-dap' use 'leoluz/nvim-dap-go' use { "rcarriga/nvim-dap-ui", requires = {"mfussenegger/nvim-dap"} } use 'theHamsta/nvim-dap-virtual-text' use 'nvim-telescope/telescope-dap.nvim'
@zeocamo2 жыл бұрын
@@username-oz3uj gj, i was thinking to do this when i got back to my pc
@monkishrex2 жыл бұрын
Pro-tip: ctl-l clears the terminal screen in unix terms
@andressalazargaleano64192 жыл бұрын
does this work if you're using docker?
@epiderpski2 жыл бұрын
I was following along for everything.. but using rust it all worked except when I got to :lua require("dapui").open() not first try or any try... so sad.
@epiderpski2 жыл бұрын
oh... i'm using AstroNvim... so had to make sure the setup was called in the right order... so... First Try!
@gonkong56382 жыл бұрын
@@epiderpski I'm also use astro nvim, how is your setup now?
@epiderpski2 жыл бұрын
@@gonkong5638 It was working until I updated AstroVim... now the debugger doesn't work anymore.
@殷梁禹11 ай бұрын
is lualine normal lelt is a chiese font, look like cool
@chuxmyk Жыл бұрын
0:09 I’m just curious. Who are these guys that keep saying things can’t be done in neovim😅? I can imagine TJ creating issues everytime someone says something can’t be done in neovim.
@haras-unicorn2 жыл бұрын
Anyone on here knows how to use this with netcoredbg? I tried it and I can't get it to work.
@RoryIsNotACabbage2 жыл бұрын
52 minutes in, mimicking most of this, fully trusting in Teej cause I don't use Go so I haven't added dap-go and we haven't got to the bit where we can test it outside of go yet If this doesn't work first try I quit
@teej_dv2 жыл бұрын
Hopefully it worked.
@abhiavipatel2 жыл бұрын
Treesitter video sounds interesting
@tusharkuntawar61702 жыл бұрын
BTW it is sudo bunni now
@alpasfly2 жыл бұрын
Oh dear at long last :D
@uoweme5grand Жыл бұрын
I didn't know the lady's name is bash until like half way through the video lol. I was getting really confused.
@rsmith314162 жыл бұрын
Not sure how practical running embedded debuggers would be since this feels cluttered, a bit finicky and slow (e.g. even adding a breakpoint takes a few seconds). It is probably a better idea to have a setup with tmux/screen and the usual terminal debugger.
@Ace-gw4uk Жыл бұрын
God. Neovim is so great, we just don't know about it.
@maharjanlaxman2 жыл бұрын
How do you use debug terminal anyone?
@ak2f2 жыл бұрын
Is DAP in nvim natively like LSP?
@bew2 жыл бұрын
No, not 'yet' at least
@AmirHosseinHonardust2 жыл бұрын
I have to go back to vscode for just this functionality alone. And it is killing my soul. I hope i can get good enough with nvim dap so I don't have to use vscode.
@alexwexov42982 жыл бұрын
Lets gooooooo...
@MarcelRobitaille Жыл бұрын
Can you fix my config too? I can become a streamer if that's what it takes
@chairlovawitabat2 жыл бұрын
Yooo what is this color scheme?! I’m in love with it.
@Aryevang2 жыл бұрын
github.com/catppuccin/nvim
@user-he4ef9br7z2 жыл бұрын
Nord probably.
@bashbunni2 жыл бұрын
Catppuccin!
@thecodealchemist7095 Жыл бұрын
This os what tech Twitter and yt won't give you, i want to hop in with these guys. The pair programming is everything, pure growth. Hopping in to the book club @teej
@eliasgill24532 жыл бұрын
Oh my god, you are so beautifull .... Neovim + Go 😻