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.
  • cm0002@lemmy.worldC [email protected]
    This post did not contain any content.
    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
    #22

    ‘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.

    N N M nachtnebel@lemmy.dbzer0.comN E 5 Replies Last reply
    12
    • 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.

      gamma@programming.devG This user is from outside of this forum
      gamma@programming.devG This user is from outside of this forum
      [email protected]
      wrote on last edited by [email protected]
      #23

      I don't fit into any of those categories.

      Its obtuse, old, and doesn't have a lot of functionality of modern code editors

      Obtuse? Yeah. The keyboard focus means natural discoverability is low. But I immediately preferred modal editing once I learned it.

      Old? Eh, most people use Neovim nowadays and write plugins in lua. Even in OG Vim, Vim9script broke compatibility for a better dev experience.

      Functionality? Out of the box, it is just a text editor. But only VSCode might have a more active plugin ecosystem. ALE has been a thing for ages if it's LSP support you're looking for.

      It's not better, it's not worse, I'm not in any way superior for using it, but I love it for a reason.

      1 Reply Last reply
      6
      • 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.

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

        If you're just doing a quick config edit, nano is significantly easier to use and is also present in most distros.

        Vi/Vim is useful as a customizable dev environment, but in the present there are better, more feature-rich development tools - unless you are specifically doing a lot of development in a GUI-free system, for some reason.

        T L N P 4 Replies Last reply
        7
        • 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
          #25

          There's also ZZ 👉😎👉 Same caveats apply, smash that fukken esc key (for bonus points rebind caps lock as esc) then ZZ Top your way out of that shit.

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

            If you're just doing a quick config edit, nano is significantly easier to use and is also present in most distros.

            Vi/Vim is useful as a customizable dev environment, but in the present there are better, more feature-rich development tools - unless you are specifically doing a lot of development in a GUI-free system, for some reason.

            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
            #26

            I mean, if youre continually updating files on remote take the time to learn vim. My God it's a million times more efficient. Even using the keybindings in an ide makes sense.

            That and Im not aware that rhel distros at all have nano built in. Nothing on a random rocky 9 box I randomly sshed into just now.

            V 1 Reply Last reply
            10
            • 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.

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

              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.

              I W 2 Replies Last reply
              28
              • 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.

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

                Many people do this.

                Many people are insane.

                P 1 Reply Last reply
                16
                • T [email protected]

                  I mean, if youre continually updating files on remote take the time to learn vim. My God it's a million times more efficient. Even using the keybindings in an ide makes sense.

                  That and Im not aware that rhel distros at all have nano built in. Nothing on a random rocky 9 box I randomly sshed into just now.

                  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
                  #29

                  Helix crew chiming in. 🙋‍♂️

                  1 Reply Last reply
                  4
                  • malix@sopuli.xyzM [email protected]

                    Just to add: possible need to tap esc first, as your random flailing probably put you in insert mode, or something more exotic.

                    And only add w if you want to save the file. :q! If you don't

                    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
                    #30

                    ! If you edited the buffer at all. 👍

                    malix@sopuli.xyzM 1 Reply Last reply
                    6
                    • A [email protected]

                      You have heard of :wq, but have you heard of ZZ

                      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
                      #31

                      How about :x.

                      P 1 Reply Last reply
                      3
                      • V [email protected]

                        ! If you edited the buffer at all. 👍

                        malix@sopuli.xyzM This user is from outside of this forum
                        malix@sopuli.xyzM This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #32

                        With random flailing, most likely

                        1 Reply Last reply
                        6
                        • 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
                          
                          E This user is from outside of this forum
                          E This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #33

                          And if you panicked before and fucked up the opened file while hammering on the keyboard:

                          :q!
                          
                          1 Reply Last reply
                          5
                          • T [email protected]

                            Setup for the overused joke - I've been using vim since I first started using a computer, I just can't quit.

                            heathcliff@lemm.eeH This user is from outside of this forum
                            heathcliff@lemm.eeH This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #34

                            Right now I'm at the hospital in the exam yr colon queue! Maybe it helps U too.

                            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.

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

                              And if not they have sed or ed or echo and cat.

                              1 Reply Last reply
                              2
                              • cm0002@lemmy.worldC [email protected]
                                This post did not contain any content.
                                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
                                #36

                                I've recently started administering windows headless. PowerShell over SSH.

                                Don't have this problem on windows server!

                                It doesn't even have a terminal text editor

                                I have to install nano or use powershell commands through hoops of fire just to edit a line in a file.

                                Or download the file via scp, edit and reupload.

                                Pure Insanity.

                                V P 2 Replies Last reply
                                23
                                • I [email protected]

                                  The loyal cult is the result of Stockholm syndrome.

                                  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
                                  #37

                                  Of course. We just can't quit

                                  1 Reply Last reply
                                  5
                                  • 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.

                                    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
                                    #38

                                    If you can't think of a reason, then you could have just asked. Or read a few threads here or somewhere else. But instead you went forward typing your oh so very informed opinion, which itself is a good invitation for "shut up, lousy know-nothing type of human" kind of response. I do hope you'll do better next time you see a piece of lore and culture you have no clue about

                                    N 1 Reply Last reply
                                    3
                                    • K [email protected]

                                      I don't know why there's so much hate for Vim. It's simple- just use it as your default text editor since you first started using computers, and keep using it forever, and problem solved!

                                      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
                                      #39

                                      :set nocompat

                                      Why VIM decided to make itself run just like VI (by default) is beyond me. Isn’t the long name “VI Improved”?

                                      N 1 Reply Last reply
                                      5
                                      • 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
                                        
                                        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 [email protected]
                                        #40

                                        😳

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

                                        Please don’t give blanket destructive advice.

                                        G 1 Reply Last reply
                                        14
                                        • N [email protected]

                                          How is this a lazy argument? Most people dont use Fortran, Cobol, or Assembly anymore for the same reason. There are better alternatives out there.

                                          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
                                          #41

                                          I'm not an old hat programmer and have never been forced to use VIM, but I started learning how to navigate because of the potential efficiencies that comes with it, and because I like to learn new things. I'm not good at it, but I've gotten a lot better, and I will continue to do so because it's enjoyable, neovim is extremely customizable, and the vim key bindings can be used in vscode for when I use that. I also use Linux, so it felt like the right direction to go, but mostly for the memes.

                                          I don't use it for high level language coding like python, JS, and definitely nothing.net related like c#, but it's solid for lower level like C.

                                          You don't have to enjoy it, but there are some extremely skilled programmers out there that can code laps around other extremely skills programmers just because they use vim/neovim and can navigate at a stupid fast rate. Watching some like the Primeagen on YT is humbling.

                                          S 1 Reply Last reply
                                          1
                                          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