• 0 Posts
  • 59 Comments
Joined 9 months ago
cake
Cake day: January 3rd, 2024

help-circle
  • Is there a .vimrc that already maps all the standard notepad++ keybindings in one go ?

    You may find someone who has one, but I just did the ones I found myself missing as I encountered them.

    I tried someone’s all-in-one .vimrc, but it broke too many community recipes while rebinding a bunch of shortcuts that weren’t in my muscle memory anyway.

    I kept adjusting my .vimrc as my muscle memory transitioned. So having less to fiddle also made it easier for me to keep my .vimrc tuned to my muscle memory.

    For example, I was using / instead of Ctrl+F because I liked it better within a month or two.


  • what’s good about neovim?

    • NeoVim supports plugins written in modern languages without a Vim script shim. Vim script is utterly awful, and the sooner we can all pretend it never happened, the better the world will be.
    • NeoVim can be configured and extended with lua a language that many people actually like to use.
    • NeoVim is built client/server style, like VSCodium, so it can do the same remote/local mix and match tricks. Notably, VSCodium works nicely as a front end for editing files with NeoVim.
    • NeoVim is somehow actually faster. vim was no slouch, but a full rewrite seems to have added some…ahem…vim.





  • I think I get what you are intending to imply by the word “intuitively”; it’s that it eventually becomes as reflexive and fluid as touch-typing itself.

    Exactly like that!

    It’s also another source of the many “I can’t exit Vim” jokes, because it is now genuinely disorienting for me to try to edit text without Vim key bindings.

    Gosh you make it sound almost like you play Vim like an instrument more than use it…!

    That’s a great analogy. It does very much feel that way.

    Honestly that sounds cool _

    It is pretty cool.

    Wether it’s really worth the learning curve is probably unique to each person that tries it. But for folks who need to edit a lot of text a lot of the time, it’s pretty great.




  • Doesn’t matter we will tell you either way.

    • Instead of simply shortcuts, vim uses “chords”. Every new shortcut I learn can be combined intuitively* with all the other shortcuts I know.
    • Because of this there’s no faster way to edit files than Vim in the hands of an experienced user.
    • this let’s me spend almost no time editing code, freeing up the rest of my time for swearing at piss poor documentation.

    * I use “intuitively” here in a way that not merely stretches, but outright abuses the definition of the word.



  • MajorHavoc@programming.devtolinuxmemes@lemmy.worldSnap bad
    link
    fedilink
    arrow-up
    13
    arrow-down
    1
    ·
    edit-2
    15 days ago

    the thing people dislike about that is that you’re silently moved from an open system to a closed-source one.

    Yeah. I didn’t realize I had fallen for it until I tried to automate a system rebuild, and discovered that a bunch of the snap back end seems to be closed and proprietary.

    And a lot of it for no reason. Reasonable apt and flatpak alternates existed, but Canonical steered me to their closed repackaged versions.





  • Yeah. The idea of an automated C to Rust replacement of the Linux kernel is fascinating. As you say, there’s probably stuff in the Kernel that Rust’s compiler won’t allow.

    I imagine it wouldn’t work at all, out of the box, but it might reduce the cost curve enough to make a dedicated team of very clever engineers able to cross the last mile, given time.

    As cynical as I am of both Rust and AI generated code, it honestly feels like trying an automated conversion might be less of a long shot than expecting the existing Linux kernel developers to switch to Rust.

    And I’m sure a few would kick in some thought cycles if a promising Kernel clone could be generated. These are certainly interesting times.