Neovim Can Write Your Code

Поделиться
HTML-код
  • Опубликовано: 3 авг 2024
  • There are many ways to jump on the AI wagon, but it doesn't mean you have to spend a fortune and it definitely doesn't mean you need to ditch Neovim!
    LINKS
    ▶ github.com/David-Kunz/gen.nvim
    ▶ ‪@devonduty‬
    ▶ github.com/omerxx/dotfiles
    CONSIDER SUPPORTING THIS CHANNEL
    If you feel like you want to support my work, feel free to use the links below or use my affiliate links for the gear I'm using to record.
    Thanks!
    👕 Cool Swag! omerxx.myspreadshop.com/
    ☕ Buy me a coffee: www.buymeacoffee.com/omerxx
    🎷 60 day free Epidemic Music!: share.epidemicsound.com/w6zfxo
    MY FAVOURITE GEAR
    * If you enjoy my content, using the links below will help me with a small commission, so thank you!
    ⌨️ My keyboard is the wonderful HHKB: amzn.to/3HwJG60
    🔗 The HHKB is wired with a high quality coiled cable: amzn.to/3DCA87d
    ⌨️ Backup keyboard (for traveling mainly) - Nuphy Air60: amzn.to/3R3M7jz
    🖥️ My ultra wide 49" monitor: amzn.to/3JbVThC
    🎙️ Microphone - Shure MV7X: amzn.to/3kA7tZZ
    🦾 Boom Arm - amzn.to/3ZmQgln
    🎤 Audio Interface (for XLR microphones) - Focusrite Scarlett Solo: amzn.to/3Z3fBkQ
    🦾 Heavy Duty Monitor Arm: amzn.to/3kKp7tS
    🖱️ Mouse - MX Master 3: amzn.to/3DiZmaj
    📷 Camera - ZVE10: amzn.to/3I1jfVS
    🎥 Lens - Sigma 1.4 16mm: amzn.to/3BfFN15
    MY KEY LINKS
    📰 Join my newsletter! newsletter.omerxx.com
    🍿 Subscribe: www.youtube.com/@devopstoolbo...
    👕 Store: omerxx.myspreadshop.com/
    🌍 My website: omerxx.com
    🗞️ Dev & Ops tools Telegram channel: t.me/espressops
    🎙️ DevOps Topeaks Podcast: topeaks.buzzsprout.com
    ⏱ Timestamps
    00:00 - Intro
    01:00 - Ollama
    02:28 - Resource consumption
    03:22 - Modelfiles
    05:08 - Gen.Nvim
    08:37 - AI DevOps?
    09:40 - Extensions
    #productivity #tmux #UX #neovim #terminal #system #program #dev #devops #software #sysadmin #sysops #linux #terminal #console #cli #keyboard #commandline
  • НаукаНаука

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

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

    Join my newsletter!
    newsletter.omerxx.com

  • @devonduty
    @devonduty 8 месяцев назад +13

    Thank you so much for featuring my plugin ❤

    • @devopstoolbox
      @devopstoolbox  8 месяцев назад +3

      Thank YOU for creating it 🙏🏽

  • @typecraft_dev
    @typecraft_dev 8 месяцев назад +29

    what AWESOME editing. These videos are looking amazing!

  • @jizhang2407
    @jizhang2407 8 месяцев назад +3

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

  • @YvanFlorian
    @YvanFlorian 8 месяцев назад +3

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

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

      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

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

    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  8 месяцев назад +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 8 месяцев назад +1

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

    • @maurolimaok
      @maurolimaok 8 месяцев назад +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 8 месяцев назад +1

      I find it distracting tbh

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

      @@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

  • @rolandrodriguez
    @rolandrodriguez 8 месяцев назад +2

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

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

    Awesome content, thank you!

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

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

    • @tai8910ify
      @tai8910ify 8 дней назад

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

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

    This is so cool, thank you!

  • @veritasunum2253
    @veritasunum2253 8 месяцев назад +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  8 месяцев назад

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

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

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

    • @devopstoolbox
      @devopstoolbox  8 месяцев назад +2

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

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

      @@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

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

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

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

      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 8 месяцев назад

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

  • @SumitPatel-nn7lx
    @SumitPatel-nn7lx 8 месяцев назад +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  8 месяцев назад

      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

  • @MIO9_sh
    @MIO9_sh 8 месяцев назад +1

    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  8 месяцев назад

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

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

    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  8 месяцев назад +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 8 месяцев назад

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

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

      @@NicholasAngelidis1 classic move Id make 😅

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

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

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

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

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

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

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

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

    • @devopstoolbox
      @devopstoolbox  8 месяцев назад +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 8 месяцев назад

      @@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 !

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

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

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

      Of course! Cattpuccin!

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

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

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

      @@elatedbento ZSH Moonlander!

  • @SethMesser
    @SethMesser 8 месяцев назад +1

    which wrist rests are you usign with your moonlander?

    • @devopstoolbox
      @devopstoolbox  8 месяцев назад +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 8 месяцев назад

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

  • @lucerocj
    @lucerocj 7 месяцев назад +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  7 месяцев назад

      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 8 месяцев назад

    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.

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

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

    • @niksingh710
      @niksingh710 8 месяцев назад +1

      give me keyboard link ....

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

      ZSH Moonlander!

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

      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 8 месяцев назад +1

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

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

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

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

    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😄

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

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

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

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

  • @billbennings8990
    @billbennings8990 8 месяцев назад +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  8 месяцев назад

      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 8 месяцев назад +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 8 месяцев назад

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

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

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

    • @billbennings8990
      @billbennings8990 8 месяцев назад +1

      I'm installing it now, good idea.

  • @mrgdevops
    @mrgdevops 8 месяцев назад +3

    how is the moonlander?

    • @devopstoolbox
      @devopstoolbox  8 месяцев назад +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 🤩

  • @mahaliasmah9041
    @mahaliasmah9041 8 месяцев назад +1

    Can you share your moonlander keyboard layout?

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

      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

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

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

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

      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 8 месяцев назад

      @@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!

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

    noice

  • @avi7278
    @avi7278 8 месяцев назад +1

    Bro said he wants to bump a minor 😮😅

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

      Haha finally! The one who noticed!

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

    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  2 месяца назад

      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

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

    first

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

    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.

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

    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

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

    noice