• 0 Posts
  • 827 Comments
Joined 2 年前
cake
Cake day: 2023年7月3日

help-circle




  • exprtoProgrammingUsing Vim is Amazing
    link
    fedilink
    arrow-up
    2
    ·
    6 天前

    It’s not exactly like vim, and there are plenty of vim plugins that don’t work with it (anything vim8 onward). There has never been a 1-to-1 correspondence, the gulf widens as both develop different features with different philosophies.

    The most egregious offense on Neovim’s part that I can’t get past is the removal of access to the shell in which you run vim (via :!, :w !, etc.). Vim is so much more capable of being closely intertwined with the shell, whereas neovim requires everything to be done through terminal buffers (speaking of which, vim’s terminal buffers are a lot better than Neovim’s).

    Also, Lua is really overrated and worse for vim scripting than vim9script (which is both more native to vim and faster).


  • exprtoProgrammingUsing Vim is Amazing
    link
    fedilink
    arrow-up
    3
    ·
    6 天前

    Most of vim is not emulated. It’s very surface-level and limited. The closest is evil mode for emacs, which is decent, but still lacks a fair bit. The emulators in Intellij and VsCode are paltry in comparison to what vim can do.





  • exprtolinuxmemes@lemmy.worldWell, where?
    link
    fedilink
    arrow-up
    1
    ·
    11 天前

    That’s why vim is so great: it has a ton of power built right into it without customizations, and it’s already installed on basically any unix-like system. Unlike, say, vscode, it can do a ton of stuff out of the box without any plugins at all.


  • exprtolinuxmemes@lemmy.worldWell, where?
    link
    fedilink
    arrow-up
    3
    ·
    11 天前

    It’s a tool with a medium-high skill floor and incredibly high skill ceiling. It rewards investment and is something that is able to accommodate one’s growth in skills rather than holding them back with limitations like typical editors do. Its built-in scripting is a big part of that and is something that really sets it apart from editors like vscode. And it’s much, much faster and lighter weight/less memory-intensive than other editors.



  • exprtolinuxmemes@lemmy.worldWell, where?
    link
    fedilink
    arrow-up
    2
    ·
    11 天前

    It’s not as big of a deal as you might think. You still have a lot of your muscle memory from regular keyboards. It might take a little while to adjust when switching between the two, but it’s not that bad.

    If you switch between the two enough, you can actually type on both equally well.


  • exprtolinuxmemes@lemmy.worldWell, where?
    link
    fedilink
    arrow-up
    2
    ·
    11 天前

    A lot of mechanical keyboards these days are programmable using QMK Firmware. I actually use https://www.caniusevia.com/ instead though, which uses (a subset of) QMK under the hood but allows programming the keyboard via a Web app on the fly.

    For my layout, I have the standard QWERTY layout for the unmodified layer (layer 0, holding no keys). Then I can hold down a thumb key for switching to a different layer, which has things like symbols, F1-F12, Home, End, etc. The layout I use isn’t too far off the default Iris layout, just a few tweaks here and there (like one that allows me to hold a key for control, or tap that key for escape).



  • exprtolinuxmemes@lemmy.worldWell, where?
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    11 天前

    Ctrl-C absolutely should not exit. There’s plenty of times you want it in vim to interrupt something in the editor.

    As others have said, it’s on the screen if you open vim without a file. Otherwise, it’s a tool for people that bother to learn how to use it. As someone who has been using it daily for the last 10 years, I would find it incredibly obnoxious to have a bunch of useless screen clutter telling me basic things that are easily learned.


  • exprtolinuxmemes@lemmy.worldWell, where?
    link
    fedilink
    arrow-up
    7
    ·
    11 天前

    It’s simply muscle memory. You think of the action and your fingers do it faster than you can consciously think of where they need to go. But I also use a split ergonomic keyboard (the Iris) and have symbols accessible from home row behind a layer. Though I can switch to a standard keyboard as needed too.