![DevOnDuty](/img/default-banner.jpg)
- 54
- 1 113 140
DevOnDuty
Germany
เข้าร่วมเมื่อ 16 ม.ค. 2021
Hi, I'm David and I'm your developer on duty. We'll talk about programming tools and languages.
Neovim 0.10: What's New?
Let's see what's new in Neovim 0.10!
neovim.io/doc/user/news-0.10.html
gpanders.com/blog/whats-new-in-neovim-0.10/
Contact:
david.devonduty@gmail.com
#neovim
#vim
neovim.io/doc/user/news-0.10.html
gpanders.com/blog/whats-new-in-neovim-0.10/
Contact:
david.devonduty@gmail.com
#neovim
#vim
มุมมอง: 18 504
วีดีโอ
Llama 3 Is Here!
มุมมอง 1.8K2 หลายเดือนก่อน
Let's look at Meta AI's new large language model, Llama 3. Ollama: ollama.ai/ gen.nvim: github.com/David-Kunz/gen.nvim Contact: david.devonduty@gmail.com #llama #llama3
Helix 24.03: What's New?
มุมมอง 5K2 หลายเดือนก่อน
Let's check out the new features of the 24.03 release of the Helix text editor. helix-editor.com/ Contact: david.devonduty@gmail.com #helix
Helix 23.10: What's New?
มุมมอง 9K7 หลายเดือนก่อน
Let's check out the new features of the 23.10 release of the Helix text editor. helix-editor.com/ Contact: david.devonduty@gmail.com #helix
Local LLMs in Neovim: gen.nvim
มุมมอง 18K8 หลายเดือนก่อน
Mistral.ai released their 7B model which is quite useful. In this video, I show how to install it locally and how to use my Neovim extension gen.nvim: github.com/David-Kunz/gen.nvim Contact: david.devonduty@gmail.com #neovim #ai
Zig: First Impressions
มุมมอง 21Kปีที่แล้ว
Let's have a look at the programming language Zig. ziglang.org/ Errata: The dot product should be self.x * other.x self.y * other.y. Contact: david.devonduty@gmail.com #ziglang #zig
Next Era of Programming
มุมมอง 3.3Kปีที่แล้ว
Let's explore the next era of programming Contact: david.devonduty@gmail.com #programming
Helix 23.03: What's New?
มุมมอง 10Kปีที่แล้ว
Let's see what's new in the latest release of the Helix text editor 23.03: helix-editor.com/news/release-23-03-highlights/ #helix #programming Contact: david.devonduty@gmail.com
Mini Neovim
มุมมอง 15Kปีที่แล้ว
Let's discover the Mini plugins. github.com/echasnovski/mini.nvim #neovim #plugins Contact: david.devonduty@gmail.com
Codeium: Free Copilot Alternative
มุมมอง 34Kปีที่แล้ว
Let's have a look at Codeium, a free alternative to Github Copilot. Codeium: www.codeium.com/ There's also a Vim/Neovim plugin: github.com/Exafunction/codeium.vim Contact: david.devonduty@gmail.com #codeium #neovim
Writing Plugins - It's Never Been Easier (NeovimConf 2022)
มุมมอง 12Kปีที่แล้ว
This is a talk about writing plugins in Neovim using the Lua programming language. It was part of the Neovim Conference 2022. Slides and code: github.com/David-Kunz/NeovimConf Contact: david.devonduty@gmail.com #neovim
Writing Neovim Plugins With ChatGPT
มุมมอง 6Kปีที่แล้ว
In this video, we write a Neovim plugin using ChatGPT. The plugin is similar to the VSCode plugin "REST client": marketplace.visualstudio.com/items?itemName=humao.rest-client Contact: david.devonduty@gmail.com #neovim #vim
Helix 22.12: What's New?
มุมมอง 6Kปีที่แล้ว
Let's explore the new features of the Helix text editor version 22.12. You can find the full changelog here: github.com/helix-editor/helix/blob/master/CHANGELOG.md#2212-2022-12-06 0:00 Start 0:10 1. New logo 0:22 2. Git diff gutter indicators 0:40 3. Jump around the changes 0:49 4. Squiggly Underline styles 1:01 5. Autosave on window change 1:22 6. Code completion in multi-selection/cursor 1:41...
Best Markdown Presentation Tools
มุมมอง 25Kปีที่แล้ว
Let's explore the best open source tools to transform markdown files to fully fledged presentations. - Reveal.js: revealjs.com/ - Lookatme: github.com/d0c-s4vage/lookatme - Marp: marp.app/ - Slidev: sli.dev/ Contact: david.devonduty@gmail.com #markdown #slides
Neovim 0.8: What's new?
มุมมอง 29Kปีที่แล้ว
Let's see what's new in Neovim 0.8. Full list: github.com/neovim/neovim/releases/tag/v0.8.0 My Neovim configuration: github.com/David-Kunz/vim/blob/master/init.lua Contact: david.devonduty@gmail.com #neovim #vim
Better Syntax Highlighting: Markid Neovim Extension
มุมมอง 7Kปีที่แล้ว
Better Syntax Highlighting: Markid Neovim Extension
Derive-Type: Generate TypeScript Definitions Automatically
มุมมอง 1.4Kปีที่แล้ว
Derive-Type: Generate TypeScript Definitions Automatically
JavaScript Might Get Type Annotations: ECMAScript Proposal
มุมมอง 1.4K2 ปีที่แล้ว
JavaScript Might Get Type Annotations: ECMAScript Proposal
Rust Project: Custom Deserialization with Serde
มุมมอง 4.7K2 ปีที่แล้ว
Rust Project: Custom Deserialization with Serde
Rust Project: Deserialization with Serde
มุมมอง 7K2 ปีที่แล้ว
Rust Project: Deserialization with Serde
Top 3 GPU-Accelerated Terminal Emulators
มุมมอง 10K2 ปีที่แล้ว
Top 3 GPU-Accelerated Terminal Emulators
Look at teej and Prime being impressed with ChatGPT lmao. Thanks for the video! I've been wanting to write a simple plug-in for learning purposes.
Yeah, we've all been impressed by ChatGPT, back then, it was quite new :)
my neovim exploded after I updated it ;-;
Thanks a lot for these videos! First thing I check for when I learn there's a new release!
I’m not a fan of the new default color scheme. There are far fewer colors
Yes, I'm still trying to get used to it.
Is it possible to hide and reopen a tab or see a list of already answered options?
Unfortunately, no, I don't store any conversations.
it is much better now then 2years ago. Im using it for a couple month now, with config of just 7 lines with no plugins I have all the LSP setup the same as my previous neovim setup with absolutely same experience. Love it. No clumsy lua/vimscript configs in my life, never more.
I don't get csharp lsp working. 😢
Great talk, help me to understand how to create a new plugin
Thank you for the awesome plugin. Installation of the plugin with Lazyvim worked without a hitch and when I use “Enhance Grammar Spelling” function with a selected sentence, it offered a suggestion as expected. But how can I get it to accept the suggested spelling? Simply by pressing the return key doesn’t do anything. Is there a vim key binding that I have to set for that? Any suggestions would be much appreciated. TIA PS. I also get this message from nvim “^I.../r2d2/.local/share/nvim/lazy/gen.nvim/ lua/gen/ init.lua:336: in function .. /r2d2/-local/share/prim/lazy/gen.nvim/lua/gen/init.lua:317>]”
Hi, thank you :) If the scenario includes a `replace = true`, then the outputted text will replace the selection.
@@devonduty Thank you for the reply. I have added replace = true like this return { “David-Kunz/gen.nvim”, opts = { .. .. replace = true, } } Not sure if it is correct. But pressing return button still doesn’t do anything. I really would like to make this work.🤞 Is there a special key combination that I need to press instead of the return button to accept the suggestion? Btw. I am new to nvim and still figuring out how this all work.
@@karmatik1337 Hi, the { replace = true } option must be part of the scenario, e.g. here: github.com/David-Kunz/gen.nvim/blob/bd19cf584b5b82123de977b44105e855e61e5f39/lua/gen/prompts.lua#L12
@@devonduty After installing the gen.nvim plugin I haven’t done any changes to it. When I looked at .local/share/nvim/lazy/gen.nvim/lua/gen/prompts.lua, it looks the same as yours. But the problem is, once the suggestion is displayed, I don’t know how to accept it. May be other key combination than pressing return button? I’m lost here. It feels like I’m so close yet so far away. 😁
Thank you so much, i've been looking for how to resolve config using lazygit and you explain it best 👍💯
When I try GCI Curly Brace it doesnt work. just goes into insert mode. Anyone know what went wrong?
Ey, how do you make <D-l> work on kitty? is there something you should configure in the kitty conf?
It just worked for me, no special config in kitty.
DO NOT name your inner directory '{something}.nvim', as it will not work. DevOnDuty named his 'luaPlugin' so it was fine. luaPlugin.nvim/lua/luaPlugin -- fine luaPlugin.nvim/lua/luaPlugin.nvim --not fine took me too long to figure out that one
native osc52 support for clipboard copying is a must. especially when working with remote tmux sessions.
Awesome thanks for that !
Thanks for the review, for me the color scheme is also a big question update. There is no support anything but bold text and some keywords in lua, but for Golang it is unusable at all
<c-w>d / <c-w><c-d> opens a float window with the diagnostic information, that is set by default in nvim 0.10
Built-in query editor for :InspectTree is amazing! Great overview.
The ugliest :CheckHealth ever? I so went back to 0.9.x
new commenting feature is cool
Cool, I can now remove 2 plugins XD.
I am curious which ones? Comment.nvim and … ?
@@yakomisar rust-tools.nvim which I used for inlay hints when working with rust. I was planning to replace it anyways since it was deprecated.
builtin comment feature seems not to be working well for JSX files
Thanks for review, David! Small question, do you think neovim LSP support is good enough to transite from CoC? I'm too lazy to veryfy it myself )
LSP support for nvim is better than coc
I would say LSP support on neovim has gotten really good in the past year, so I would drop CoC right away.
Thanks so much for this. I reused the code you showed for inlay hints and it works great! Cheers
Spent 30 minutes yesterday choosing my first commenting plugin. Bye bye!
Nice to see Nvim catching up to Helix.
😂 Helix is just a toy
Nice joke 😂
no more color scheme or comment plugin for me :)
I'm already using, best feature for me is the builtin inlay hints support, it's working nice with gopls.
Had no idea. Curious to see what has changed.
comment is builtin ?
Yes, no need for a plugin!
@@devonduty good video btw.. thanks.
Bill Tin
i am glad common keybinds getting standardized in neovim
@@devondutysure? Does it support block comments?
Me having just setup my neovim config yesterday 💀
Shouldn't really matter
stuff like gcc has been there for a while no? or is that something that was originally a plugin, that is now native?
The latter
Bruh ... Zoom in
Maybe I am old but I can’t read the small text. The echo in the room also makes it harder to understand your voice, and I would sacrifice the facecam and instead show your key presses. Had to give up on the video halfway through.
I really like it but I'm so used to nvim, and I have a work flow in vim that I can replicate in Helix yet.
Will it ever hit 1.0?
There's a roadmap for it, it's quite far from happening, but they are planing tho
Neovim isnt zerover software ?
The new colors schemes suck. I am a bit color blind and it’s difficult to read things now ..
@@moose43h you can set the old colorscheme :colorscheme vim
That’s when I will start using it
I didn't even realize v0.10 was here, thanks!
it's that time again when I have to face the pain of updating and fixing countless errors with my plugins
xD, true@@harinho6117
was expecting this video, thank you :)
wow v0.10.0 is here!!!!!!
wow that was fast!
Command Keymap is very nice to have
Is it only related to mac os?
@@007arekNo, they also support meta/super, your terminal just needs to support the protocol, dunno how is on windows tho
im trying to set it up with my packer so that it writes the node output to a file. I spend quite some time on this but i cannot figure it out. I have the loop in the nvim-dap for _, language in ipairs(js_based_languages) do dap.configurations[language] = { { type = "pwa-node", request = "launch", name = "Launch file", program = "${file}", cwd = vim.fn.getcwd(), sourceMaps = true, trace = true, console = 'externalTerminal', outputCapture = "std", }, but i dont know if there is a way to redirect the output from terminal to a file?
this video very neat so much information i can learn from this video thank you very much DevOnDuty!
Great explanation, very clear - thanks!
Nice vid, although still a hard sell for me without plugins
You don't need a mouse in VSCode to make a commit. There are keys eg to focus Ctrl+0. Learn them instead of telling that in VSCode you need mouse for something lol
Staging/unstaging files, switching git branches, cherry-picking, etc. works without a mouse, but it's not a pleasant experience. Sure, for a simple commit, it's relatively painless, but for more complicated things, it's not. Compare that with e.g. lazygit, which _is_ optimised for the keyboard.
@@devonduty I agree but yes it was about simple commit, if I remember correctly author in video said it is impossible without mouse to do a commit in VSCode you have to touch a mouse which is just not true, Ctrl+Shift+G then enter a message and press enter :) as simple as that, or just tab to option if want eg commit and push at once. Or if it is open Ctrl+0 to focus. I basically do not use keyboard when coding but sometimes when just read through code or see Git Graph with all project changes I prefer then and use mouse but it is often at sleep when I touch it, need to wake it up :)
btw you can automatically create error types using thiserror crate.
Thanks for this fantastic video. So how do you attach the debugger to a CAP application? I recreated your setup, which works fine for a simple express server (node --inspect server.js), but for a CAP server, do you invoke `node --inspect node_modules/@sap/cds-dk/bin/cds.js watch`? With this approach unfortunately I get rejected breakpoints for some reason. Is there a way to attach the debugger to a `cds watch` process?
Thanks Nico, nice to see you here 😊 For debugging CAP apps, I run the command `node --inspect ./node_modules/.bin/cds-serve`, watch for some reason doesn't seem to work.
@@devonduty Sweet! That works, thx!
Just tried llama 3 on my Mac m2, seems to work pretty well.
Do you use any local model instead of Copilot or Codeium?
Yes, I previously used WizardLM2, now Llama 3, but I don't use it for code completion, just for things shown in the video.
Amazing video, I wish I could have watched it the first time I got to work with treesitter