Neovim Can Write Your Code

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

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

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

    Join my newsletter!
    newsletter.omerxx.com

  • @devonduty
    @devonduty Год назад +14

    Thank you so much for featuring my plugin ❤

  • @typecraft_dev
    @typecraft_dev Год назад +31

    what AWESOME editing. These videos are looking amazing!

  • @themoderncoder
    @themoderncoder Год назад +9

    The way you present screencapture and the command line (like at 2:10) is really creative. Visualizing programming on video in an engaging way is so difficult, and I feel like you’re onto something with your style. Definitely inspiring as someone trying to do something similar with my channel, so I respect the extra editing effort that went into this. Awesome. Subscribed!

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

      Thanks buddy! Checkout your channel looks amazing!
      Yep, trying to spice things up with the terminal and how it's presented. Got a lot of inspiration from Takuya at @devaslife check it out if you haven't yet :)

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

      @@devopstoolbox Oh cool, I’ll have to check them out too. Thanks for the rec

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

      I really suffer with channels with poor video quality.
      Good content and good video quality must walk together in order to deliver knowledge in a pleasure way.
      Thank you both for that.

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

      I find it distracting tbh

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

      @@allsunday1485 Got it a few times in the past and trying to play with things creatively while not making things worse for those who are easily distracted.
      Thanks for the feedback! I’ll take this into account in future videos

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

    The resources consumed by ollama is not trackable with procs (or any ps tools like htop btop etc) because the model is on the GPU whenever you use it. You will need to use the specific tool for your GPU in order to know how much resource it's eating, nvidia-smi for nvidia cards, and radeontop for AMD cards

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

      Yes!! Thank you! I was baffled for a while and was definitely waiting for this comment !

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

    Aside from another awesome video produced by you, what an amazing view from your desk...!

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

    Just what I needed, stay fully in the terminal… thanks for sharing

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

      Strange that there's no resource consumption issue on your side, somehow on my end it's chewing 7GB+ of Memory... wondering what im missing

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

    Thanks for the channel.
    I'm on my first steps on Odin Project.
    This will be useful soon.

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

      do just the foundations then skip the rest and do the full curriculum at fullstackopen

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

    This is gold! Can’t wait to try it out! 🎉❤

  • @garciajero
    @garciajero Год назад +8

    i think ollama has been written by ex-docker employees also!

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

      Honestly the number of amazing projects built by ex docker people is astounding.

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

      @@devopstoolbox on emacs there's something called ellama very similar to gen , same idea , altho this is amazing and i can see a bit of a future , it doesn't stick you know i don't see myself using it i don't know why , feels like faster to go and google some example or something like that

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

    So what do you prefer now? Codeium, Copilot, or local llama?

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

      Codeium for everyday code completion, GPT when I’m writing text (blogs newsletters etc)

  • @SumitPatel-nn7lx
    @SumitPatel-nn7lx Год назад +1

    Hey, as you are DevOps Engineer you can make an video on "Good practices for DevOps Engineers" or any tips and tricks which can make things easier for them. *Like this one.

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

      This is such a broad range to cover that I try to focus on these in my blog + newsletter + podcast, you can check them all! That said, I will try to incorporate more specific videos.
      omerxx.com
      topeaks.buzzsprout.com

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

    Ollama literally uses docker. They are docker images, that's why it feels like docker 😊

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

    Would it be possible to to expand on how to use this with local files as a callback for keeping the model learning?

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

      IIUC this would require the model to keep running in the background, i.e. the container lives throughout. This means you'd either have to snapshot it when restarting /periodically / use some other system to make sure the context is chaced.
      That said, you may want to check with gen.nvim's authos / ollama docs to make sure.

  • @007arek
    @007arek Год назад

    There is a new project for nvim and ollama ogpt.nvim (fork of the chatgpt.nvim) with more advanced configuration and predefined roles than gen.nvim.
    Unfortunately, I have found a few bugs in it.

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

    This is awesome. Thanks to the ollama devs and devops toolbox for shading light into it. Just one question, have you tried the starcoder model? it suppousedly outperformed other open code models last time I read about it but havent confirmed it

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

      I did not! But now that you mention it I'll give it a go

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

    Niceeee you got a moonlander!! Best piece of gear EVER

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

      Yes! Replaced all the switches and still need to pad the inside so the typing won’t be as “metallic” but it’s amazing

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

      @@devopstoolbox I got the kalith deep sea blues and they are **chefs_kiss

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

    great video and channel! subscribed!
    love the keyboard!
    given you are a coder and neovim user, any chance you can do a video on your layout?
    thinking of buying one but worried about rebuilding muscle memory ...

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

      Yep! Working on it but I want the layout to be dialed in perfectly before I do and that takes time. Muscle memory rebuilding is an integral part of the process but I must say it’s not that long. I reached same typing speed after ~3 weeks. The layout keeps changing as I learn / find new stuff. So I’m guessing only if another 3 weeks go by without me changing anything I’ll know it’s ready for review 😅

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

      @@devopstoolbox looking forward to it! although i ll probably buy one before that :P

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

      @@NicholasAngelidis1 classic move Id make 😅

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

    Great, great editing. Please share the color theme you're using in Neovim. Thanks!

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

      Of course! Cattpuccin!

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

      ​@@devopstoolbox ... And your split keyboard exact model ❤❤❤

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

      @@elatedbento ZSH Moonlander!

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

    how is the moonlander?

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

      The moon lander is amazing! I must say the HHKB was a superior typing experience but nothing beats a good split kb with thumb clusters 🤩

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

    Loved this ! Also why is your keyboard missing some keys xd ?

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

      Thanks! Haha still playing around with getting used to the moon lander. It feels to me it has too many keys in a way that sometime is hard for me to understand "where I'm at" just by touching it. I'm used to knowing where the boundaries are when I reach out to the shift key for example or g on the other end. When shift is just another small key and there's more underneath it it's hard for me to find my way around without looking and I couldn't get used to it so I deicded to try and run with out it. Besides it doesn't make 100% sense to me to reach all the way down there so I removed it altogether :)

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

      @@devopstoolbox Ahh I see it now, also that view look soo good to relax your eyes after long hours of sitting, I really loved it !

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

    This is so cool, thank you!

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

    Can you share your moonlander keyboard layout?

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

      Planning to! It’s very much a mess rn so I’ll fix it up and share. You may have seen that I’m still playing with removing keys altogether and checking how it works

  • @4_millimeter_defeater358
    @4_millimeter_defeater358 Год назад

    hey, super cool video. could you tell me what nvim plugin you used to achieve that sleek terminal interface from neovim?

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

      Thanks! Here it is
      github.com/numToStr/FTerm.nvim

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

    Awesome content, thank you!

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

    which wrist rests are you usign with your moonlander?

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

      It comes with wrist rests that do a pretty good job. Used to have a wooden one for the HHKB that felt softer but no complaints

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

      @@devopstoolbox thanks Omar and thanks for the awesome videos!

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

    Great video all round, however, I had a slight issue with getting mistral to work... For some reason when I try to use the :Gen command, after entering a prompt (if applicable) I am presented with a blank box that does nothing. I have no idea what this means?

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

      Hmmm try to debug: if you run the model through the CLI, can you get an answer from mistral? If you can’t, see if the mode is running or there’s a local issue.
      As for gen - check the config and see what mode it’s running

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

      ​@@devopstoolbox I can run the model fine in the CLI, no problems there, I'll check the config for the mode now.

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

      @@devopstoolbox Update: Even with specifying mistral:instruct in the gen config, it still fails to work correctly. Very strange.

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

      @@billbennings8990 do other models work okay? If you switch to codellama for example does it work?

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

      I'm installing it now, good idea.

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

    Is it possible to share your nvim config setup, I really like how your setup? Thanks :)

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

      Of course! Always open at dotfiles.omerxx.com
      Might not have the Ollama config yet as I haven't finalized it but if this is what you're looking for I'll expedite things and push. LMK!

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

      @@devopstoolbox Amazing, thank you very much. I am learning NVIM and entirely new so will have a play around with your config :) Appreciate it. Subbed as this is very useful content!

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

    Oh, so the moonlander was at the end. Happy for your wrists. Now get into the rabbit hole of one shot layers, sticky modifiers and combos for maximum procrastination😄

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

    man the keyboard view is sick.........

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

      give me keyboard link ....

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

      ZSH Moonlander!

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

      The moon lander is amazing! I must say the HHKB was a superior typing experience but nothing beats a good split kb with thumb clusters 🤩

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

      @@devopstoolbox I gues su meant ZSA 😂 .......zsh is overtaking

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

      @@devopstoolbox yeah seems pretty awesome..... Gonna check it out soon....

  • @pushyoch.8252
    @pushyoch.8252 7 месяцев назад

    AI tools suck without a front-end simply because terminal cannot format markdown.
    Sure this might come off as a skill issue, but I want to easily distinguish between explanation and code examples.

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

      Firstly, there are great options, such as github.com/charmbracelet/glow
      But regardless, you can design the prompt to provide the output structure relevant. Especially if coding and you need either autocompletion / example with comments instead of MD etc

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

    Bro said he wants to bump a minor 😮😅

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

    He should be able to rest his fingers and wrists by speaking words to the computer instead of typing on keyboards so much. He will save a lot of time, too.

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

    noice

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

    11 minute video for a 30 seconds of content, yikes. and then doesn't even explain anything? dafugg. very proud of his keyboard, i guess. weird video

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

    first

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

    noice