A Powerful Way To Make Editing Code In Neovim Even Better

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

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

  • @JordanShurmer
    @JordanShurmer 10 месяцев назад +10

    Wow! thank you so much. I was just asking around for this sort of thing in a group at work, but didn't get anywhere. Then YT recommends this for me.
    Excellent production/editing as well, and the detailed blog post. Astounding level of quality

  • @staystealth
    @staystealth Год назад +20

    i love that you explain what every bit of config does as you're typing it

  • @PatAndCode
    @PatAndCode Год назад +7

    Interesting fact on 1:27 you don't have to go to the brackets manually, provided you're not inside any brackets already and you aren't you just need to be in the same line and "vi[" will jump to the bracket for you. Small thing but really helpful.

    • @armynyus9123
      @armynyus9123 10 месяцев назад +1

      He said that, actually (1:50)

    • @PatAndCode
      @PatAndCode 10 месяцев назад +1

      @@armynyus9123 right, I missed that or got too excited to share it 😅 pick one

    • @armynyus9123
      @armynyus9123 10 месяцев назад

      @@PatAndCode Clearly Nr. 2. (n)vim is a way of life and bragging rights about personal skills are part of that ;-)

    • @PatAndCode
      @PatAndCode 10 месяцев назад +1

      ​@@armynyus9123 correct :D

  • @noisetide
    @noisetide Год назад +4

    The paragraphs are very important and that's why in neovim you have to use "VIP" to select it!
    Very Important Paragraph

  • @maurogarcia2012
    @maurogarcia2012 5 месяцев назад

    Amazing content as usual, Josean. I saw this video a few months ago and I just go back now that I'm finally getting serious about neovim.
    Thanks for everything!

  • @Jose-yu2pd
    @Jose-yu2pd Год назад +18

    Can i just say, the aesthetic decisions of this video are so good!

    • @joseanmartinez
      @joseanmartinez  Год назад +1

      I really appreciate that, thanks for your feedback!

  • @TheRich107
    @TheRich107 5 месяцев назад

    Thanks for these videos. I am almost finished setting up neovim with way more functionality than i ever thought was possible with the help of your videos.

  • @McGilly17
    @McGilly17 4 месяца назад

    This was genuinely a phenomenal video for explaining treesitter + text objects. Super super helpful. Thank you

  • @gmosworld
    @gmosworld Год назад +2

    Amazing video! Content and style are just incredible. I've been vimming for 5 years and I've learned so much from your videos (LSP, formatting, etc), and now this one. And our boy's Boricua too. Pero papa como puede ser!

    • @joseanmartinez
      @joseanmartinez  Год назад +1

      Lo aprecio mucho. Me alegro mucho que te han ayudado los videos! Saludos desde Puerto Rico!

  • @DavidHanks90
    @DavidHanks90 Год назад +12

    You've seriously helped take my nvim experience to the next level. Love it! Keep up the great work!

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

    This is very good. Your keymaps also make a lot of sense.

  • @aaronmcadam
    @aaronmcadam Год назад +16

    This is amazing, thanks! But now there are a lot of new commands to learn! I’d build up my keymaps in small chunks to get used to them-there’s nothing worse than having lots of mappings you don’t actually use. However, which-key helps a lot with this problem of remembering which key combination does what.

    • @joseanmartinez
      @joseanmartinez  Год назад +3

      Yeah I totally get it! These are just the ones I came up with but you can configure this however you prefer and build it out slowly. I added which-key to help out in this regard and I’m thinking about putting together a cheatsheet for my config, will try to put one together.

    • @suede__
      @suede__ Год назад +1

      I need to get that one. A good one for that too is adding a shortcut to do `:Telescope keymaps`. I would definitely start with doing the things I would use absolutely the most.

  • @DrUBashir
    @DrUBashir 11 месяцев назад

    Incredible presentation. I'm down with a cold and was able to follow this with eyes closed

  • @FrankJonen
    @FrankJonen Год назад

    Looks like it was the right choice to start using Neovim this week.

  • @cristobaljvp
    @cristobaljvp Год назад

    That repeat config was a life saver for me, thanks for the video!

  • @volodymyrlozovskyi9975
    @volodymyrlozovskyi9975 Год назад +1

    Vim Nvim related content is the best! Thanks for sharing!

  • @rendivs
    @rendivs 7 месяцев назад

    your neovim config is super awesome sir, i love it

  • @bassamsaleh8034
    @bassamsaleh8034 Год назад +2

    This is excellent content; thank you very much. I appreciate the concise introduction before delving into the specifics. and also the examples

    • @joseanmartinez
      @joseanmartinez  Год назад

      Awesome! Glad you enjoyed the video and how it’s structured, thanks for the feedback!

  • @armynyus9123
    @armynyus9123 10 месяцев назад

    Thanks!

    • @joseanmartinez
      @joseanmartinez  10 месяцев назад

      Really appreciate it! Glad you found it helpful!

  • @aryanrahman3212
    @aryanrahman3212 Год назад +1

    Really Great content! Simple and elegantly explained, I came into the video thinking how it was gonna be useful for me but you thoroughly convinced of this plugin's usecase. Hoping that more languages get support

    • @joseanmartinez
      @joseanmartinez  Год назад +1

      Awesome! Really happy to hear that. Same here, hoping better support for more languages. If you want to add your own custom capture groups not already supported or add support yourself, you can check out the bonus section in the blog post.

  • @rickdixon1928
    @rickdixon1928 11 месяцев назад

    Excellent video production and excellent presentation skills! Just subbed you. 👍

  • @johanngambolputty5351
    @johanngambolputty5351 Год назад +2

    I did not know about inner haha, definitely something I will have to start using, I use cw so much, but I usually have to put the cursor to the start if I want to change the whole thing... picking it up bit by bit
    Also the thumbnail kinda got me, I was hoping it might be a framework laptop with a split keyboard

  • @7xr1e20ln8
    @7xr1e20ln8 Год назад +56

    First..i see neovim i click

  • @geschichte4u251
    @geschichte4u251 10 месяцев назад

    Hey Josean, thanks for an amazing video, it helped me a lot!

  • @itshydeofficial
    @itshydeofficial Год назад

    Beautifully explained. Have been trying to understand how to do exactly this.❤

  • @Cameronbailey17
    @Cameronbailey17 4 месяца назад +2

    How did you get a translucent browser window? and while I have you I was curious if you altered your sketchybar config for aerospace? I love the aesthetics of that config and would love to get that working

    • @sanicspeed1672
      @sanicspeed1672 4 месяца назад

      He took the video of his workspace and then lowered the opacity when editing. But if you want to use it in your own workspace, then either use a compositor like picom and adjust the config, or use a manager like hyprland with a compositor built in, and make it transparent with one line.

  • @peterdenham
    @peterdenham Год назад

    You do the best nvim videos! Thanks for sharing.

  • @jizhang2407
    @jizhang2407 Год назад

    Thanks for sharing another amazing video from which I keep learning new tricks of neovim!

    • @joseanmartinez
      @joseanmartinez  Год назад

      Awesome! Really happy to hear that, glad I could help.

  • @djbroake9810
    @djbroake9810 Год назад

    Thank you for this info and how you got all the key stuff you should know in one clear vid.

  • @tomb6865
    @tomb6865 Месяц назад

    Thanks for the video! Some new stuff here, I'm curious how you get your nvimtree create file action to open an overlay rather than in the command line at the bottom of the screen

  • @broncos720z
    @broncos720z 11 месяцев назад

    Hello Josean! Your videos are great. I think they have a lot of value. One question I could not stop asking, cause I really love the sound of your keyboard. Which switches do you use? The really sound amazing for me.

  • @codetothemoon
    @codetothemoon Год назад

    Fantastic as always!

  • @christofferbergj
    @christofferbergj Год назад +5

    I love these videos: great configs and reasonable explanations and examples.
    Subscribed! 🎉

    • @joseanmartinez
      @joseanmartinez  Год назад

      Really appreciate it, thank you for the support!

  • @JunreyBeduya
    @JunreyBeduya Год назад

    This is pretty cool! As a new nvim user - this helps a lot.

  • @Greenbay-bn3yk
    @Greenbay-bn3yk Месяц назад

    Thank you so much for the neovim lessons. I started using neovim watching your videos. what's that keyboard by the way ?

    • @Skaiiur
      @Skaiiur Месяц назад

      Corne MX

  • @wesleychaffin4029
    @wesleychaffin4029 10 месяцев назад

    Damn this rocks!! Thanks for sharing this very useful info!!

  • @keerthivasan5604
    @keerthivasan5604 Год назад +5

    Hello Josean, you're creating some fantastic videos. I sincerely value your efforts. I've completely transitioned to Neovim. Initially, it seemed a bit complex, but now I believe I've got the hang of it. Could you please guide me on configuring the horizontal scrollbar?

  • @ZephyrCheez
    @ZephyrCheez 10 месяцев назад

    I swear to god the second the video started I saw your keyboard and was reminded of that "what your text editor says about you" video where they said neovim users use split keyboards

  • @Thundechile
    @Thundechile Год назад

    Great video! @joseanmartinez One thing that I noticed was that for some reason when you type curly braces (that is: { and } ), the video shows like you had typed brackets ( [ or ] ) in the right top of the video. That could be a bit confusing, maybe there's some bug in the keyboard prompter?

  • @MasterHobbitLoL
    @MasterHobbitLoL Год назад

    Great f*ing video dude. You content really boosted my vim speed. Much love!

  • @joeingle1745
    @joeingle1745 Год назад

    Super video Josean, thank you.

  • @syn8485
    @syn8485 Год назад

    Oh, I wasn't aware that import was so powerful with lazy. I'm still using the old way of doing things with ftplugin/plugin/after/etc because I didn't want to make a bunch of import statements in my lazy declaration, but TIL you can just point to a directory, that changes everything!

  • @mariusz7238
    @mariusz7238 9 месяцев назад +2

    Imagine you can jump forward and backward between function definitions but you can't ctrl+shift+o like in vscode and just find what you want

  • @mikeg9b
    @mikeg9b Год назад

    You are really good at explaining things.

  • @armynyus9123
    @armynyus9123 Год назад

    top notch. presentation quality *and* content.

  • @wojciech-kulik
    @wojciech-kulik Год назад

    Super cool tutorial. Thank you for sharing it!

  • @TheAS2609
    @TheAS2609 Год назад

    Loved the video. Quick q, mind sharing how you're able to put the transparent terminal over your cam in the video. Looks really good!

    • @joseanmartinez
      @joseanmartinez  Год назад +2

      Happy to hear you enjoyed it! Thanks for the feedback! I do a screen recording of the terminal while I also record myself with a camera and then put the terminal screen recording footage over my camera footage and lower its opacity to make it transparent in post production.

    • @TheAS2609
      @TheAS2609 Год назад

      @@joseanmartinez nice. The text looks very clear, do you just lower the opacity on the full video or somehow manage to only lower it on the background?

    • @joseanmartinez
      @joseanmartinez  Год назад +1

      @@TheAS2609 For some reason lowering the opacity hasn’t affected the clarity of the text. Also, I lower it only slightly, if you were to lower it a large amount then you’d probably lose a good amount of text clarity as well.

  • @geusefrava960
    @geusefrava960 Год назад

    This is gold Josean!

  • @stevedylandev
    @stevedylandev Год назад

    Mind is freakin blown; awesome video!!

    • @joseanmartinez
      @joseanmartinez  Год назад

      Awesome!! Really happy to hear you enjoyed it!

  • @cyrusalthor8583
    @cyrusalthor8583 Год назад

    Excellent video!

    • @joseanmartinez
      @joseanmartinez  Год назад

      Thank you for the feedback! Glad you found it helpful.

  • @diapollo4949
    @diapollo4949 10 месяцев назад

    thx bro. The tutorial is easy to follow and understand.

  • @giovannifiori
    @giovannifiori 10 месяцев назад

    Awesome content! Keep it up!

  • @JannIdarHillestad
    @JannIdarHillestad Год назад

    Cool stuff! I wold really love to see some folding using treesitter. I never got it working properly.

  • @OtivDev
    @OtivDev 8 месяцев назад

    Great video, but how do you remember all of those keybindings? I set up extra text objects a few times, but pretty much never use them because I forget which ones exist...

  • @cmdeckermusic
    @cmdeckermusic Год назад

    Josean, I need help. I love this video, but after installing Treesitter, I can :InspectTree but the colors are all white. I changed the theme, but I still got really minimal color differences in the different text elements. Any help would be awesome.

  • @xtrailz
    @xtrailz Год назад

    The keyboard looks interesting. Do you have a video about it?

  • @akefrandevi6831
    @akefrandevi6831 Год назад

    Great Work! Keep it up!

  • @JamieAlban
    @JamieAlban Год назад +1

    why does va" select the adjacent space? I've always wondered this

    • @JamieAlban
      @JamieAlban Год назад

      I found out I can map va" et al to v2i" to get my expected behaviour:
      vim.keymap.set({ 'n', 'v', 'o', 'x' }, 'a"', '2i"')
      vim.keymap.set({ 'n', 'v', 'o', 'x' }, "a'", "2i'")
      vim.keymap.set({ 'n', 'v', 'o', 'x' }, 'a`', '2i`')
      (see :help a")

  • @SerhiyKalinets
    @SerhiyKalinets Год назад

    Amazing content. Thank you

  • @anatoliipipko7258
    @anatoliipipko7258 Год назад

    Cool stuff!

  • @rivaldolawalata6977
    @rivaldolawalata6977 Год назад

    very nice videos, i wonder can you make a video about how to setup go for neovim? that would be amazing

  • @HarryMcKenzy
    @HarryMcKenzy Год назад

    thanks a lot for sharing. great work, really appreciated =)

  • @MaxwellLysle
    @MaxwellLysle Год назад +1

    By the way, you can combine the config for treesitter with the one for textobjects into one.

    • @joseanmartinez
      @joseanmartinez  Год назад

      Yeah! That should also work! Thanks for the feedback.

  • @subbunittala2012
    @subbunittala2012 Год назад

    please make a video on integrating neovim + obsidian ...i heard it was very good !

  • @tonyjaradev
    @tonyjaradev Год назад

    omfg these tips are fire

    • @joseanmartinez
      @joseanmartinez  Год назад

      Happy to hear that!

    • @tonyjaradev
      @tonyjaradev Год назад

      @@joseanmartinez If you don't mind I have a question. You're a typescript guy too. How are you doing code actions since null-ls is no longer maintained? I'm really missing the import all action. I peaked your setup a little bit and saw you also use conform. I do not want to fully go back to none-ls, conform is way too good.

    • @joseanmartinez
      @joseanmartinez  Год назад +1

      @@tonyjaradev Hey! So didn’t know there was an import all code action for typescript actually? What were you using with null-ls for this? My recommendation would be that you could use none-ls solely for those features you’re missing, disable/remove any formatting sources, and continue using conform.nvim for formatting

    • @tonyjaradev
      @tonyjaradev Год назад

      @@joseanmartinez Fix all/import all like vscode has. Apparently it's not as easy to implement, Null-ls had a typescript.extensions.null-ls.code-actions that you put as your source and it would give you that. I'm going to try it with none-ls and see how it works.

    • @joseanmartinez
      @joseanmartinez  Год назад +1

      @@tonyjaradev cool!

  • @fegyi001
    @fegyi001 Год назад

    Quality content, thanks!

  • @JasonJurotich
    @JasonJurotich Год назад

    how did you get your corne keyboard to work on top of your mac keyboard without affecting the keys below it? Or was that just for show?

    • @joseanmartinez
      @joseanmartinez  Год назад

      I use karabiner elements to do that. In Devices > Advanced, you can configure it so that the built in keyboard is disabled whenever your corne keyboard is connected

    • @JasonJurotich
      @JasonJurotich Год назад

      @@joseanmartinez understood! yes, I have karabiner. Makes perfect sense. You might want to explain that in a video as well. I don't know how many know about karabiner. Thanks!!

    • @joseanmartinez
      @joseanmartinez  Год назад

      @@JasonJurotich Cool, thanks for the feedback!

  • @raidensama1511
    @raidensama1511 10 месяцев назад

    Is there away to select a particular word within a camel/snake case variable name?

  • @HunterRoMike
    @HunterRoMike 6 месяцев назад

    What keyboard are you using?

  • @a_maxed_out_handle_of_30_chars
    @a_maxed_out_handle_of_30_chars 11 месяцев назад +1

    this video was recorded on 3rd october 🤣 nonetheless good video :)

  • @12px
    @12px Год назад +1

    I love neovim

  • @toomasvendelin
    @toomasvendelin 8 месяцев назад

    Many thanks!

  • @karimshakirov
    @karimshakirov Год назад

    Great content! Thank you!)

  • @ヤッシン_y4ssin
    @ヤッシン_y4ssin Год назад

    Thanks for these :D

  • @MiguelDevOps
    @MiguelDevOps Год назад

    Hello how do you do the transparent background with the video?

  • @ionutbocancea3023
    @ionutbocancea3023 Год назад

    Hello! Awesome video! Can you make a video and show how to setup dap for neovim. I tried to set it up with lazyvim, but with no success. Also it was harder to set it up in my case, because I was working on a monorepo project. Thanks! Cheers!

    • @joseanmartinez
      @joseanmartinez  Год назад

      Hey! Thanks! I have it in the list, we’ll see when I get around to putting it together as it can be a tricky topic to cover. Appreciate the feedback!

  • @alonso0188
    @alonso0188 Год назад

    Thank you man.

  • @roychoo
    @roychoo 7 месяцев назад

    nice video, how do i navigate to the start of the function name? instead of start of function keyword

  • @flywithoutwingss
    @flywithoutwingss Год назад

    Hi, what font do you use ? Thanks

  • @kim-s1y7v
    @kim-s1y7v Год назад

    I use your nvim config. Very cool!! but I wanna tailwindcss colorizer cmp. how to add that your config file?

  • @martinlarsson6621
    @martinlarsson6621 11 месяцев назад

    I would love to use this, but it's a major turn off for me to have my setup work differently in different languages, and the text-objects seem to vary heavily, I use mostly the C-family which is lacking ...

  • @themarksmith
    @themarksmith Год назад +2

    Your videos are excellent but on watching them I feel that learning to use neovim productively is almost as involved as learning a programing language... vs code with vim plugin for me... but I do enjoy your vids...

    • @joseanmartinez
      @joseanmartinez  Год назад +1

      Totally understand that. Neovim is a whole world in and of itself. There’s new stuff I’m discovering about it all of the time and things can get tricky at times. My goal with these videos is to shed some light on different topics and make them easier to understand as they can be quite complex. It’s really up to you the route you prefer to take and that’ll make you most productive. Glad you like the videos!

  • @Scorpisces1911
    @Scorpisces1911 Год назад

    Could I use neovim for remote development?

  • @alvarobernar
    @alvarobernar Год назад

    Hi Josean! Thanks for your videos, they are super helpful. Could you create a video of how to navigate files fast with neovim? Using marks, buffer commands, telescope, lsp related commands like gd and harpoon!

    • @joseanmartinez
      @joseanmartinez  Год назад +1

      Awesome! Really appreciate it. Yeah I’ve been considering putting a video like this together, it’s a great idea, thank you for the feedback!

  • @nguyenngocquangminh9278
    @nguyenngocquangminh9278 Год назад

    How can i have the tokyonight transparent like you?, i love your vim config and did everything by your video. When i set the transparent for tokyonight my it worked but my nvim tree didn't. I searched and they said about NvimTreeNormal but it just worked when the Nvimtree is active.

  • @jamesaffleck4192
    @jamesaffleck4192 8 месяцев назад

    What kind of laptop is that. I didn't know you could get laptops with such ergonomic keyboards built-in.

  • @frapelinolv4274
    @frapelinolv4274 Год назад

    Isnt di symbol and ci symbol an vim festure and not explicitly neovims?

  • @3DCharacterArt
    @3DCharacterArt Год назад

    I can't get :Mason to install "clang-format" or "python-lsp-server"

  • @MaxwellLysle
    @MaxwellLysle Год назад

    I can't get the keymaps to work. I already had TS-textobjects setup, and my other keymaps work, but the queries assignment.inner and outer don't seem to do anything. I tested in lua and C++ files. Edit: It doesn't work for C++, and doesn't consider everything with an equal sign inbetween to be an assignment in lua I guess.

    • @joseanmartinez
      @joseanmartinez  Год назад

      Yeah that’s the one significant caveat for this, that some languages are lacking support. I have a bonus section in the blog post for adding your own custom capture groups that aren’t already supported in case you’re interested.

  • @whoopsimsorry2546
    @whoopsimsorry2546 Год назад

    thank you!

  • @vatsalrajchauhan2983
    @vatsalrajchauhan2983 11 месяцев назад

    I love it baby

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

    What is his neovim colorscheme?

  • @pratiktiwari5689
    @pratiktiwari5689 Год назад

    Is there any way I can just get your config and install locally without alot of hassel?

    • @joseanmartinez
      @joseanmartinez  Год назад

      Sure, you can try cloning it from my github repository linked in the description and placing the nvim config in "~/.config/nvim" (linux or mac). Windows would be "~/AppData/Local/nvim/". You'll need to install some extra things as described in the repo for everything to work properly like a Nerd Font.

  • @eissa178
    @eissa178 9 месяцев назад

    Thanks for the efforts on this, pretty awesome.
    I have an issue with telescope (I think)(although I see the issue also on tree file). I have a NestJS project using typescript and for some reason, when using telescope it displays the same file but also the .js version e.g.
    utils.ts (main file) and utils.js (non-existing file). And same for everything ts file. Does anyone know anything about this?

  • @abhinavlakhani5637
    @abhinavlakhani5637 Год назад

    Is this a reupload? I feel like I saw this vid couple of weeks ago 🤔

  • @psi4j
    @psi4j Год назад

    Dope

  • @GambuSaur
    @GambuSaur Год назад

    If I can ask, how do you obtain true transparency? I see that you achieved true transparency even in your browser. When I say true transparency, I mean that only the bakcground of the program is transparent, but not the text in it.

    • @joseanmartinez
      @joseanmartinez  Год назад +1

      I'm not entirely sure exactly how it works, but in Final Cut Pro at least, I lower the opacity only very slightly on my screen recording and the dark background fades but the text is still very clear. If I lower the opacity a very large amount, then the text also fades away.

    • @GambuSaur
      @GambuSaur Год назад

      I see. It is very nice, well done!
      Take care of yourself, Josean!

    • @joseanmartinez
      @joseanmartinez  Год назад +1

      @@GambuSaur Thank you! Same to you.

  • @s-xj6ju
    @s-xj6ju Год назад +1

    please create updated video on neovim setup for newbees!
    nobody can explain better than you champ!

  • @GambuSaur
    @GambuSaur Год назад

    Thanks.

    • @joseanmartinez
      @joseanmartinez  Год назад +1

      Glad you found it helpful!

    • @GambuSaur
      @GambuSaur Год назад

      @@joseanmartinez Very useful indeed, I am going to rewatch it now. Wish you the best.

    • @joseanmartinez
      @joseanmartinez  Год назад

      @@GambuSaur Thank you!

  • @martinnoblia7751
    @martinnoblia7751 Год назад

    you dont need to move to the object if the object is in the line