unboiled.info
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
N3Cr0@lemmy.world to linuxmemes@lemmy.world · 3 months ago

Vim > VSCode

lemmy.world

message-square
94
link
fedilink
94

Vim > VSCode

lemmy.world

N3Cr0@lemmy.world to linuxmemes@lemmy.world · 3 months ago
message-square
94
link
fedilink
alert-triangle
You must log in or # to comment.
  • ExLisper@lemmy.curiana.net
    link
    fedilink
    arrow-up
    10
    ·
    3 months ago

    The best thing about Vim is that despite having all the features of a modern IDE it starts in 0.1s and you can start editing right away while the code data is loading asynchronously.

    The worst thing about Vim is that… just kidding, there’s nothing bad about it.

    • nialv7@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      3 months ago

      0.1s is way too long, you need to optimize your startup time. /s

    • silverlose@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      It’s a trade off for sure. I think the area editors like Vim totally win in is when you need to ssh into a server and edit something. I think it will always exist because of this use case

  • electric_nan@lemmy.ml
    link
    fedilink
    arrow-up
    7
    ·
    3 months ago

    I remapped the power button of my computer to whatever that series of keypresses is that exits vim.

    • ArbitraryValue@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      7
      ·
      edit-2
      3 months ago

      that series of keypresses is that exits vim

      One of the great mysteries of the universe. However, I can confirm that my standard power button also exits vim.

    • pinball_wizard@lemmy.zip
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      That’s really smart. That way if I ever figure out the command to exit Vim, it’ll behave the same as my current method (powering off the PC.)

  • Lovable Sidekick@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    3 months ago

    I used to know a developer who wrote all his code in Notepad. This was around 2005 or 6. We had just starting to replace our legacy ASP code with ASP.Net, which he was determined to do in Notepad. I was gone before I could see how that worked out.

  • hakunawazo@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    3 months ago

    Fly in fly trap:

    :q!

    • Trailblazing Braille Taser@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      3 months ago

      I thought flies use ZZ for the onomatopoeia

      • tomatoely@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        3 months ago

        So ZQ comes from the sound of a fly being swatted?

    • FauxLiving@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      3 months ago

      Recording @q

    • goldfndr@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      But if you accidentally typed a or i, press ESC first.

  • F04118F@feddit.nl
    link
    fedilink
    arrow-up
    5
    ·
    3 months ago

    Do you mean Neovim?

    Surely you aren’t comparing a flat text editor to an IDE that has language server support, debuggers and refactoring tools?

    • jmcs@discuss.tchncs.de
      link
      fedilink
      arrow-up
      5
      ·
      3 months ago

      Vim and VS Code are both text editors that can become IDEs with plugins. You can use vim with language servers if you want, as there are plugins for it.

      • F04118F@feddit.nl
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        3 months ago

        Thanks, I wasn’t aware of that!

        Makes sense though. Vim plugins exist so anything is possible. Neovim having native support for LSP and DAP makes it a lot easier though.

    • yoshman@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      3 months ago

      I only use butterfly flaps that move magnetic needles next to my HDD.

      • DasFaultier@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        3 months ago

        Like a real programmer would.

      • whatsgoingdom@rollenspiel.forum
        link
        fedilink
        arrow-up
        1
        ·
        3 months ago

        I do the same with moths as they are more active at night

        • muhyb@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          3 months ago

          You need a bigger lämp brøther!

  • milicent_bystandr@lemm.ee
    link
    fedilink
    arrow-up
    4
    ·
    3 months ago

    HAHAHAHA I know the secret passcode to escape!

    Incidentally, it’s ctrl+]. But I remap it to ‘kj’, and somehow have never typed ‘blackjack’ in all my years of using Vim!

    • boonhet@lemm.ee
      link
      fedilink
      arrow-up
      9
      ·
      3 months ago

    • Lovable Sidekick@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      3 months ago

      So… we meet at last, Doctor Evil!

  • 👍Maximum Derek👍@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 months ago

    Wouldn’t the one that ops you into telemetry be the trap?

  • sanderium@lemmy.zip
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 months ago

    helix btw

  • Onlykievv @lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    3 months ago

    Vim and VScode are my favorite code editors but I admit that Vim is better :]

    • LeninOnAPrayer@lemm.ee
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 months ago

      Knowing how to actually navigate vim is worth learning. Especially if you work in embedded systems where a lot of the time you’re on setup that is running barebones and likely just has vi as a text editor.

      But I used VSCode for dev work with the VIM plugin.

  • mossberg590@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    3 months ago

    The trap is that you should use vi. Don’t wuss out.

    • GissaMittJobb@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      3 months ago

      Ed is the standard text editor.

    • chonglibloodsport@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      Yeah. A lot of people who use vim don’t know how to use the full power of vi. They’ll often install plugins to do things they could have easily done with built in features!

      The one area where regular vi sucks though is undo. If you want multiple undo then you’ll have to at least go with something like nvi.

      • baines@lemmy.cafe
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        3 months ago

        imagine thinking a non user will read this and want to use vi/vim

        vim users have the same energy as latex users

        • chonglibloodsport@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          3 months ago

          I don’t really recommend people learn vi/vim even though I’ve been using it for years and love it. It’s a very personal thing and the time you invest into learning it might not be worth it if you don’t use its features enough.

          I think it’s dependent on your personality and neurodivergence/neurotypical characteristics (I don’t know a word that encompasses all of this). If you’re the type of person who gets really annoyed/distracted by any sort of “friction” in the editing process then I think you may be a good candidate to learn vi. Otherwise probably not!

          Edit: by the way I’m also a LaTeX user!

          • Shareni@programming.dev
            link
            fedilink
            arrow-up
            0
            arrow-down
            2
            ·
            3 months ago

            vim user

            LaTeX user

            When you go to the wrong side

            • chonglibloodsport@lemmy.world
              link
              fedilink
              arrow-up
              0
              ·
              3 months ago

              I prefer to call it the dark side!

              • Shareni@programming.dev
                link
                fedilink
                arrow-up
                1
                ·
                3 months ago

                Come to the evil side, we have org-mode

                • chonglibloodsport@lemmy.world
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  3 months ago

                  I’ve tried. It breaks my brain too much. I’ve even used emacs without evil but the unholy combination just does not work for me.

                  I have the same problem with all vi/vim emulation modes in other editors. There’s always some incongruity that messes me up.

  • oysterenjoyer@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 months ago

    Good luck exiting that!

    • katy ✨@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      ctrl-x. ;)

      • festnt@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        3 months ago

        oh no no no

        it’s the x button on the top right of the window

        • alt_xa_23@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          3 months ago

          laughs in i3

  • katy ✨@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    2
    ·
    3 months ago

    vscodium slightly better than vscode tho.

    honestly all ide’s are rubbish - especially electron ones. for a gui editor, i’ve just gone back to sublime text and have never been happier.

    • FooBarrington@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      Is there a stable way to use closed extensions (like the MS Python one) with vscodium by now? I’d love to get away from MS’ grasp, but it’s much harder if I’ll be missing out on language integrations.

      • pinball_wizard@lemmy.zip
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        3 months ago

        Is there a stable way to use closed extensions (like the MS Python one) with vscodium by now?

        Yes. Use this config edit.. Everything works fine.

    • Oniononon@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      3 months ago

      Notepad++ is good but a bit bloated. Would not call it rubbish. Node is solid.

    • ZeroOne@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      What is your opinion on Lapce ?

    • boonhet@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      Zed for lightweight, Kate for regular text and the Jetbrains suite for when I want something that uses all of my RAM, but has a lot of niceties.

      The only time I open up vscodium is when I want to conveniently edit files in a docker container that are part of the image rather than mapped from my filesystem

    • brbposting@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      Are there big reasons people will choose one or the other between Sublime and BBEdit?

      • jennraeross@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        3 months ago

        The big one (imo) is extensions. Outside of the vscode/atom/vim/emacs ecosystems sublime has probably the largest library of extensions, and they’re readily installable. So if you want an extensible text editor that’s not based around electron or the terminal it’s the obvious answer.

        • Omega@discuss.online
          link
          fedilink
          arrow-up
          0
          ·
          3 months ago

          Atom? People still use atom?

          • John@discuss.tchncs.de
            link
            fedilink
            arrow-up
            1
            ·
            3 months ago

            Atom is dead, the successor is called Pulsar

    • wuphysics87@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      3 months ago

      Tbf codium is a very well optimized electron app. Don’t believe me? Try discord

      • FauxLiving@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        3 months ago

        very well optimized electron app

        It’s like a very light Elephant

  • fmstrat@lemmy.nowsci.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 months ago

    Why not both?

    https://github.com/VSCodeVim/Vim

  • ZeroOne@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    3 months ago

    & then there’s emacs

    • double_quack@lemm.ee
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 months ago

      (& this-post (there-is emacs))

  • swelter_spark@reddthat.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    3 months ago

    After years of using Linux, the last time I used Vim, I remembered for the first time how to go into command mode, exit, and save the file I was editing without looking anything up.

    • pmk@lemmy.sdf.org
      link
      fedilink
      arrow-up
      4
      ·
      3 months ago

      I’m the opposite, I sometimes find :w or :wq written in text files I have edited with non-vi editors.

      • alt_xa_23@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        3 months ago

        I made :q alias to exit in my shell

linuxmemes@lemmy.world

linuxmemes@lemmy.world

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: !linuxmemes@lemmy.world

Hint: :q!


Sister communities:
  • !tech_memes@lemmy.world
  • !memes@lemmy.world
  • !lemmyshitpost@lemmy.world
  • !risa@startrek.website

Community rules (click to expand)

1. Follow the site-wide rules
  • Instance-wide TOS: https://legal.lemmy.world/tos/
  • Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like “every user of thing”.
  • Don’t get baited into back-and-forth insults. We are not animals.
  • Leave remarks of “peasantry” to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
4. No recent reposts
  • Everybody uses Arch btw, can’t quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures

We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.

  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.

 

Please report posts and comments that break these rules!


Important: never execute code or follow advice that you don’t understand or can’t verify, especially here. The word of the day is credibility. This is a meme community – even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don’t remove France.

Visibility: Public
globe

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

  • 185 users / day
  • 185 users / week
  • 266 users / month
  • 6.44K users / 6 months
  • 1 local subscriber
  • 25.7K subscribers
  • 1.54K Posts
  • 57.1K Comments
  • Modlog
  • mods:
  • Kevin@lemmy.world
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • UI: unknown version
  • BE: 0.19.12
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org