Do you use vim as your default text editor? If you do not, have you ever been in a situation you could do nothing but use vim?

  • Random Dent@lemmy.ml
    link
    fedilink
    English
    arrow-up
    67
    ·
    2 months ago

    I’ve been using Vim for 20 years.

    I only opened it once and I haven’t been able to close it yet

    • Dave@lemmy.nz
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      I’m not sure at what point in the last 20 years they put the instructions in the vim, but it gives you clear instructions on what to do if it thinks you’re trying to escape from vim jail.

    • onlinepersona@programming.dev
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      2 months ago

      Helix is just user friendly vim, honestly. Vim barely has any help and helix is batteries included. Ever since discovering it, vim feels like a downgrade.

      • Sickday@kbin.earth
        link
        fedilink
        arrow-up
        7
        ·
        2 months ago

        It’s just way easier to get helix to a usable state for the languages I write in than it is with vim. I don’t have to go plugin hunting or vetting random github repos; all the support mostly comes shipped with the editor. Throw some lines in TOML file and you’re good, vs downloading a plugin manager, downloading plugins, configuring those plugins and hoping you got everything right and the plugin repo’s README isn’t 10 years out of date.

        vim feels like a downgrade.

        100%

        • onlinepersona@programming.dev
          link
          fedilink
          arrow-up
          3
          ·
          2 months ago

          The process you described is definitely what I went though with vim and neovim. After about a decade of vim I still couldn’t get proper language support and an IDE like experience going. When language servers and the debugging protocol came along, it was worse to find the right plugin and configure that correctly.

          Helix simplified my decade long struggle with vim in a single weekend. It still isn’t a TUI IDE but it’s such an upgrade, I’ll take it.

    • BartyDeCanter@piefed.social
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 months ago

      Same. Every machine I have control of I install Helix. For the rest, I remember just enough vi to do what I need and get out.

  • RotatingParts@lemmy.ml
    link
    fedilink
    English
    arrow-up
    11
    ·
    2 months ago

    Old school Emacs user here. The keyboard shortcuts are so ingrained in my head I don’t know if I would ever be able to switch to another editor. Old dog …

  • Clutter@sh.itjust.works
    link
    fedilink
    arrow-up
    9
    ·
    2 months ago

    I’m a freelance linux it nerd. I figured I better get used to vim/nvim because every company I visited had different tooling available but their servers ALWAYS had vim.

    Now I have a nice .vim setup I can easily copy/paste and work easily and fast. I’ve become quite adept in the years following that decision.

    Plus, as a freelance dude using vim quickly and flying through code bases makes it really seem like I know what I’m doing / hacker type … I don’t. And I’m no hacker… But the customer is happy soooo :-)

    P.s. I’m currently trying out the Zed editor with vim bindings. They are emaculate!

  • katy ✨@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    9
    ·
    2 months ago

    i mean vim is fine and all and i can get around it fine but nano superiority

    # ── behaviour ────────────────────────────────────────────────  
    set autoindent  
    set atblanks  
    set casesensitive  
    set constantshow  
    set cutfromcursor  
    set historylog  
    set indicator  
    set linenumbers  
    set minibar  
    set mouse  
    set nohelp  
    set positionlog  
    set smarthome  
    set softwrap  
    set speller "aspell -x -c"  
    # set suspend  
    # NOTE: Removed in nano 7.x; CTRL+Z suspend is now always enabled by default.  
    # Kept here for reference in case of older nano versions.  
    set tabsize 2  
    set tabstospaces  
    set zap  
    
    # ── backups ────────────────────────────────────────────────  
    set backup  
    set backupdir "~/.cache/nano/backups/"  
    
    # ── syntax highlighting ───────────────────────────────────────  
    include "/usr/share/nano/*.nanorc"