Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
danhab99@programming.dev to Programmer Humor@programming.dev · 2年前

emacs

programming.dev

message-square
77
fedilink
643

emacs

programming.dev

danhab99@programming.dev to Programmer Humor@programming.dev · 2年前
message-square
77
fedilink
alert-triangle
You must log in or # to comment.
  • Cyborganism@lemmy.ca
    link
    fedilink
    arrow-up
    59
    ·
    2年前

    Emacs sucks. Vim is so much better. And vscode is okay.

    Go ahead. Down vote me. I don’t care. This isn’t Reddit lol.

    • jack@monero.town
      link
      fedilink
      arrow-up
      15
      ·
      2年前

      Vim is a pain to configure

      • martinb@lemmy.sdf.org
        link
        fedilink
        arrow-up
        10
        ·
        2年前

        Try Lunarvim, it’s neovim with a bunch of great Plugins and configuration settings out of the box.

      • The Cuuuuube@beehaw.org
        link
        fedilink
        English
        arrow-up
        6
        ·
        2年前

        I’m going to give what I’ve realized newer folks to Vim think is a scorching hot take: VimL is nice. Theyre the same editor commands you use in your day to day life, even if you’re using NeoVim + Lua, just all written out in a file.

        That said, using NeoVim + Lua makes it far easier to organize your config, which also makes it easier to write more complex configs. It’s like the difference between building a shed around back for your home office vs building a cathedral. Its fine to work in a shed, but once you know you can build a cathedral, you’re kinda tempted to just up and do it

      • expr@programming.dev
        link
        fedilink
        arrow-up
        6
        ·
        2年前

        Vim has vim9 script now which is very similar to common scripting languages like Typescript.

        Vim also doesn’t need tons of configuration.

        • Free Palestine 🇵🇸@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          2年前

          Fennel > Lua > VimScript

      • Cyborganism@lemmy.ca
        link
        fedilink
        arrow-up
        2
        ·
        2年前

        At first maybe. But when you get your vim config well honed over time you’re good. Plus there’s things like pathogen or other frameworks to add plugins and stuff.

    • Crandel@programming.dev
      link
      fedilink
      English
      arrow-up
      7
      ·
      2年前

      Vim sucks, Emacs is the best editor in the world

      • Cyborganism@lemmy.ca
        link
        fedilink
        arrow-up
        3
        ·
        2年前

        Nuh uh!!! Vim is better! So much better!!! Emacs sucks balls!

    • vortic@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      2年前

      I use vscode with vim key bindings. It’s amazing!

    • KSP Atlas@sopuli.xyz
      link
      fedilink
      arrow-up
      2
      ·
      2年前

      I use both emacs and vim, each have their own use cases

    • curiousaur@reddthat.com
      link
      fedilink
      arrow-up
      2
      ·
      2年前

      You haven’t switched to cursor yet?

    • histic@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      2年前

      stock emacs sucks, doom emacs ftw

    • AVincentInSpace@pawb.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      2年前

      This isn’t Reddit lol.

      Genuinely curious what you think the difference is

  • HurgletOfficial@lemmy.basedcount.com
    link
    fedilink
    arrow-up
    54
    ·
    edit-2
    2年前

    deleted by creator

    • Ethab83@sh.itjust.works
      link
      fedilink
      arrow-up
      18
      ·
      2年前

      It is, but the lack of official Microsoft extensions makes life a little harder

      • HurgletOfficial@lemmy.basedcount.com
        link
        fedilink
        arrow-up
        19
        ·
        edit-2
        2年前

        deleted by creator

        • tostiman@sh.itjust.works
          link
          fedilink
          arrow-up
          5
          ·
          2年前

          Some MS addons still don’t work if you do that, last time I tried

          • skilltheamps@feddit.de
            link
            fedilink
            arrow-up
            3
            ·
            2年前

            The most unfortunate of which for me is remote development. So convenient, nothing compares :(

          • HurgletOfficial@lemmy.basedcount.com
            link
            fedilink
            arrow-up
            3
            ·
            edit-2
            2年前

            deleted by creator

            • tostiman@sh.itjust.works
              link
              fedilink
              arrow-up
              11
              ·
              2年前

              IIRC VSCode contains some proprietary, closed source binaries and VSCodium does not. So maybe the MS addons need those binaries

              • skarn@discuss.tchncs.de
                link
                fedilink
                arrow-up
                1
                ·
                2年前

                You can get e.g. pylance to work if you trick it:

                https://github.com/VSCodium/vscodium/issues/1640

                So, at least in that instance, it’s just Microsoft being a little petty.

  • darcy@sh.itjust.works
    link
    fedilink
    arrow-up
    48
    ·
    2年前

    sigma vim user

    • mutter9355@discuss.tchncs.de
      link
      fedilink
      arrow-up
      14
      ·
      2年前

      Omega neovim user

      • darcy@sh.itjust.works
        link
        fedilink
        arrow-up
        12
        ·
        2年前

        gigachad ed user

        • Chunk@lemmy.world
          link
          fedilink
          arrow-up
          17
          ·
          2年前

          Ed is king. Every single time I have to work on a severely resource constrained system I always use Ed.

          That’s literally never happened to me but that won’t stop me from saying it.

          • mutter9355@discuss.tchncs.de
            link
            fedilink
            arrow-up
            6
            ·
            2年前

            I mean, I don’t know how severly resource constrained a system has to be to not even be able to run vi.

            • Gentoo1337@sh.itjust.works
              link
              fedilink
              arrow-up
              3
              ·
              2年前

              You haven’t seen my grandma’s pc

              • mutter9355@discuss.tchncs.de
                link
                fedilink
                arrow-up
                3
                ·
                2年前

                No, but I have seen my grandma’s pc

            • AVincentInSpace@pawb.social
              link
              fedilink
              English
              arrow-up
              1
              ·
              2年前

              I once used Linux on an actual honest-to-God teletype.

              Granted, it was set up as a novelty and the thing it was hooked up to was a Pi 4, but still.

        • Amy :3@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          9
          ·
          2年前

          enlightened echo user

      • Chunk@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        2年前

        Except I’m too dumb to use even the neovim plugin manager let alone configure the thing. I have to copy existing configs like a noob :(

        • mutter9355@discuss.tchncs.de
          link
          fedilink
          arrow-up
          3
          ·
          2年前

          Isn’t copying from others how everyone does (neo)vim? Besides, I’m even “worse” and just use lazyvim.

  • MsPenguinette@lemmy.world
    link
    fedilink
    arrow-up
    44
    ·
    edit-2
    2年前

    My serial killer trait is that I use vi instead of vim cause I’m too lazy to type the extra character. Tho if for some reason, vi tab completed to vim, I’d probably use vim

    • donnachaidh@lemmy.dcmrobertson.com
      link
      fedilink
      arrow-up
      68
      ·
      2年前

      alias v=vim. There, just saved you two keystrokes.

      • MsPenguinette@lemmy.world
        link
        fedilink
        arrow-up
        17
        ·
        2年前

        {vi} = 2 {vim} = 3 {v=vim} = 5

        I’d need to run vi at least 5 times to have a net gain in saving keystrokes. I’m typically in effemerial systems created by the users of our env, so rarely am I going to gain those strokes back

        But also, why am I trying to apply logic to this? I’ll often cat a file before editing it. This shit is just illogical idiosyncrasies I’ve picked up over the years. I’m probably creating posthoc justifications for insane things I do cause it’s hard to override muscle memory

        • emptiestplace@lemmy.ml
          link
          fedilink
          arrow-up
          8
          ·
          2年前

          effemerial is new to me

          • MsPenguinette@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            2年前

            Here’s a link I found that might be good if you are interested in more:

            https://cloudnativenow.com/topics/ephemeral-idempotent-and-immutable-infrastructure/

            https://guymorton.medium.com/persistent-and-ephemeral-infrastructure-as-code-in-aws-42b33939dcf1

            There are different levels of effemeriality. The simplest example I use daily would be an autoscaling group in AWS. Especially if you use Spot Instances to save money, thi gs may scale in and out whenever.

            So if a development team creates a new autoscaling group and I need to get into an instance to test something, unless I add stuff to their IaC, I’m stuck with their configuration. I need to assume that every time I ssh into one of those instances, it’s a brand new instance. But it’d be a big challenge for me to go to their repo and make a PR to alias a command whenever an instance in that resource is created

            Stuff can be even more temporary if it’s something like an ECS task which creates a container with a read only filesystem only when a task is needed to be done. But I don’t want to get too deep in the weeds (or deeper than I already have)

            terraform workspace will at least stick around for a while so you might be in and out of the same system multiple times.

            • Chunk@lemmy.world
              link
              fedilink
              arrow-up
              9
              ·
              2年前

              He’s commenting on your misspelling. https://www.merriam-webster.com/dictionary/ephemeral

              • MsPenguinette@lemmy.world
                link
                fedilink
                arrow-up
                8
                ·
                2年前

                Shit… I’m an idiot

                • Chunk@lemmy.world
                  link
                  fedilink
                  arrow-up
                  5
                  ·
                  2年前

                  Nah it’s fine

    • TOR-anon1@lemmy.world
      link
      fedilink
      arrow-up
      25
      ·
      2年前

      I use nano.

      Nano >> vi/vim, emacs

      • mosiacmango@lemm.ee
        link
        fedilink
        arrow-up
        12
        ·
        edit-2
        2年前

        4 letters < 2 letters.

        vi forever.

        • TOR-anon1@lemmy.world
          link
          fedilink
          arrow-up
          8
          ·
          2年前

          Simplicity > Complexity

          • Prunebutt@feddit.de
            link
            fedilink
            arrow-up
            14
            ·
            2年前

            Not if you need any work done.

            • BeigeAgenda@lemmy.ca
              link
              fedilink
              arrow-up
              6
              ·
              2年前

              That’s when you switch to a IDE.

              • Prunebutt@feddit.de
                link
                fedilink
                arrow-up
                5
                ·
                2年前

                Neovim and emacs are IDEs.

                • BeigeAgenda@lemmy.ca
                  link
                  fedilink
                  arrow-up
                  3
                  ·
                  edit-2
                  2年前

                  Yes, if you can remember the shortcuts…

                  M-x IDE

                • Free Palestine 🇵🇸@sh.itjust.works
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  2年前

                  By default they are not, but you can turn them into IDEs. In fact, you can turn them into better IDEs than stuff like IntelliJ or Visual Studio will ever be.

          • BeigeAgenda@lemmy.ca
            link
            fedilink
            arrow-up
            1
            ·
            2年前

            Nano is the best when you just need an editor, you can as well use an IDE instead of vi(m) or Emacs.

      • ElDieLaDer@lemmy.world
        link
        fedilink
        arrow-up
        8
        ·
        2年前

        Ok but why use nano when micro literally exists

    • LinuxSBC@lemm.ee
      link
      fedilink
      arrow-up
      16
      ·
      2年前

      Alias?

      • ekky43@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        19
        ·
        edit-2
        2年前

        Aliases are just bloat! You can do just fine without them. Heck, why not remove the ASCII conversion and read everything in hex or binary?

        It’s all about SPEED and efficiency here!

      • MsPenguinette@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        2年前

        I’m in DevOps so I’m in a lot of effemerial systems so in practice, I will run into systems where profile hasn’t been set up. Tho I do like the idea of making sure all systems properly have that aliased cause it’d be serial killer vibes to spend hours of time to make sure that I can save a keystroke.

        Tho it’d never make it through PR. Also, wild require explaining to my coworkers that I do this

    • expr@programming.dev
      link
      fedilink
      arrow-up
      11
      ·
      2年前

      Most all distros alias vi to vim already, so it makes no difference.

      • Chunk@lemmy.world
        link
        fedilink
        arrow-up
        8
        ·
        2年前

        You use vi because you are lazy.

        I used vi because I am too stupid to close it.

        We are not the same.

      • MsPenguinette@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2年前

        I’ll have to check tomarrow if RHEL and UBI do this.

        Did some quick googling and looks like cent has that alias by default but doesn’t do it when root. Which would explain why I do get inconsistent results with vi. I never thought about it in detail besides just knowing that there are some visual changes. Thanks for the info, I’ll be noticing this now that I know!

    • Free Palestine 🇵🇸@sh.itjust.works
      link
      fedilink
      arrow-up
      5
      ·
      2年前

      Vi is totally fine to quickly make small changes to e.g. a config file on a server. I wouldn’t like to program in vi though.

      • MsPenguinette@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2年前

        I do most of my programming in vscode but when I need a cli editor, I use vi

      • puppy@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2年前

        You are missing out! I used to only use vim to edit config files. So I knew my way around (albeit, slowly). I installed the IdeaVim plugin a week ago and learned some new key bindings I wasn’t using. A week in I’m almost faster than before! And it’s only going to get better after I’ve acquired muscle memory (I’m nearly there.) and move on to complex key bindings/sequences. Then it will probably be as if the cursor is directly connected to my mind. I’m hopeful because I’ve seen a mentor of mine do it.

        • FiskFisk33@startrek.website
          link
          fedilink
          arrow-up
          1
          ·
          2年前

          deleted by creator

        • Free Palestine 🇵🇸@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          2年前

          What am I missing out on? I use vi to change values in files on servers. What would you use for that task? Most of my other text-based work like writing Emails, taking notes or programming happens in Emacs.

          • puppy@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            2年前

            I don’t think you understood what I said. I started using vim key bindings ALSO in my IDE and my speed improved because of it. I didn’t ask you to stop using vi. I merely suggested that you used MORE of it. If your Emacs setup already use vim keybindings that’s exactly what I’m doing too.

            • Free Palestine 🇵🇸@sh.itjust.works
              link
              fedilink
              arrow-up
              1
              ·
              2年前

              Oh thanks, now I got it. I agree, vi/vim bindings are awesome. I use them everywhere, in Emacs, in my shell, my browser, and in my tiling window manager. When I said, that I wouldn’t want to program in vi, I didn’t mean that because of the keybindings, I meant that because vi just lacks many useful features for programming and you can’t add plugins to it. I have programmed in Neovim for over a year though. Just switched to Emacs, because it has even more features, possibilities and customizability. I will never drop Vim keybindings though.

              • puppy@lemmy.world
                link
                fedilink
                arrow-up
                2
                ·
                2年前

                Awesome! How did you get them in the shell and browser? Now I am also curious.

                • Free Palestine 🇵🇸@sh.itjust.works
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  2年前

                  I use the fish shell. In fish, you can just add fish_vi_key_bindings to your config file and now Vi bindings will be automatically enabled when you start fish. For bash, it’s set -o vi and for zsh it’s bindkey -v. For the browser, you can install plugins like Vimium (Vimium-FF for Firefox) or Tridactyl. I find these to be incredibly useful, I love navigating around websites with j and k or d and u, jumping up with gg and down with G, searching with /, closing tabs with x, reloading websites with r, opening new tabs with t, going back and forward with H and L, etc.

  • TheSlad@sh.itjust.works
    link
    fedilink
    arrow-up
    37
    ·
    2年前

    Meanwhile webstorm/intelliJ users:

    signature look of superiority

    empty wallet

    • seth@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      2年前

      deleted by creator

    • jelloeater@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      2年前

      Nope 😉

      https://www.jetbrains.com/community/opensource/#support

      https://www.jetbrains.com/community/dev-recognition/

      Plus their Java and Python IDEs have free community versions as well.

  • Zuberi@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    31
    ·
    edit-2
    9か月前

    deleted by creator

  • TheSecurityNinja@sh.itjust.works
    link
    fedilink
    arrow-up
    28
    ·
    2年前

    VS code is pretty amazing though

  • narc0tic_bird@lemm.ee
    link
    fedilink
    arrow-up
    19
    ·
    2年前

    You guys recommend VSCodium over VSCode. Is there a working sync solution similar to the one built into VSCode where you can sync all settings and extensions between machines?

    • QuazarOmega@lemy.lol
      link
      fedilink
      arrow-up
      17
      ·
      2年前

      Yes! It’s this one https://open-vsx.org/extension/zokugun/sync-settings I really like it for using a normal repository over a “gist” and so you can also use any git server provider, I think the developer is also a contributor of VSCodium itself

  • bloopernova@programming.dev
    link
    fedilink
    English
    arrow-up
    17
    ·
    2年前

    I generally code in VSCode, and manage org-roam notes and information in Emacs. Works well enough for me.

    • Free Palestine 🇵🇸@sh.itjust.works
      link
      fedilink
      arrow-up
      8
      ·
      2年前

      Any particular reason why you don’t code in Emacs? Since you already set up Org Mode and Org Roam, I’m sure you know how the configuration works and how to write some Elisp. It’s actually not that much work to set up all the things you would need for programming (lsp-mode, etc.)

      • bloopernova@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        2年前

        I guess I just preferred VSCode for coding? Every time I’ve tried to use Emacs for my coding workflows I’ve given up, I think I’m just used to VSCode in that respect. It is weird, I know.

  • Azdalen@beehaw.org
    link
    fedilink
    English
    arrow-up
    16
    ·
    edit-2
    2年前

    deleted by creator

    • ursakhiin@beehaw.org
      link
      fedilink
      arrow-up
      17
      ·
      edit-2
      2年前

      I genuinely think it’s funny that in a post that isn’t making fun of Emacs you felt the need to defend Emacs.

      It’s making fun of Emacs users for always finding ways to talk about Emacs. (Which I don’t think is a real problem anymore)

      • Azdalen@beehaw.org
        link
        fedilink
        English
        arrow-up
        8
        ·
        2年前

        deleted by creator

    • Corr@lemm.ee
      link
      fedilink
      arrow-up
      6
      ·
      2年前

      I use vscode with vim plugin. I find this to be a pretty great combo, for me at least

      • The Cuuuuube@beehaw.org
        link
        fedilink
        English
        arrow-up
        6
        ·
        2年前

        VS Code + vim plugin is sooo slooow. I’m happy it works for you but I can’t wait to finish on boarding my onboarding buddy so I can go back to vim where I belong

      • XTornado@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        2年前

        I do too… but it’s not perfect. If you use the extension that uses neovim in the background is seems is the best option but still I miss my “never needing a mouse” feeling I had on emacs. I mean maybe is just lack of knowing keybindings… but back on the day when I used spacemacs it was all so intuitive.

        I also miss magit…

    • yetAnotherUser@lemmy.ca
      link
      fedilink
      arrow-up
      4
      ·
      2年前

      What does CUI mean?

      • Azdalen@beehaw.org
        link
        fedilink
        English
        arrow-up
        8
        ·
        2年前

        deleted by creator

  • mykneedoesnthurt@kbin.social
    link
    fedilink
    arrow-up
    5
    ·
    2年前

    What’s a plugin? What’s VSCode?

    DBase IV does not need any of this.

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 213 users / day
  • 3.6K users / week
  • 8.61K users / month
  • 19.2K users / 6 months
  • 197 local subscribers
  • 24.7K subscribers
  • 1.54K Posts
  • 56.7K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org