Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • 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. Programming
  3. Coders or lemmy, what editors do you use? Is it worth learning a new one?

Coders or lemmy, what editors do you use? Is it worth learning a new one?

Scheduled Pinned Locked Moved Programming
programming
139 Posts 101 Posters 269 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]

    When I was in high school I found Sublime Text and learned "multiple cursors". Since then, I've transitioned to vscode, mainly because I need LSP (without too much configuration work) for my work.

    I keep hearing about how modal editing is faster and I would like to switch to a more performant editor. I've been looking at helix, as the 4th generation of the vi line of editors. Is anyone using it? Is it any good for the main code editor?

    The problem that I have is that learning new editing keybindings would probably take me a month of time, before I get to the same amount of productivity (if I ever get here at all). So I'm looking for advice of people who have already done that before.

    My code editing does involve a lot of "ctrl-arrow" to move around words, "ctrl-shift-arrow" to select words, "home/end" to move to beginning/end of the line, "ctrl-d" for "new cursor at next occurrence", "shift-alt-down" for "new cursor in the line below", "ctrl-shift-f" for "format file" and a few more to move around using LSP-provided "declaration"/"usages".

    I would have to unlearn all of that.

    Also, I do use "ctrl-arrow" to edit this post. Have you changed keybindings in firefox too?

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

    VS Code with your favorite plugins is pretty fantastic for any editing in my experience. I've tried others and they do seem to work well, but not well enough to warrant switching, and they often come with quirks that are just annoying enough to make me want to switch back.

    I suggest trying others to know what's out there, even if you ultimately end up back on VS Code.

    1 Reply Last reply
    0
    • J [email protected]

      Don't Speculate

      Go to Twitch/YouTube. Watch a senior Vim/Jetbrains/Emacs/VS Code/Helix churn out code for a hackathon/advent-of-code, and see what you are (or are not!) missing out on.

      If you have "how the hell did they just do that" moments, figure out what that feature is, and STEAL IT. If its too hard to steal, then you are probably being limited by your editor.

      • If you're going to change editors and make the jump, sooner is better. Start with Vim bindings for VS Code.
      • If you're not going to switch, then make absolutely sure you dont bottom out. To be frank, Ctrl+D is the tip of the iceberg. Half the benefit of vim/helix is, they chase you around with a 10k volt taser until you've mastered tons and tons of shortcuts. Go beyond/outside your editor: Use spacebar as a modifier key, where holding spacebar converts your WASD into arrow keys. You'll get vim-like benefits of never lifting your hands, but in every app. For VS Code, get cursor jumper extensions like Mario (block jumper), get cursor-alignment extensions, write boatloads of custom vs code snippets, get a macro record+replay extension, make a jump-to-next quote, jump to next bracket, install sequential number generator extension, case change (camel case, snake case, etc) extension, sort lines. If you can do that, you'll likely never feel that you are missing out on whatever modal editor people are swearing by.
      0 This user is from outside of this forum
      0 This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #75

      I get this, but an IDE should be invisible and grow as you do and not require you to learn lots of janky things before it becomes a little bit useful for you.

      Need the basics, great, here they are. Don't understand some advanced feature? Well the IDE has it here, but it isn't in your way, mess with it as and when you want. It'll still be there.

      I don't think one IDE does everything for different languages and its ok to swap editors depending on your workflow, your project and your ever-changing skillset.

      J 1 Reply Last reply
      0
      • troed@fedia.ioT [email protected]

        Depends on language and platform 😉 Ghidra, strace, printouts gets you quite far. The only language I regularly step would be assembler.

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

        Ghidra seems intense when gdb is right there. Lol. What advantages do you see in using Ghidra on your own code? It seems interesting.

        mrkite@programming.devM 1 Reply Last reply
        0
        • V [email protected]

          When I was in high school I found Sublime Text and learned "multiple cursors". Since then, I've transitioned to vscode, mainly because I need LSP (without too much configuration work) for my work.

          I keep hearing about how modal editing is faster and I would like to switch to a more performant editor. I've been looking at helix, as the 4th generation of the vi line of editors. Is anyone using it? Is it any good for the main code editor?

          The problem that I have is that learning new editing keybindings would probably take me a month of time, before I get to the same amount of productivity (if I ever get here at all). So I'm looking for advice of people who have already done that before.

          My code editing does involve a lot of "ctrl-arrow" to move around words, "ctrl-shift-arrow" to select words, "home/end" to move to beginning/end of the line, "ctrl-d" for "new cursor at next occurrence", "shift-alt-down" for "new cursor in the line below", "ctrl-shift-f" for "format file" and a few more to move around using LSP-provided "declaration"/"usages".

          I would have to unlearn all of that.

          Also, I do use "ctrl-arrow" to edit this post. Have you changed keybindings in firefox too?

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

          Amateurs. I manipulate the delicate flutters of butterfly wings.

          1 Reply Last reply
          0
          • V [email protected]

            When I was in high school I found Sublime Text and learned "multiple cursors". Since then, I've transitioned to vscode, mainly because I need LSP (without too much configuration work) for my work.

            I keep hearing about how modal editing is faster and I would like to switch to a more performant editor. I've been looking at helix, as the 4th generation of the vi line of editors. Is anyone using it? Is it any good for the main code editor?

            The problem that I have is that learning new editing keybindings would probably take me a month of time, before I get to the same amount of productivity (if I ever get here at all). So I'm looking for advice of people who have already done that before.

            My code editing does involve a lot of "ctrl-arrow" to move around words, "ctrl-shift-arrow" to select words, "home/end" to move to beginning/end of the line, "ctrl-d" for "new cursor at next occurrence", "shift-alt-down" for "new cursor in the line below", "ctrl-shift-f" for "format file" and a few more to move around using LSP-provided "declaration"/"usages".

            I would have to unlearn all of that.

            Also, I do use "ctrl-arrow" to edit this post. Have you changed keybindings in firefox too?

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

            +1 for Helix. Selection then action always made more sense to me than action then selection.

            1 Reply Last reply
            0
            • V [email protected]

              When I was in high school I found Sublime Text and learned "multiple cursors". Since then, I've transitioned to vscode, mainly because I need LSP (without too much configuration work) for my work.

              I keep hearing about how modal editing is faster and I would like to switch to a more performant editor. I've been looking at helix, as the 4th generation of the vi line of editors. Is anyone using it? Is it any good for the main code editor?

              The problem that I have is that learning new editing keybindings would probably take me a month of time, before I get to the same amount of productivity (if I ever get here at all). So I'm looking for advice of people who have already done that before.

              My code editing does involve a lot of "ctrl-arrow" to move around words, "ctrl-shift-arrow" to select words, "home/end" to move to beginning/end of the line, "ctrl-d" for "new cursor at next occurrence", "shift-alt-down" for "new cursor in the line below", "ctrl-shift-f" for "format file" and a few more to move around using LSP-provided "declaration"/"usages".

              I would have to unlearn all of that.

              Also, I do use "ctrl-arrow" to edit this post. Have you changed keybindings in firefox too?

              A This user is from outside of this forum
              A This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #79
              cat << EOF
              # [[content here]]
              EOF > file.txt
              

              On a more serious note: Neovim for quick file-edits, doom-emacs as my IDE.

              Doom-emacs does most of the stuff you are already using out of the box, is highly configurable and it lets you use vim-keybindings. It's also free (as in freedom) software!

              B 1 Reply Last reply
              0
              • U [email protected]

                Vscodium. Anything else (ESPECIALLY VIM, SO DON'T TELL ME TO USE VIM) makes my brain want to eject itself into the 37th dimension to look for Nirvana and the true purpose of life.

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

                Have you tried ed?

                1 Reply Last reply
                0
                • V [email protected]

                  When I was in high school I found Sublime Text and learned "multiple cursors". Since then, I've transitioned to vscode, mainly because I need LSP (without too much configuration work) for my work.

                  I keep hearing about how modal editing is faster and I would like to switch to a more performant editor. I've been looking at helix, as the 4th generation of the vi line of editors. Is anyone using it? Is it any good for the main code editor?

                  The problem that I have is that learning new editing keybindings would probably take me a month of time, before I get to the same amount of productivity (if I ever get here at all). So I'm looking for advice of people who have already done that before.

                  My code editing does involve a lot of "ctrl-arrow" to move around words, "ctrl-shift-arrow" to select words, "home/end" to move to beginning/end of the line, "ctrl-d" for "new cursor at next occurrence", "shift-alt-down" for "new cursor in the line below", "ctrl-shift-f" for "format file" and a few more to move around using LSP-provided "declaration"/"usages".

                  I would have to unlearn all of that.

                  Also, I do use "ctrl-arrow" to edit this post. Have you changed keybindings in firefox too?

                  whotookkarl@lemmy.worldW This user is from outside of this forum
                  whotookkarl@lemmy.worldW This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #81

                  Sublime text, vi, eclipse, emacs depending what I'm doing

                  1 Reply Last reply
                  0
                  • M [email protected]

                    nano is the best (imho) for up to medium size files. It’s preinstalled in most Linux boxes , it’s simple and powerful enough

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

                    You should check out Micro. It's a slightly more sane alternative to nano:

                    https://micro-editor.github.io/

                    M 1 Reply Last reply
                    0
                    • kissaki@programming.devK [email protected]

                      I mainly work with C#, where I use Visual Studio. I think I mainly changed bindings for expand selection, and go to definition, declaration, implementation (ALT+A/+S/+D). All other bindings work out for me.

                      Cursor and selection "jumping" with CTRL and SHIFT, and using multiple cursors is a regular occurrence for me. I largely keep using keyboard, but for navigating I do often switch to or combine it with mouse.

                      When it's not C#, it's often VS Code, or otherwise Notepad++ for non-IDE simple editing. For even simpler quick edits I also use Double Commanders integrated text editor.

                      I use TortoiseGit, and its diff editor. I sometimes make changes there too. I also occasionally use KDiff or Winmerge.

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

                      Have you ever tried Rider? I found it such a pleasure to use in place of Visual Studio and I've never looked back.

                      Any times I've loaded VS since it just feels so slow in comparison.

                      kissaki@programming.devK 1 Reply Last reply
                      0
                      • morrowind@lemmy.mlM [email protected]

                        I keep hearing about how modal editing is faster and I would like to switch to a more performant editor.

                        Honestly I've yet to hear a good argument for this. It feels like such a major investment to switch to vi-like editors, I need a pretty good argument before considering it

                        Also a good argument for "why does it matter"? Speed of editing is rarely a bottleneck when editing code. If it is, you might want to consider why your code is so verbose and repetitive to make it so

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

                        Input speed is not "just" input speed. Note: I'm not about to argue for or against modal editors, I just want to answer: why is input speed really really really important, when (we agree) its not a big percent of total time.

                        5min at 80mph over a bumpy dirt path, ripping around turns is very very different than 5min of flat smooth straight driving.

                        A senior and junior dev could spend the same amount of time to rename a var across 15 files, move a function to a new file, comment out two blocks, comment one back in, etc. But. When I try to have a conversation while they do that, or when I change my mind and tell the junior to undo all that, its a massive emotional drain on them... because (if they're fast) they're driving 80mph over a crappy dirt road.

                        The input speed isn't a big deal because its a large chunk of time, it's a big deal because pausing a conversation/mental thread for 5 seconds while you wait for some typing to finish is incredibly disruptive/jarring to the thought process itself.

                        Those mental pause-and-resumes cause untold number of bugs, and THAT is where the real time sink happens.

                        If you're already at the point where there's no "pauses in the conversation" then I'd agree, there's not much benefit in increasing input speed on its own. BUT there's almost always some task, like converting all vars (but not imported methods) in a project to camel case from snake case, that are big enough to choke the conversation even for a senior dev. Increasing input speed is often decreasing how often the conversation gets interrupted.

                        1 Reply Last reply
                        0
                        • S [email protected]

                          I used vi for a few years so have the muscle memory and the sole advantage in my perception was that everything is simple typing with hands remaining in the home keys position (except Escape, ironically).

                          So it's more relaxed if you find using modifiers onerous, but I don't find Ctrl or Alt significantly worse than Shift, and I don't find it any worthwhile advantage.

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

                          I read that, originally, Caps Lock was supposed to be the mode-changing key. For some historical reason that changed with Escape.

                          S P 2 Replies Last reply
                          0
                          • V [email protected]

                            When I was in high school I found Sublime Text and learned "multiple cursors". Since then, I've transitioned to vscode, mainly because I need LSP (without too much configuration work) for my work.

                            I keep hearing about how modal editing is faster and I would like to switch to a more performant editor. I've been looking at helix, as the 4th generation of the vi line of editors. Is anyone using it? Is it any good for the main code editor?

                            The problem that I have is that learning new editing keybindings would probably take me a month of time, before I get to the same amount of productivity (if I ever get here at all). So I'm looking for advice of people who have already done that before.

                            My code editing does involve a lot of "ctrl-arrow" to move around words, "ctrl-shift-arrow" to select words, "home/end" to move to beginning/end of the line, "ctrl-d" for "new cursor at next occurrence", "shift-alt-down" for "new cursor in the line below", "ctrl-shift-f" for "format file" and a few more to move around using LSP-provided "declaration"/"usages".

                            I would have to unlearn all of that.

                            Also, I do use "ctrl-arrow" to edit this post. Have you changed keybindings in firefox too?

                            yogsototh@programming.devY This user is from outside of this forum
                            yogsototh@programming.devY This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #86

                            Fresh from university I found a job with terrible keyboards. After about 4 months I started to feel constant pain in my wrists. I then switched to vim.

                            And it solved my wrists issue. But also, I discovered a way to edit text that was so much optimized fat beyond my expectations.

                            I wrote this article for people that would like to familiarize with vi keybindings.

                            https://yannesposito.com/Scratch/en/blog/Learn-Vim-Progressively/

                            1 Reply Last reply
                            0
                            • V [email protected]

                              When I was in high school I found Sublime Text and learned "multiple cursors". Since then, I've transitioned to vscode, mainly because I need LSP (without too much configuration work) for my work.

                              I keep hearing about how modal editing is faster and I would like to switch to a more performant editor. I've been looking at helix, as the 4th generation of the vi line of editors. Is anyone using it? Is it any good for the main code editor?

                              The problem that I have is that learning new editing keybindings would probably take me a month of time, before I get to the same amount of productivity (if I ever get here at all). So I'm looking for advice of people who have already done that before.

                              My code editing does involve a lot of "ctrl-arrow" to move around words, "ctrl-shift-arrow" to select words, "home/end" to move to beginning/end of the line, "ctrl-d" for "new cursor at next occurrence", "shift-alt-down" for "new cursor in the line below", "ctrl-shift-f" for "format file" and a few more to move around using LSP-provided "declaration"/"usages".

                              I would have to unlearn all of that.

                              Also, I do use "ctrl-arrow" to edit this post. Have you changed keybindings in firefox too?

                              redseries@lemmy.blahaj.zoneR This user is from outside of this forum
                              redseries@lemmy.blahaj.zoneR This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #87

                              I personally enjoy using pycharm and vscode, depending on what I'm working on and what tools I need/want.

                              1 Reply Last reply
                              0
                              • 0 [email protected]

                                I get this, but an IDE should be invisible and grow as you do and not require you to learn lots of janky things before it becomes a little bit useful for you.

                                Need the basics, great, here they are. Don't understand some advanced feature? Well the IDE has it here, but it isn't in your way, mess with it as and when you want. It'll still be there.

                                I don't think one IDE does everything for different languages and its ok to swap editors depending on your workflow, your project and your ever-changing skillset.

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

                                I get this, but an IDE should be invisible and grow as you ...

                                Why not "I get this, and an IDE should ..." ?

                                I don't think your idea goes against the idea of watching skilled devs to know what you are/are not missing

                                1 Reply Last reply
                                1
                                • D [email protected]

                                  vim with appropriate syntax highlighting, or kate

                                  troyunrau@lemmy.caT This user is from outside of this forum
                                  troyunrau@lemmy.caT This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #89

                                  kate

                                  I use Kate -- part of the KDE project ecosystem (for anyone else wondering) -- on all platforms, including Windows. So worth it.

                                  1 Reply Last reply
                                  0
                                  • R [email protected]

                                    You should check out Micro. It's a slightly more sane alternative to nano:

                                    https://micro-editor.github.io/

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

                                    Thanks, will take a look

                                    1 Reply Last reply
                                    0
                                    • V [email protected]

                                      When I was in high school I found Sublime Text and learned "multiple cursors". Since then, I've transitioned to vscode, mainly because I need LSP (without too much configuration work) for my work.

                                      I keep hearing about how modal editing is faster and I would like to switch to a more performant editor. I've been looking at helix, as the 4th generation of the vi line of editors. Is anyone using it? Is it any good for the main code editor?

                                      The problem that I have is that learning new editing keybindings would probably take me a month of time, before I get to the same amount of productivity (if I ever get here at all). So I'm looking for advice of people who have already done that before.

                                      My code editing does involve a lot of "ctrl-arrow" to move around words, "ctrl-shift-arrow" to select words, "home/end" to move to beginning/end of the line, "ctrl-d" for "new cursor at next occurrence", "shift-alt-down" for "new cursor in the line below", "ctrl-shift-f" for "format file" and a few more to move around using LSP-provided "declaration"/"usages".

                                      I would have to unlearn all of that.

                                      Also, I do use "ctrl-arrow" to edit this post. Have you changed keybindings in firefox too?

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

                                      Mostly emacs, vi, or what IDE I happen to be using like Eclipse.

                                      1 Reply Last reply
                                      0
                                      • V [email protected]

                                        When I was in high school I found Sublime Text and learned "multiple cursors". Since then, I've transitioned to vscode, mainly because I need LSP (without too much configuration work) for my work.

                                        I keep hearing about how modal editing is faster and I would like to switch to a more performant editor. I've been looking at helix, as the 4th generation of the vi line of editors. Is anyone using it? Is it any good for the main code editor?

                                        The problem that I have is that learning new editing keybindings would probably take me a month of time, before I get to the same amount of productivity (if I ever get here at all). So I'm looking for advice of people who have already done that before.

                                        My code editing does involve a lot of "ctrl-arrow" to move around words, "ctrl-shift-arrow" to select words, "home/end" to move to beginning/end of the line, "ctrl-d" for "new cursor at next occurrence", "shift-alt-down" for "new cursor in the line below", "ctrl-shift-f" for "format file" and a few more to move around using LSP-provided "declaration"/"usages".

                                        I would have to unlearn all of that.

                                        Also, I do use "ctrl-arrow" to edit this post. Have you changed keybindings in firefox too?

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

                                        I use Neovim. It feels like a second nature after using it for years. I love how effortless the interaction with the editor is after you have spent hundreds of hours learning it. I have no reasonable arguments to convince anyone to do that though. I just do it because I enjoy the hell of it 🤷‍♂️

                                        1 Reply Last reply
                                        0
                                        • V [email protected]

                                          When I was in high school I found Sublime Text and learned "multiple cursors". Since then, I've transitioned to vscode, mainly because I need LSP (without too much configuration work) for my work.

                                          I keep hearing about how modal editing is faster and I would like to switch to a more performant editor. I've been looking at helix, as the 4th generation of the vi line of editors. Is anyone using it? Is it any good for the main code editor?

                                          The problem that I have is that learning new editing keybindings would probably take me a month of time, before I get to the same amount of productivity (if I ever get here at all). So I'm looking for advice of people who have already done that before.

                                          My code editing does involve a lot of "ctrl-arrow" to move around words, "ctrl-shift-arrow" to select words, "home/end" to move to beginning/end of the line, "ctrl-d" for "new cursor at next occurrence", "shift-alt-down" for "new cursor in the line below", "ctrl-shift-f" for "format file" and a few more to move around using LSP-provided "declaration"/"usages".

                                          I would have to unlearn all of that.

                                          Also, I do use "ctrl-arrow" to edit this post. Have you changed keybindings in firefox too?

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

                                          The main reason I like vi/vim is that if you're having to use multiple different computers (such as if one is a sysadmin, or in my case, does scientific computing), because if you're running on Linux, you can be confident that vi/vim will be on it.

                                          For personal use, I've been using emacs, but I can't recommend that without feeling like I'm suggesting you try some heroin. I enjoy emacs because of it's complexity and how much power it gives me to modify it. It's very easy to fall into feature creep and over complexity though. That's why I can't recommend it — it's good for me because I am a chronic tinkerer, and having something to fuck around with is an outlet for that.

                                          I would recommend learning the basics of vim though. As you highlight, getting back to your current level of productivity would take a while, even if you loved vim and committed to it wholeheartedly. It is possible to try it out with little commitment though, for the perspective. If you're on a machine that has vim installed already, try the vimtutor command, which will start the ~30 min long inbuilt tutorial for vim. I liked it for giving me perspective on what on earth vim even was.

                                          I know you don't use it anymore, but I just want to fistbump you re: sublime text. I really loved that as a basic text editor that was, for me, just a slightly nicer notepad.

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