This is probably one of the coolest videos on vim I've seen in a long time. I've been using vim bindings at work for years, and I still learned a lot from this video.
A couple key takeaways: norm-mode and global commands are powerful AF.
This is probably one of the coolest videos on vim I've seen in a long time. I've been using vim bindings at work for years, and I still learned a lot from this video.
A couple key takeaways: norm-mode and global commands are powerful AF.
5 leaf clovers are good luck, right?
Watching through Squid Game for the first time. Just finished the marbles episode, and I am absolutely fucking wrecked right now.
Godot 4.1 also comes with a robust foundation for the GDExtension API! It improves a lot under the hood and is a big milestone for language bindings (C++, Python, Rust, ...).
godot-rust now supports 4.1 by default.
@krankykong check this out https://tfpk.github.io/lifetimekata/, it helped me a lot.
I'm learning rust, and I'm at the point where when I get lifetime errors I just start throwing single quotes, letters, and ampersands everywhere in hopes that I somehow miraculously input the perfect combination of random characters needed to make the compiler happy.
Would you refactor this into multiple functions? People say they hate lots of indentation, but I kinda prefer it to functions when the code isn't going to be used anywhere else.
I've decided to open source Ebou, the cross platform Mastodon Desktop Client.
You can find the repository here:
https://github.com/terhechte/Ebou
It also supports Windows, although this is beta and Windows binaries are not included yet (you'll have to compile it yourself). Attached is a Windows screenshot. Linux should be easy to support, too.
I'm open sourcing it because I think there's great value in a high quality cross platform Mastodon desktop client and I can't pull this off alone.
Whoa!!! Standalone, executable #rust scripts without the entire crate folder structure are now available on nightly. Originally found via https://twitter.com/weihanglo/status/1669655147096547331 (who doesn't seem to be active here).
The PR itself: https://github.com/rust-lang/cargo/pull/12245
When you're editing markdown in Neovim, it's really easy to insert screenshots with this plugin: https://github.com/TobinPalmer/pastify.nvim
Do you have any unusual yet useful keybindings in your (neo)vim config?
Here's one of mine:
vim.keymap.set("n", "<Leader>C", ":map <lt>leader>c :!<lt>cr><left><left><left><left>", {})
I use it to quickly setup a keybinding to recompile my project.
so I'll type '<leader>C' and it puts me in command mode with ':map <leader>c :!<cr>' with the cursor right after the '!' so I can type whatever shell command I want, hit enter, then invoke it with <leader>c.