Neovim 0.9 New Features

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ต.ค. 2024

ความคิดเห็น • 94

  • @ElijahManor
    @ElijahManor  ปีที่แล้ว +5

    Thanks for watching the video. I hope you found value from it. If you like these types of videos, please like the video to help me know. Also, feel free to subscribe to be notified of future videos.
    For those that are curious, I was using the `slides` CLI app to render the presentation in this videos github.com/maaslalani/slides and used the following markdown as the source gist.github.com/elijahmanor/02d4fae1a8b0c92fc40c305690de3784
    I also started a new membership program (the "Join" button) where you an get extra perks such as badges, emojis, member shout-outs, access to early notes, access to early videos, etc... youtube.com/@elijahmanor/join

  • @jinhoyoon2497
    @jinhoyoon2497 ปีที่แล้ว +4

    Thanks for making this video! I’m now convinced to try out 0.9, thanks to you!

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว +1

      Yay, I still want to make a video on using a Neovim version manager to make that easier and less risky when you want to flip between versions (like stable and nightly for example). Hopefully that will be soon-ish. I need to get out a few more LazyVim videos in that series too. And I have lots of other ideas in my backlog. I'm excited to do much more. Thanks for the comment and for watching.

  • @julianrachele757
    @julianrachele757 ปีที่แล้ว +14

    This is exactly what I was looking for, thanks

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว +1

      Glad I could help! It felt like good timing.

  • @rodelias9378
    @rodelias9378 ปีที่แล้ว

    Awesome video! Thanks a lot!

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว

      Glad you liked it! And thanks for your continued support of the channel

  • @kamehameha38
    @kamehameha38 ปีที่แล้ว +1

    Concise and awesome content!

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว

      Thank you so much! Glad you like the style

  • @rbereziuk
    @rbereziuk ปีที่แล้ว +1

    Awesome and clear overview. Very informative. Thanks :)

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว +1

      Yay! So glad to hear. There were other new features too, but I tried to keep it to a smaller set of highlights

  • @olehbaranovskyi2219
    @olehbaranovskyi2219 ปีที่แล้ว +1

    Perfect, the status column is exactly what I was looking for. Thanks for sharing.
    I faced issue when there was no error, so I had to update to the following:
    vim.opt.statuscolumn = "%l %r %s"

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว

      Yay, glad that was helpful to you! Not sure why TH-cam is only just now showing me your comment. Thank you for watching and sharing

  • @ask_questions
    @ask_questions ปีที่แล้ว

    Was waiting for this video !

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว

      Yay, glad it was timely for you!

  • @hotdog2c
    @hotdog2c ปีที่แล้ว

    This is amazing, hope you do more of this!

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว

      Thank you! More of what exactly? New release videos?

    • @hotdog2c
      @hotdog2c ปีที่แล้ว +1

      @@ElijahManor yes, neovim release videos. it's good to read the patch notes, but a video with examples is just way better, especially with the quality you provide

  • @EliteTester
    @EliteTester ปีที่แล้ว

    Statuscolumn is exactly the type of feature I stuck with neovim for!

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว +1

      Awesome, some plugins are already starting to use it... such as github.com/luukvbaal/statuscol.nvim

  • @exvimmer
    @exvimmer ปีที่แล้ว +1

    Hi Elijah. Thanks for creating this awesome video. Can you make a tutorial about installing and configuring nvim-dap? Thanks.

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว

      That is on my backlog of things to cover, but it's several down the list. But yes, I do plan on covering that. Feel free to subscribe if you aren't already. Thanks for watching and your interest!

    • @exvimmer
      @exvimmer ปีที่แล้ว

      @@ElijahManor Thanks. I'm already subscribed.

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว

      @@exvimmer many thanks!

  • @andrewc8125
    @andrewc8125 ปีที่แล้ว +1

    Thank you!

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว +1

      You're welcome! Thanks for watching and supporting the channel

  • @GeekMasher
    @GeekMasher ปีที่แล้ว

    Super helpful! Love the videos, keep them coming

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว +1

      Thanks! I surely plan on it. Appreciate your interest and support

  • @ErmandDurro
    @ErmandDurro ปีที่แล้ว

    Nice. Thanks for the great content 😃

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว +1

      Thank you for watching and for the encouragement 😀

  • @wyfyj
    @wyfyj ปีที่แล้ว +1

    Very cool

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว

      Awesome, glad you enjoyed the content!

  • @kqvanity
    @kqvanity ปีที่แล้ว +1

    They've got features! I got their tweet in my feet explicitly stating that it's just bug fixes, and no features so I skipped over it!

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว

      The 0.9.1 release is just bugfixes twitter.com/Neovim/status/1663152187801731074 This video was for the main 0.9.0 release

    • @kqvanity
      @kqvanity ปีที่แล้ว +1

      @@ElijahManor
      Oh sorry! it makes sense now.

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว

      @@kqvanity No problem!

  • @solidoak79
    @solidoak79 ปีที่แล้ว +2

    This is great! Thank you so much for making it easy. What plugin are you using to run the commands in that single window? That looks cool. Very nice setup!

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว +1

      You're welcome! Hmm, I think you might be referring to the noice.nvim plugin github.com/folke/noice.nvim

    • @solidoak79
      @solidoak79 ปีที่แล้ว

      Yes! This is it! So cool. Thank you!

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว +1

      @@solidoak79 glad to be of help. have a good evening!

  • @inteliconn995
    @inteliconn995 ปีที่แล้ว +1

    Thanks!

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว

      You bet! Thank you for coming back and your continued support!

  • @subhajitmishra007
    @subhajitmishra007 ปีที่แล้ว +1

    Thanks!!! My question is what did you use to make these slides? Is there any plugin in vim? I usually use beamer in LaTeX.

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว +1

      I was using the `slides` CLI app to render the presentation via markdown github.com/maaslalani/slides I used the following markdown as the source gist.github.com/elijahmanor/02d4fae1a8b0c92fc40c305690de3784

    • @subhajitmishra007
      @subhajitmishra007 ปีที่แล้ว +1

      @@ElijahManor Thank you!!

  • @WillEhrendreich
    @WillEhrendreich ปีที่แล้ว

    this is really helpful, thanks!

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว

      Yay, so glad it was helpful. Thanks for coming back :)

  • @anjanshomodder6463
    @anjanshomodder6463 ปีที่แล้ว +1

    What plugin are you using for running the commands in nvim?

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว

      That is the noice plugin github.com/folke/noice.nvim

  • @jizhang2407
    @jizhang2407 ปีที่แล้ว

    Big fan of yours, now.

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว

      Yay! Have lots more ideas and plans. Have a great weekend!

  • @SkyyySi
    @SkyyySi ปีที่แล้ว

    Not related to Neovim, but why don't you use syntax highlighting in your shell?
    (It looks like zsh, so `fast-syntax-highlighting` plus `zsh-autosuggestions` would be the plugins you need)

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว

      Great eye! I was working on prepping for another video and I totally gutted my zshrc file. But yes, my normal config has those things :)

  • @Zeioth
    @Zeioth ปีที่แล้ว

    Interesting. InspectTree kinda overlaps with aerial. I imagine this is configurable. It is a bit cluttered showing line numbers and comment nodes. Also aerial icons help you to better follow the node type visually. For now I prefer it.

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว +1

      Yes, I would hope it would continue to in its usefulness, but in the meantime it is nice to see it being baked into the main editor. Thanks for watching and showing interest

    • @Zeioth
      @Zeioth ปีที่แล้ว

      @@ElijahManor No man thank you. Your content is awesome.

  • @user-scc_
    @user-scc_ ปีที่แล้ว +1

    helpful!

  • @ZakariaHABRI
    @ZakariaHABRI ปีที่แล้ว +1

    How would you integrate the 'showcmd' option in lualine ? Thanks for the video!

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว

      If you are using something like lazy.nvim then you can do something like this...
      return {
      {
      "nvim-lualine/lualine.nvim",
      event = "VeryLazy",
      opts = function(_, opts)
      opts.sections.lualine_y = {
      { "%S" },
      { "progress", separator = " ", padding = { left = 1, right = 0 } },
      { "location", padding = { left = 0, right = 1 } },
      }
      end,
      },
      }
      However, I just tried it and was seeing something a bit weird. When I type `c` it shows up in lualine, but is replaced by ``
      NOTE: You'll also need to set the following...
      vim.o.cmdheight = 0
      vim.o.showcmdloc = "statusline"

  • @LokeshKrishna1995
    @LokeshKrishna1995 ปีที่แล้ว

    Thanks a lot for this great roundup. What program do you use to create this terminal slideshow experience?

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว

      Sure thing, thanks for watching, for your comment, and for your general support of the channel!
      I was using the `slides` CLI app to render the presentation github.com/maaslalani/slides and I was using the following markdown as the source gist.github.com/elijahmanor/02d4fae1a8b0c92fc40c305690de3784
      Have an awesome day!

    • @LokeshKrishna1995
      @LokeshKrishna1995 ปีที่แล้ว +1

      @@ElijahManor You setting the gold standard for replies here :D
      Thanks a lot and have an awesome day!

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว

      Thanks, I'm trying to engage with the community. So far I've replied to everyone (that I know of). It's sometimes hard for me to see follow-up replies, but I'm trying to keep up with those as well. At some point (as the channel continues to grow), I might have to prioritize responding, but for now I'm trying to do my best.

  • @warpdotdev
    @warpdotdev ปีที่แล้ว

    Hey Elijah, this is the official Warp channel. We're a fast Rust-based terminal app and our team loves your terminal content. We'd like to collaborate with you on a TH-cam video. Let us know if you're interested!

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว +1

      Hey, thanks for reaching out and glad your team has been enjoying the channel. Probably the easiest way to contact me is to send a DM on twitter twitter.com/elijahmanor I'd be happy to chat about what you are thinking there.

  • @lucascubilla869
    @lucascubilla869 ปีที่แล้ว

    Thanks for this, I'll upgrade soon, can you make a video about copilot in lazyvim?

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว

      You are welcome :) And yes, copilot is def on my list to add to the LazyVim playlist. Although there are at least 2 ahead of it (custom linting/formatting & git workflows)

  • @samselvaprabu
    @samselvaprabu ปีที่แล้ว

    I heard that nvim can be run remote instance from container since 0.9. Can you show video on that?

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว

      Yes, that is a very promising feature. It builds upon the concept from a TJ video a ways back th-cam.com/video/xO5yMutC-rM/w-d-xo.html
      But now you can also start the server with...
      nvim --listen /tmp/nvim.pipe
      but then in another process/terminal/etc do...
      nvim --remote-ui --server /tmp/nvim.pipe
      and in that terminal it'll attach to the other nvim instance and you can interact with it, make changes, etc... (which TJ doesn't show because it didn't exist when that video was made).
      However, if you were to save and quit neovim, it would also kill the server process. There is work underway to have a detach like feature (kind of like what tmux and zellij has). You can track those at github.com/neovim/neovim/issues/6871 and github.com/neovim/neovim/issues/5035

  • @zakinadhif
    @zakinadhif ปีที่แล้ว

    Is there inlay hints support yet? It's really useful for language like Rust.

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว

      You can try one of the following plugins...
      github.com/simrat39/inlay-hints.nvim
      github.com/lvimuser/lsp-inlayhints.nvim

  • @sandeshshahi2181
    @sandeshshahi2181 ปีที่แล้ว

    Whats that side presentation

  • @StefanHubner1337
    @StefanHubner1337 ปีที่แล้ว +1

    can I ask what's your terminal font?

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว

      No problem. I was using WezTerm as my terminal emulator, with zellij as my multiplexer, and JetBrains Mono as my font. I was also using the `slides` CLI app to render the presentation github.com/maaslalani/slides using the following markdown as the source gist.github.com/elijahmanor/02d4fae1a8b0c92fc40c305690de3784

    • @StefanHubner1337
      @StefanHubner1337 ปีที่แล้ว +1

      @@ElijahManor amazing thanks. I'm using Envy-code-R but it doesn't scale well and this looks very similar.

  • @a7kerkh
    @a7kerkh ปีที่แล้ว +1

    Brrooooo how to replace hrsh7th/nvim-cmp to yioneko/nvim-cmp plzz, i get lags with hrsh7th and tailwindcss, so to fix need to replace with fork from yioneko

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว

      Yeah, there is a issue on the main repo about it. Hopefully it'll be patched soon github.com/hrsh7th/nvim-cmp/issues/1009
      Since the name is the same you'll run into conflicts with lazy, but a way to get around it is to clone the yioneko/nvim-cmp repo to your ~/projects folder and mark it with `{ dev = true }` github.com/folke/lazy.nvim#-plugin-spec
      lazy will look to load a dev plugin from the plugins folder, which is meant for local development reasons. You can go this route until the upstream is fixed.
      NOTE: You can change to another dev folder if you'd rather not use ~/projects github.com/folke/lazy.nvim#%EF%B8%8F-configuration

    • @a7kerkh
      @a7kerkh ปีที่แล้ว

      @@ElijahManor plz do shorts about it, i didn't understand how to do it

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว

      @@a7kerkh i'm in the middle of another project atm, but I'll provide some clearer instructions.
      Clone the project you want to use to the projects folder...
      ```
      git clone git@github.com:yioneko/nvim-cmp.git ~/projects/nvim-cmp
      ```
      Then wherever you setup nvim-cmp, mark it as dev = true (see below)
      ```
      {
      "hrsh7th/nvim-cmp",
      -- use a forked local version in ~/projects
      dev = true,
      -- … more code …
      },
      ```

  • @aquepaique
    @aquepaique ปีที่แล้ว

    yeeeeee

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว +1

      Glad you are excited too :)

  • @phaberest_
    @phaberest_ ปีที่แล้ว +2

    About the split, I find it a bit annoying that everytime I split it opens the same file in the split. I am now most of the times opening the split from neotree to open the other file directly, but it would be awesome if there was a way to get a telescope popup to select which of the open buffers should be in the new split.
    Thanks for the amazing content, btw, good as always!

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว +1

      Yes, I rarely ever :split like I showed in the video. I normally split from neo-tree.nvim and/or use or to split from telescope.nvim. I'm not aware of an extension for telescope that lets you pick which visible split should be replaced with the selection, but that does sound pretty awesome.

    • @Clinueee
      @Clinueee ปีที่แล้ว +1

      @@ElijahManor get_selection_window option can be passed to telescope :h telescope.defaults.get_selection_window. I replicated vscode behavior where everything (regular files, not special things like neotree, fugitive, help etc) opens in existing split window if it exists and only if it doesn't exist will it create a new split.

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว

      @@Clinueee nicely done!

  • @farzadmf
    @farzadmf ปีที่แล้ว +3

    Thank you so much for providing the gist. It's something I'll definitely will use a lot for the near future. Without it, it would be hard to search through the video every time

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว +2

      Sure thing! I thought it would be a nice resource. I agree, video is great to digest one time, but is annoying when you just want to go back and grok something. Thanks for watching and supporting the channel!

  • @ghosthaunting15
    @ghosthaunting15 ปีที่แล้ว +1

    What terminal program you using for PowerPoint??

    • @ElijahManor
      @ElijahManor  ปีที่แล้ว

      Great question! Thanks for watching.
      I was using the `slides` CLI app to render the presentation github.com/maaslalani/slides and I was using the following markdown as the source gist.github.com/elijahmanor/02d4fae1a8b0c92fc40c305690de3784
      Have an awesome day!

    • @ghosthaunting15
      @ghosthaunting15 ปีที่แล้ว

      @@ElijahManor thank you , you too have nice day