Neovim 0.5 - Lua, built in LSP, Treesitter and the best plugins for 2021.

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

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

  • @willadams6217
    @willadams6217 3 года назад +10

    As someone looking to make the transition from full on CoC to init.lua and native lsp, this is really useful. Thank you.

    • @godnyx117
      @godnyx117 3 года назад

      Did you made it? If yes what's your thoughts?

  • @Richard-sp3ul
    @Richard-sp3ul Год назад

    Got into neovim after seeing the Primeagen and Teej. Utter legends. Just found your channel. Good stuff!

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

      Thanks Richard, I’ll be back on the Neovim stuff soon so stick around for more of that good stuff 👍

  • @ryancraigdavis
    @ryancraigdavis 3 года назад +1

    Awesome video, I took your init and was able to convert it to my own using my old init.vim. I'm excited to see what 0.5 can do!

    • @benfrainuk
      @benfrainuk  3 года назад +1

      Brilliant. My init is finally stabilising after near daily tweaks for the last 30+ days 👍 glad it was useful

  • @mauricioacuna3746
    @mauricioacuna3746 2 года назад

    Awesome video Ben just started using Neovim and I took your advice on telescope awesome plugin never heard of it. Thank you and keep up the good work !

  • @nikensss
    @nikensss 3 года назад

    A pitty I can only hit like once. I am enjoying your videos a lot. First the ones about the Moonlander keyboard (really happy with it). And soon after I got it, I switched from Vim to Neovim. This video and your dotfiles helped me a lot get the functionality I wanted out of it.
    Thanks a lot for your vids.

    • @benfrainuk
      @benfrainuk  3 года назад +1

      Thanks Ricard, really helps with the motivation when I read a comment like that. Appreciated 👍

  • @cockapoody4
    @cockapoody4 3 года назад +1

    Just stumbled on your channel. Lovely stuff, your very pleasant to listen to. lol.
    More neovim is always good for me.

    • @benfrainuk
      @benfrainuk  3 года назад

      Very kind of you Josh, thanks. 👍🏻

  • @iduran
    @iduran 2 года назад

    Thanks a lot for sharing these useful plugins. I was not aware of some of them 👍🏻. One question: between Sublime Text and Neovim, which one do you prefer? it seems like you are moving from Sublime to Neovim, is that right?

    • @benfrainuk
      @benfrainuk  2 года назад +1

      Honestly, I love them both. I’m using Neovim currently but if someone asked me which they should go with, I’d say Sublime, as you can be productive with it immediately. Working Neovim with confidence is a different proposition entirely!

    • @iduran
      @iduran 2 года назад

      @@benfrainuk Yes definitely. One thing I haven't been able to solve in Neovim is commenting jsx in tsx files. Sublime finally got it right but all plugins I've tried for commenting in Neovim don't do it properly in jsx code snippets. I wonder if you have encountered the same issue and managed to solve it.

    • @benfrainuk
      @benfrainuk  2 года назад +1

      @@iduran I don’t do JSX but I do write lit.dev templates extensively (similar in that it is tagged template literals). The commenting plugin I use handles that OK.

    • @iduran
      @iduran 2 года назад

      @@benfrainuk I just checked the commenting plugin you use. I think it should handle the jsx issue as the key I guess is to adopt treesitter. Thanks again!

  • @Oswee
    @Oswee 3 года назад +1

    Nice. Still lazy to lualize my nvim... So... Thank You for sharing this high quality video ... I think i will have some fun weekend now. :)

    • @benfrainuk
      @benfrainuk  3 года назад +1

      Ha yes, I fell into the trap of thinking “should only take a couple of hours…” 🤣

  • @sagebaram5951
    @sagebaram5951 3 года назад +1

    Love the presentation! Instead of the silent cut moments though, it would be nicer if the titles would be on the screen as you speak IMO.
    I feel your pain with jumping around between editors or IDE’s… I had to use different tools for different languages otherwise editors like VSCode and Sublime just get bloated and slow. With 0.5 and Lua, Nvim just gives me the best development experience with vim editing, filetype loaded LSP support, TS, Telescope and more!
    I suggest you take a look at packer for lazy loading your configurations. NvChad’s configurations is top notch in terms of performance so I recommend having a look at it’s development. Will note it can be cloned for nix OS only but the essence of it is worth playing around with :)!

    • @benfrainuk
      @benfrainuk  3 года назад

      Thanks Sage, I’ll have a think about titles. I’d wanted a very clear indicator for when people use time links but I’ll try doing them over somehow for my next video 👍🏻
      I’d not come across NvChad so thanks for mentioning that. I’ll take a look 👀

    • @sagebaram5951
      @sagebaram5951 3 года назад

      @@benfrainuk You’re very welcome. Since making the comment I’ve watched the moonlander’s video and genuinely was mind blown by the design and the depth of customization. Could you share your opinion regards to editing in vim with them?

    • @benfrainuk
      @benfrainuk  3 года назад

      The Moonlander can adapt to anything so you could get as creative as you wanted. I haven’t really done anything Vim specific with mine. The complication for me is that I use Colemak DHm layout rather than qwerty so ‘j’ and ‘k’ aren’t on the home row.
      Although it’s considered bad practice in Vim, I’ve just never got out of the habit of using arrow keys so in that regard it hasn’t really affected me much. My next video is likely on my Moonlander layout so I’ll perhaps cover Vim a little there.
      But, Moonlander can handle anything and they hold value well so if you didn’t like it, you could always sell it on 👍🏻

    • @sagebaram5951
      @sagebaram5951 3 года назад

      @@benfrainuk Sweet, I’m looking into customs pricing atm before making a decision. The price tag is already steep haha.
      My intention is to switch from QWERTY to DVORAK as soon as I get a proper keyboard, so I feel you on the productivity block and to be frank it’s quite intimidating.
      Best suggestion I ever got for remapping your mind away from the arrow keys is … to disable them :)
      At least in vim.

  • @ra1n_
    @ra1n_ 3 года назад +3

    I see everforest, I like

  • @oliverfencott
    @oliverfencott 2 года назад

    I was PROPER surprised to hear a Stoke accent when you started talking!

    • @benfrainuk
      @benfrainuk  2 года назад

      Ha! Takes one to know one ;)

  • @pietrotavares1731
    @pietrotavares1731 3 года назад

    Excellent content, presentation and scenario!
    +1 sub

  • @yanqingjing8582
    @yanqingjing8582 2 года назад

    nice keyboard,whats the name?

    • @benfrainuk
      @benfrainuk  2 года назад

      Hi, it’s the Moonlander from ZSA. There are videos on my channel about it 👍

  • @degree1996
    @degree1996 3 года назад

    can i use lua plugins in my init.vim ?

    • @benfrainuk
      @benfrainuk  3 года назад

      As long as you are using NeoVim, yes 👍

    • @degree1996
      @degree1996 3 года назад

      @@benfrainuk then may i know why people switch to init.lua ?

    • @benfrainuk
      @benfrainuk  3 года назад +1

      @@degree1996 for me it’s about transportable knowledge. I can carry some knowledge of Lua outside of NeoVim whereas Vimscript only works in Vim.

    • @degree1996
      @degree1996 3 года назад

      @@benfrainuk thanks m8