Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. Vim is built different

Vim is built different

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
91 Posts 53 Posters 2 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V [email protected]

    How about :x.

    P This user is from outside of this forum
    P This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #62

    how about alt+printscreen lift printscreen but keep holding alt, now press b, you succesfully exited vim, works for emacs too!

    V 1 Reply Last reply
    0
    • N [email protected]

      I've used vim, and I didn't like it. That is the definition of an opinion.

      S This user is from outside of this forum
      S This user is from outside of this forum
      [email protected]
      wrote on last edited by [email protected]
      #63

      “I didn’t like it” is an opinion. “Vim is dumb because I can’t think of a reason people would like it, and everyone who uses it is an elitist asshole” is ignorance.

      1 Reply Last reply
      3
      • dohpaz42@lemmy.worldD [email protected]

        😳

        :w = write; or overwrite if the file already exists.

        Please don’t give blanket destructive advice.

        G This user is from outside of this forum
        G This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #64

        This one's fine. They'll then learn the next vim button, u for undo. I believe it's saved between boots of vim? It may be my kickstarted neovim config tho

        dohpaz42@lemmy.worldD 1 Reply Last reply
        2
        • cm0002@lemmy.worldC [email protected]
          This post did not contain any content.
          nachtnebel@lemmy.dbzer0.comN This user is from outside of this forum
          nachtnebel@lemmy.dbzer0.comN This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #65

          P 1 Reply Last reply
          2
          • W [email protected]

            ‘vimtutor’ is your friend. Nobody sane uses vim as an IDE, but if you have to ssh to a host to fuck with a config file it’s pretty nice to know because you can guarantee that most distros have at least vi, if not vim.

            nachtnebel@lemmy.dbzer0.comN This user is from outside of this forum
            nachtnebel@lemmy.dbzer0.comN This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #66

            If using vim makes people insane, then what does using ed makes me?

            S 1 Reply Last reply
            4
            • P [email protected]

              how about alt+printscreen lift printscreen but keep holding alt, now press b, you succesfully exited vim, works for emacs too!

              V This user is from outside of this forum
              V This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #67

              How about

              P 1 Reply Last reply
              2
              • N [email protected]

                Because they grew up with it? I cant think of any other reason. I used it in college for a class bcz my old as fuck professor required it. Its obtuse, old, and doesn't have a lot of functionality of modern code editors.

                The only people who want to use it are people who started with it decades ago, or people who were forced to use it, and now think they're superior somehow to everyone else who doesn't use it.

                J This user is from outside of this forum
                J This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #68

                I was also forced to use it at uni (a few decades ago), but didn't start using it until professionally until several years into my dev career. I promise that I don't think I'm superior because I use it. But I do encourage junior developers to learn it for reasons that appealed to me.

                Among other things, appealing things are modal editing (the biggest advantage IMO), it runs on pretty much on any server you will be ssh'ing into, less IDE lock in. And, there's a bunch of additional things that other editors do that I think Vim does better: regex is first class in the environment, extensible workflows, macros. Then there are definite advantages being able to quickly navigate from the home row.

                I agree that some people will demonstrate their enthusiasm by bragging and being pretentious. But I don't think that's why they stick with Vim.

                1 Reply Last reply
                3
                • nachtnebel@lemmy.dbzer0.comN [email protected]

                  If using vim makes people insane, then what does using ed makes me?

                  S This user is from outside of this forum
                  S This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #69

                  A wizard.

                  1 Reply Last reply
                  0
                  • G [email protected]

                    This one's fine. They'll then learn the next vim button, u for undo. I believe it's saved between boots of vim? It may be my kickstarted neovim config tho

                    dohpaz42@lemmy.worldD This user is from outside of this forum
                    dohpaz42@lemmy.worldD This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #70

                    I would say not in all installations, no. And honestly, it’s not worth trusting.

                    And for those who are unfamiliar, and want to set it up: https://blog.openreplay.com/persistent-undo-vim-save-restore-history/

                    1 Reply Last reply
                    2
                    • L [email protected]

                      Im completely lost on Nano. Vim is SO much quicker.

                      U This user is from outside of this forum
                      U This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #71

                      One +ive for nano is that it has general commands listed down below, by default.
                      So, as long as you understand ^ and M-, which you are expected to (idk why, ask sbd else), if you have been using Linux CLI, you will at least know how to exit.

                      Oh, and I just realised: it also says "[ Welcome to nano. For basic help, type Ctrl+G. ]", where it explains what ^ and M- are.

                      So nano could be considered an accessibility program for people who are new to the GeNerally Used CLI, while vim is the thing you will configure for yourself when you know what you want.
                      Oh and I am definitely configuring it. I hate the hjkl for movement. I have arrow keys and I am going to use them. And I am not buying your 60% mechanicals no matter how much you make sure that 100% keyboards are not available with good keys.

                      L 1 Reply Last reply
                      1
                      • U [email protected]

                        One +ive for nano is that it has general commands listed down below, by default.
                        So, as long as you understand ^ and M-, which you are expected to (idk why, ask sbd else), if you have been using Linux CLI, you will at least know how to exit.

                        Oh, and I just realised: it also says "[ Welcome to nano. For basic help, type Ctrl+G. ]", where it explains what ^ and M- are.

                        So nano could be considered an accessibility program for people who are new to the GeNerally Used CLI, while vim is the thing you will configure for yourself when you know what you want.
                        Oh and I am definitely configuring it. I hate the hjkl for movement. I have arrow keys and I am going to use them. And I am not buying your 60% mechanicals no matter how much you make sure that 100% keyboards are not available with good keys.

                        L This user is from outside of this forum
                        L This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #72

                        Agree with your point on nano. I used it as a beginner too, but once you get past the basic typing something in, vim is king.

                        However, I disagree with the rest of your post. Hjkl are superior to arrow keys once you get used to them. I thought that day would never come, but I got used to it way quicker than initially anticipated.

                        As a 60% owner and 34 key ergo advocator, also disagree with the last point.

                        U 1 Reply Last reply
                        1
                        • cm0002@lemmy.worldC [email protected]
                          This post did not contain any content.
                          swizzlestick@lemmy.zipS This user is from outside of this forum
                          swizzlestick@lemmy.zipS This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #73

                          An old Buffalo NAS box made me learn vi. Because that's all it had.

                          Yes, this comic speaks to me.

                          1 Reply Last reply
                          4
                          • nachtnebel@lemmy.dbzer0.comN [email protected]

                            P This user is from outside of this forum
                            P This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #74

                            Recently I decided to try ed for real and used it exclusively for a coding project. There is a certain joy in the simplicity, but ultimately I found myself printing lines and searching files more than I liked. And rewriting long lines instead of getting the substitutions wrong again.

                            1 Reply Last reply
                            0
                            • cm0002@lemmy.worldC [email protected]
                              This post did not contain any content.
                              T This user is from outside of this forum
                              T This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #75

                              Vim is pretty amazing. Almost everywhere now too.

                              S 1 Reply Last reply
                              1
                              • N [email protected]

                                Nobody sane uses vim as an IDE

                                Huh? Many people do this. With the right plugins and config it is just as capable as any IDE.

                                W This user is from outside of this forum
                                W This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #76

                                I’ve met both the good kind of insane genius that uses it as an IDE and the crazy-board nutjob that uses it as an IDE, but both are decidedly not sane.

                                1 Reply Last reply
                                0
                                • endmaker@ani.socialE [email protected]

                                  Personally, I have seen so many memes about exiting vim that by the time I got to use it for the first time, exiting it was a no-brainer.

                                  For any newbies out there, the command is

                                  :wq
                                  
                                  T This user is from outside of this forum
                                  T This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #77

                                  :x is also an alternative to save and quit.

                                  Equally valid for the facial expression you'd make upon finding that out.

                                  1 Reply Last reply
                                  4
                                  • L [email protected]

                                    Agree with your point on nano. I used it as a beginner too, but once you get past the basic typing something in, vim is king.

                                    However, I disagree with the rest of your post. Hjkl are superior to arrow keys once you get used to them. I thought that day would never come, but I got used to it way quicker than initially anticipated.

                                    As a 60% owner and 34 key ergo advocator, also disagree with the last point.

                                    U This user is from outside of this forum
                                    U This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #78

                                    Hjkl are superior to arrow keys once you get used to them.

                                    I disagree with this point. I am able to use them quite functionally and I still want my arrow keys, because they are arrow keys. Also, you can use them without exiting INSERT mode.

                                    I do however, agree with your last point.^[I agree with the fact that you disagree with me. Nothing else.]

                                    Oh, and I also don't like the pseudo ergonomics of mechanical keyboards.
                                    All they do is make it harder to use with a more relaxed hand position.

                                    L 1 Reply Last reply
                                    1
                                    • U [email protected]

                                      Hjkl are superior to arrow keys once you get used to them.

                                      I disagree with this point. I am able to use them quite functionally and I still want my arrow keys, because they are arrow keys. Also, you can use them without exiting INSERT mode.

                                      I do however, agree with your last point.^[I agree with the fact that you disagree with me. Nothing else.]

                                      Oh, and I also don't like the pseudo ergonomics of mechanical keyboards.
                                      All they do is make it harder to use with a more relaxed hand position.

                                      L This user is from outside of this forum
                                      L This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #79

                                      Just FYI I am not downvoting you.

                                      1 Reply Last reply
                                      0
                                      • endmaker@ani.socialE [email protected]

                                        Personally, I have seen so many memes about exiting vim that by the time I got to use it for the first time, exiting it was a no-brainer.

                                        For any newbies out there, the command is

                                        :wq
                                        
                                        B This user is from outside of this forum
                                        B This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #80

                                        I'm going to stick with my current process of accidentally opening vim, typing semi-random things that feel like they should work for a minute and then eventually looking up how to quit on my phone.

                                        1 Reply Last reply
                                        0
                                        • V [email protected]

                                          Clearly you should install Edit.

                                          https://github.com/microsoft/edit

                                          R This user is from outside of this forum
                                          R This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #81

                                          Ok that's really cool. It looks like it's really new? Like 3 months old?

                                          dacotaco@lemmy.worldD 1 Reply Last reply
                                          2
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups