• phoneymouse@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    10 hours ago

    My professor was always trying to get us to use vim or eMacs over an IDE to write our C programs. I’m sorry, I like using a mouse. I know, I know, blasphemy. I’m taking a shortcut. I’m a noob.

    When I absolutely have to, I go for vim, mostly because I know a few of the key bindings for it, but otherwise avoid it.

    • BaumGeist@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      10 hours ago

      I’m taking a shortcut

      more like a longcut. I save so much time and effort not having to switch my right hand between the mouse and keyboard constantly

      • phoneymouse@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        10 hours ago

        I keep my hands on my laptop and use my thumb on the track pad. My hands don’t leave the keyboard. I actually never use extra mice or extra keyboards.

        • BaumGeist@lemmy.ml
          link
          fedilink
          arrow-up
          5
          ·
          10 hours ago

          track pad

          it’s okay, we’re gonna make a plan and get you to safety. Pretend you’re ordering a pizza. How many people are currently holding you captive?

  • LovableSidekick@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    10 hours ago

    I don’t mind Vim, it reminds me of my years using EDT on Vax/VMS systems in the 80s and 90s. My fingers knew all the function keys so well, the UI was almost invisible. But more recent years of using Windows because of work have ingrained VS and VSCode the same way, and I like the feel of the mouse.

  • muse@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    15 hours ago

    That can’t be right, the red car has a service manual and too many functioning assemblies for it to be VS.

  • udon@lemmy.world
    link
    fedilink
    arrow-up
    18
    ·
    1 day ago

    tbh, one of the essential things vim gets right for me is that it’s designed as a text editor, not (only) a code editor. I use it for so much non-code text as well, but it feels weird opening a coding tool for such things.

    • corsicanguppy@lemmy.ca
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      16 hours ago

      It’s great to use an editor designed and built when vietnam and leaded gas were all the rage.

  • dejected_warp_core@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    22 hours ago

    I would argue that vim is fantastic for a lot of editing and coding tasks, just not all of them.

    Where it utterly fails is with deep trees of files in codebases, like you see in Java or some Javascript/Typescript apps. Even with a robust suite of add-ons, you wind up backing into full-bore IDE territory to manage that much filesystem complexity. Only difference is that navigating and managing a large file tree w/o a mouse is kind of torture.

    • ivn@jlai.lu
      link
      fedilink
      arrow-up
      11
      ·
      22 hours ago

      Fuzzy finding really shine for this use case, no need for a mouse.

    • expr@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      18 hours ago

      File-based navigation is often inefficient anyway (symbolic navigation is much better when you can), but if you do need it, that’s what fuzzy finders are for. Blows any mouse-based navigation out of the water.

      The only time a visual structure is useful is when you are actually just interested in learning how things are structured for whatever reason, but for that task, tree works just fine anyway.

    • murtaza64@programming.dev
      link
      fedilink
      arrow-up
      4
      ·
      21 hours ago

      Once I got used to single-directory filetree browsing plus fuzzy finding, I have never been able to comfortably use a traditional filetree anymore. most of them are not designed for efficient keyboard use (vscode and intellij at least) and don’t really help understanding the structure of the project imo (unless there arent that many files). For massive projects I find it easier to spend the initial effort of learning a few directory names and the vague structure using oil.nvim, and then eventually I can just find what I need almost instantly by fuzzy finding.

  • 🦄🦄🦄@feddit.org
    link
    fedilink
    arrow-up
    19
    ·
    1 day ago

    Have been a professional software engineer for 8 years now. Have yet to find a reason to use vim for anything (other than availability of course, but if nano isn’t installed for some godforsaken reason I have other problems lol).

    • toynbee@lemmy.world
      link
      fedilink
      arrow-up
      27
      ·
      edit-2
      1 day ago

      I’ve been in various forms of coding and administration for around fifteen years now. Despite trying lots of editors, I have yet to find a reason to use anything but vim.

      I do like obsidian for note taking.

      edit: Removed typo.

    • AntY@lemmy.world
      link
      fedilink
      arrow-up
      10
      ·
      1 day ago

      Vim is a way more competent editor than nano. If you spend a lot of time editing files via ssh, vim is amazing. And when you get bitten by it, you’re infected. ;-)

    • CubitOom@infosec.pub
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day ago

      I used to think this way. Until I found that with emacs you can edit any file on an SSH enabled computer remotely. Meaning that not only are you no longer constrained by what the computer has installed. But you can use your personality configured editor while editing that file. It’s called tramp.

      BTW, with Emacs you can use vim key bindings evil-mode, so don’t stress about that.

      • folkrav@lemmy.ca
        link
        fedilink
        arrow-up
        7
        ·
        21 hours ago

        Tramp is more featured, but if all one cares about is being able to edit remote files using a local editor, vim can edit remote files with scp too: scp://user@server[:port]//remote/file.txt

        I tried tramp-mode at some point, but I seem to remember some gotchas with LSP and pretty bleh latency, which didn’t make it all that useful to me… But I admittedly didn’t spend much time in emacs land.

      • calcopiritus@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        22 hours ago

        You can do that with vscode too. And probably many IDEs.

        The only real reason for which you would need to use vim in such cases is if the target computer can’t run the vscode server, which I’ve never encountered yet.

        • CubitOom@infosec.pub
          link
          fedilink
          English
          arrow-up
          3
          ·
          21 hours ago

          I’m talking about not needing anything installed on the server though. Like you don’t need sudo. If the server has ssh then you can use Emacs to edit a file on it

          • calcopiritus@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            20 hours ago

            Don’t need sudo or anything pre installed for vscode either. It will send the server to the machine via SSH and then run it automagically.

    • Bo7a@lemmy.ca
      link
      fedilink
      arrow-up
      4
      ·
      1 day ago

      Fair. But to a sysadmin or devops engineer availability is pretty important.