• circuitfarmer@lemmy.sdf.org
    link
    fedilink
    arrow-up
    8
    ·
    edit-2
    14 hours ago

    I’ll tell you what though: one you get used to it, you really get used to it.

    I typed :q to try and close a tab the other day.

    Edit: a tab not in vim, of course

    • vortic@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      11 hours ago

      At one point I had a plugin for MS Word that added vim key bindings because I kept leaving stray vim commands while editing other people’s documents.

      • circuitfarmer@lemmy.sdf.org
        link
        fedilink
        arrow-up
        5
        ·
        10 hours ago

        There are vim keybindings for Code. Discovered that yesterday.

        Though, if you want vim bindings for Code, probably should just use vim…

        • vortic@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          10 hours ago

          By Code do you mean VSCode? I use it all the time with VIM key bindings. It offers so much more than VIM with less finicky configuration. It’s the first IDE I’ve ever actually liked. Before now it was VIM or nothing.

  • MentalEdge@sopuli.xyz
    link
    fedilink
    arrow-up
    11
    ·
    17 hours ago

    I don’t remember what program it was but I once went to configure something, and the command to “open settings” essentially just opened a text file in vim.

    Being a nano scrub that took me a second to get out of.

    • palordrolap@fedia.io
      link
      fedilink
      arrow-up
      6
      ·
      16 hours ago

      Sometimes, programs that need to start up an editor will honour the $EDITOR environment variable, which should contain the name of, or full path to, a user’s preferred editor.

      It’s not set by default though, and a lot of things will naturally default to vi or even ed. Something to be set in a .profile, .bashrc or similar.

      $VISUAL is another variable that is used for similar purposes.

      The resemblance to certain two letter commands is not entirely a coincidence.

      • pmk@piefed.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 hours ago

        I learned enough ed(1) to be able to do quick edits in smaller files, and it is actually quite nice to have that simplicity without all the bells and whistles of modern editors.

  • adarza@lemmy.ca
    link
    fedilink
    English
    arrow-up
    5
    ·
    17 hours ago

    thanks for the ptsd flashback… and right after insurance denied my meds as ‘unnecessary’.