• @[email protected]
    link
    fedilink
    48
    edit-2
    2 years ago

    Micro - not quite as fancy as Helix but it’s a static binary, bells and whistles included, and ready to go without config. If you’re still using nano/pico, micro is a nice step up in functionality without the complexity of vim et al.

    Multiple cursors, splits and tabs, mouse support, syntax highlighting, keyboard shortcuts that are more noob-friendly / familiar, it’s great.

    • caseyweederman
      link
      fedilink
      282 years ago

      I don’t know why Micro hasn’t completely replaced Nano in the Linux world.
      Wait, yes I do.
      Despite believing it to be better in every way, my dumb fingers keep automatically reaching for the Nano keyboard shortcuts.

      You know what the key combo is to copy a selection of text in Micro?
      Ctrl C, why would it ever be anything else?
      You know what the key combo is to copy a selection of text in Nano?
      Fucking shift, alt, 6.
      6!!

      And then Ctrl U to paste. I hate that I’m used to that.

      • @[email protected]
        link
        fedilink
        English
        11
        edit-2
        2 years ago

        Never heard of that key combo in nano before, I’ve always used ctrl-K (which actually cuts, then I have to paste it back again if I want to leave that text in place).

        [Edit] Looks like you only need to hit alt-6, not shift-alt-6, to copy a full line or whatever text has been highlighted.

    • @[email protected]
      link
      fedilink
      92 years ago

      Interesting. Have you spent any time with neovim? If so, I’m curious how they compare. I was just starting to investigate the nvim ecosystem, but it’s quite daunting. Still, I like the idea of everything being open source, and using plugins to augment my workflow.

      • @[email protected]
        link
        fedilink
        English
        82 years ago

        Helix was inspired by neovim. Though mostly the inbuilt LSP/tree sitter support. Its keybindings are a mix between what neovim has and kakoune, though closer to kakoune I think. The major advantage IMO that helix has over neovim is built in support for most things you need plugins for in neovim as well as sane defaults out the box. You don’t need 10s of plugins and 100s of lines of config to get helix to work like a modern editor - it just does out the box. All you need to do is install the LSP server for the languages you are interested in and launch helix.

        The major downside ATM is it has no plugin support at all. Which is not as bad as it sounds as it includes so much out the box that you would typically require plugins for in neovim. They are working on plugin support though so it is only a matter of time for this to be fixed. Currently I don’t feel the need for any plugins when using it so IMO it is not a deal breaker for me or my workflow. But the need to manage large configs and sets of plugins had already become too cumbersome in neovim for my liking.

        • Nate Cox
          link
          fedilink
          English
          42 years ago

          I thought lack of plugins was going to be a deal breaker and now I’m kind of on the “do we really need plugins at all” side.

          Helix out of the box is really nice.

      • @[email protected]
        link
        fedilink
        22 years ago

        There are already good answers to this, so I just add that yes, I’ve used vim/neovim for about 20 years before starting to use helix. I’m very familiar with the editor.

      • I used vi and then neovim for about 20 years (like the other @pimeys). I switched to kakoune first because nvim’s plugins were a mess and the LSP integration was unreliable. With all the plugins needed to get a decent dev editor, startup was starting to get slow. Kakoune had multi-select. But mainly, I switched because one necessary plugin (I think it was the LSP one) insisted on starting a nodejs server. Plugins were written in whatever, and running nvim meant spawning Ruby, Python, NodeJS, and whatever else processes; I switched because the nvim ecosystem was getting as bloated as EMACS.

        I bounced from Kakoune to Helix after a couple of years, because Kakoune relies heavily on chording, and modality (pressing a key to get into a mode to do something or some things) is superficial; Helix makes much greater use of modes, often nested, and feels much more faithful to the vi philosophy to me. Also, Tree-Sitter is a disruptive technology.

          • Because, while many people are unaware of it or have beard of it but don’t know what it does, it’s a novel, well-executed, reusable solution that is incredible at what it does. Ot’s disruptive in the sense that I believe it’s changing how programs that need to parse code are written, and they’ll become faster to write, faster to execute, and better for it.

            Not big-D disruptive, as in changing the face of computer science, but little-D, as in having a quiet but disproportionate impact on a lot of software.

            • @[email protected]
              link
              fedilink
              12 years ago

              Oh, I thought disruptive is a negative adjective. Translator translates it to my language as a negative adjective.

              • Your translator is right! The word does have negative connotations, in that the status quo is being disrupted. In the context of technology, it loses that connotation. It can mean something good, but not necessarily. Google was disruptive; was it for better, or worse? Tesla was too, but in the end, probably for the better. I’d argue that e-bikes are disruptive in the US, as they’re getting huge numbers of Americans who otherwise wouldn’t out of their cars for small trips.

    • Drew
      link
      fedilink
      22 years ago

      ay, I was going to say that. Use it on all my boxes as a vi replacement.

    • @[email protected]
      link
      fedilink
      22 years ago

      I agree. I think the fact that it’s built around multi cursor edition and a selection -> action paradigm as opposed to vim’s action -> selection is going to become the norm slowly and surely.

  • Luna
    link
    fedilink
    English
    32
    edit-2
    2 years ago

    Helix

    I’d describe it as “NeoVim for people who don’t want to spend time configuring it”. It has syntax highlighting (for pretty much any language you can think of) and LSP support out of the box. And the config file is just a TOML file. Here’s my current config for example:

    theme = "monokai_pro_spectrum"
    
    [editor]
    line-number = "relative"
    middle-click-paste = false
    
    [editor.statusline]
    mode.normal = "NORMAL"
    mode.insert = "INSERT"
    mode.select = "SELECT"
    

    That’s it. No need to deal with Lua or VimScript

    Also using commands after typing the : is easier than in NeoVim since Helix will show you a list of available commands and a description of the closest match (or the one you choose from the list with the tab key). It looks like this: Screenshot of Helix

    I use Helix for quickly editing files and coding

    • Dessalines
      link
      fedilink
      62 years ago

      Same, I switched to helix about a year ago, and do all my coding (except for android because of they don’t make it easy to not use android studio).

      I was on vim for decades, but helix is finally the one that’s powerful enough to make me switch.

      • @[email protected]
        link
        fedilink
        22 years ago

        You can also use Intellij Ultimate, the only big missing features are project config if you have mismatched versions of Gradle/AGP/Kotlin as well as the profiler.

    • stochastictrebuchet
      link
      fedilink
      42 years ago

      Another vote for hx!

      Getting a productive setup for Python work is a matter of a few extra lines of TOML. The pre-release version on master also allows for multiple LSPs per language, which means I can combine pyright with ruff.

      The modal key chords are verb-object instead of object-verb. It’s not a main selling point to me. However, you get multi-cursors out of the box, which I’ve always found simpler than e.g. macros. In general, keybindings are discoverable. I learn something new every week.

      All in all, despite a few rough edges, it’s a nice alternative to needing to get a PhD in neovim configuration to get anywhere remotely near the cool setups other people are rocking.

    • ntzm [he/him]
      link
      fedilink
      English
      32 years ago

      I really like Helix! When the plugin system comes it will be great, because it’s definitely missing some key features

  • @[email protected]
    link
    fedilink
    302 years ago

    Kate. Its such a brilliant foundation.

    I currently have no idea of how to do it but in theory you can add any languages autocomplete, as well as huge libraries of auto-text (like in VSCode, templates for code stuff).

    And its fast, unlike stupid electron VSCodium

    • @[email protected]
      link
      fedilink
      42 years ago

      I’m a new Kate convert. I had some issue on my system where GTK apps would break under Nvidia, something to do with font rendering. I tried Kate and was like “cool it works” and then I discovered how amazing and lightweight it is. Great editor.

      • Daeraxa
        link
        fedilink
        62 years ago

        Glad you found us at least :) Those were the exact reasons we wanted to keep it alive, I tried but I just can’t get used to VSC having used Atom for so long.

    • Daeraxa
      link
      fedilink
      82 years ago

      Yay, always nice to see people mention it (outside of myself just shouting it into the void :P) - we are active on Lemmy now at [email protected] too.

  • @[email protected]
    link
    fedilink
    162 years ago

    Idk if it counts as less popular, but I always thought Sublime got too much flak. The popups are annoying, but other than that it’s a great editor imo. It doesn’t have the bells and whistles of something like VSCode or a full IDE, but that’s also why I like it, it’s much more snappy and lightweight. And you can still get things like LSP working so for me at least it gives me everything I look for in an editor. I even decided to pay for a license a few years back, considering I make my salary with this thing the cost is negligible.

  • @[email protected]
    link
    fedilink
    162 years ago

    Kate is my togo. With a terminal panel and latex->Unicode plugin is perfect for julia. I don’t need it, but you can also set up its LSP client.

    • Mohammad K.
      link
      fedilink
      62 years ago

      I also like Kate. I use it for Python, Html/css and some other stuff. I really like it since it’s light and fast but full of features. Also integrates well with my desktop.

  • @[email protected]
    link
    fedilink
    162 years ago

    I’ve been using Lapce for a bit and it’s pretty cool, like VSCode but written in Rust. It’s actually so much faster, like you press a key and there’s instantly autocomplete suggestions and error warnings, so it feels a lot more responsive than VSCode. It also opens faster. There’s still a couple weird things and missing functionality though because it’s early in development so I’ll probably go back to VSCode for now.

  • Nemo Wuming
    link
    fedilink
    132 years ago

    The original “ed” text editor, from 1969 Unix. Everyone should spend a few days trying to get some work done with it, if only to appreciate how we have nicer things now.

    • @[email protected]
      link
      fedilink
      42 years ago

      It is lovely on embedded devices. I sometimes bring it out for fun on my main PC instead of vim too haha

    • Ramin Honary
      link
      fedilink
      3
      edit-2
      2 years ago

      Another nice thing about ed is that it is sometimes easier to use than sed when you want to edit a file programmatically, since you can navigate lines at random (forward and backward directions), and you can still run regex find/replace like with sed. Just

      printf 'i\nstring of ed commands\n.\n' | ed file-to-edit.txt
      

      and pipe the commands into ed, although it is really an esoteric way to write scripts.

  • @[email protected]
    link
    fedilink
    112 years ago

    Before I got around to learning vi, I spent a few years using joe, which seems to have fallen out of active development (the last release was in 2018). It’s a terminal-based editor that bears some resemblance to old DOS editors.

    https://joe-editor.sourceforge.io/

    • @[email protected]
      link
      fedilink
      English
      42 years ago

      I love Joe. And even though its last update was a while ago, it’s still my preferred editor.

    • @[email protected]
      link
      fedilink
      22 years ago

      I use joe regularly for in-terminal editing. It’s easy, lightweight and very helpful, unlike vi…

      • @[email protected]
        link
        fedilink
        12 years ago

        I’d argue that vi/vim is fairly light depending on how you’re using it. I don’t use any plug-ins and I much prefer it over GUI programs other than in exceptional circumstances

  • @[email protected]
    link
    fedilink
    9
    edit-2
    2 years ago

    Ed Is The Standard Text Editor

    I’m not saying it doesn’t get a lot of shout outs, but it could always do with one more. I think the last time I used it was to automate the editing of config files on some antiquated telephony system by piping ed commands through netcat. There remains a chance that I might live long enough to find some excuse to use it again.

    • @[email protected]
      link
      fedilink
      4
      edit-2
      2 years ago

      Using Ed on an old Unix system feels like talking about WW2 with a veteran in a home except we both have shellshock.

    • Affine Connection
      link
      fedilink
      English
      2
      edit-2
      2 years ago

      Ed Is The Standard Text Editor

      ed, ex, and vi are all standard, required text editors in the Single Unix Specification.

  • @[email protected]
    link
    fedilink
    82 years ago

    Linux people seem to be obsessed with text editors. If I’m on windows I use notepad and on linux I use Kate or whatever the default is. What am I missing out on by not trying out different editors?

    • @[email protected]
      link
      fedilink
      72 years ago

      Notepad is reeeally barebones, and that can be a good thing.

      Check out Notepad++ if you ever need to work with text data more than just skimming a README file. You will see what these people mean.

    • @[email protected]
      link
      fedilink
      72 years ago

      Linux users are more likely to be programmers and even if they aren’t they often edit dotfiles (configuration) or write simple scripts to automate workflow. I also think Linux users just have a tendency to shop around until they settle on a favorite piece of software, even distro hopping is quite common.

    • @[email protected]
      link
      fedilink
      52 years ago

      Nothing really. Kate does a lot of stuff. If you’re not a software developer, it doesn’t really matter. Different text editors have differing levels of support for various programming languages and some people like all the key bindings so they don’t have to take their hands off the mouse.

      But if you’re just editing plain text and you’re not a keyboard only kind of user, it doesn’t really matter.

    • megane-kun
      link
      fedilink
      English
      32 years ago

      I’m probably one of those weirdos who use VSCode, Kate, Nano, and sometimes KWrite all in their different niches.

      I do most of my programming work in VSCode, but most of my shell scripting in Kate. When I edit configuration files, I’m usually using the command line and thus use Nano (sorry, I’m too stupid to use either Emacs nor Vim, let alone Vi). When I’m just looking at text files (or doing a quick edit) via my file manager, I use KWrite. With the exception of VSCode, they’re all provided in my installation by default.

      Having said that, trying out different editors will enable you to pick the editor that better fits your requirements. Kate is too powerful for what I use it for, but since it’s already there, the additional features are nice to have. I actually had to explore a bit before I‌ settled on VSCode for my programming work, and while there’s probably one that better fits my needs, my workflow has already adapted to working with what I currently have.

        • megane-kun
          link
          fedilink
          English
          22 years ago

          This one, right?‌ https://micro-editor.github.io/

          Reading about it, it’s to Kate what is Nano is to… hm… Notepad? 😅 Just looking at the screenshots, I could easily confuse it with something like VSCode.

    • @[email protected]
      link
      fedilink
      3
      edit-2
      2 years ago

      I never understood why people liked Notepad++ so much. I always just used Notepad for simple text file editing and quick notes so I didn’t see the point.

      But I recently switched to POP!_OS and the text editor has lots of features Notepad doesn’t have (such as line numbers, indentation, and I can select the (programming) language I am writing the document in) and I found myself really liking these features.

      • @[email protected]
        link
        fedilink
        32 years ago

        Np++ has tabs, plus it autosaves so it can pull out old unsaved text upon reopening. Plus, it has syntaxes highlighting based on the selected coding language. And all the plug-ins for extra functionality.

        Notepad is simple no frills for basic text, but np++ is great for coding (it can sometimes be even better than IDLE for Python coding).

        • @[email protected]
          link
          fedilink
          12 years ago

          Yeah, I now realise it could be very useful! I think Notepad in Windows 11 has tabs now but it’s still super barebones.

    • Ramin Honary
      link
      fedilink
      22 years ago

      What am I missing out on by not trying out different editors?

      Linux and Unix systems have historically always been designed to be easily configured and controlled with human-readable text files. Most apps you use on Linux can be scripted. So the better you get at using every-day Linux/Unix apps, the more you might want to tweak them to make it easier for you to use. To do this, you need to learn a little bit about how to write configuration files, and how to write simple scripts. This also helps you to automate things on your computer more easily, since all applications can talk to all other applications using a human-readable programming language. For managing all of this, a good editor is extremely helpful.

      When you take things to the extreme, you can start using Emacs, which contains an entire Lisp programming environment for manipulating text. You can replace all of your configuration and scripts with a single programming language (Emacs Lisp). And Emacs can replace almost every single app on your computer where text is involved, from simple scripting and configuration all the way up to web browsing, chat, and email.

  • mFat
    link
    fedilink
    English
    8
    edit-2
    2 years ago

    Kwrite. I write a lot of text at work and I hate using word processors. I use this app for its excellent autocomplete feature. You type a word once and for next instances you can use tab to auto-complete. Very convenient.