Which text editor do you use?

    • uniquethrowagay@feddit.org
      link
      fedilink
      arrow-up
      9
      arrow-down
      1
      ·
      9 days ago

      Kate is by far the best GUI text editor I ever used. And unless it’s a short config file and I use nano, I want GUI. It’s not the 80s anymore!

    • yetAnotherUser@discuss.tchncs.de
      link
      fedilink
      arrow-up
      5
      ·
      9 days ago

      It has a few quirks I utterly despise :(

      Like it cannot print invisible characters. Had a script create some broken folders with a BOM character at the beginning. I couldn’t access the files in any way except that they appeared in dolphin and ls. Had to delete them via the fucking inode.

      I was forced to use VSCode (an open source fork at least) to find out what the fuck was wrong with the input file the script used to generate the folder name.

      • EnsignWashout@startrek.website
        link
        fedilink
        arrow-up
        7
        ·
        9 days ago

        Like it cannot print invisible characters.

        I was looking at an option to display invisible characters in Kate like last week. So it got better, I guess.

        • yetAnotherUser@discuss.tchncs.de
          link
          fedilink
          arrow-up
          6
          ·
          9 days ago

          Only non-printable spaces from what I can tell.

          The BOM character does not fall into this category and is still invisible. Try pasting it into Kate. It’s between those arrows:

          ---><---
          
          
  • Skullgrid@lemmy.world
    link
    fedilink
    arrow-up
    93
    arrow-down
    2
    ·
    edit-2
    9 days ago

    Me no love nano, me brain only can use nano.

    E macs scary. vim no let me leave :(

    • Cris_Citrus (he/him <3)@piefed.zip
      link
      fedilink
      English
      arrow-up
      19
      ·
      9 days ago

      You might like micro :) its like nano but with more user friendly features like Ctrl+s for save, and clicking places to change cursor location. I think you have to enable the “cheat sheet” of keyboard commands being visible all the time if you want it to always be showing like I do

      It also supports extensions but I don’t really care about that lol. I just want something simple with nice ux :)

      • Techno-rat@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        2
        ·
        4 days ago

        p sure latest nano can do all that, you can atleast change the default save bindings to ctrl s in the .nanorc file and im p sure most distros include a build of nano that has mouse support. If its supported by the build, its just a settings toggle in the rc file likr the bindings :)

        • lfox02@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          4
          ·
          4 days ago

          Micro also has syntax highlighting, multiple buffers with split editors, and theming, among other things. It’s pretty dang neat

  • plateee@piefed.social
    link
    fedilink
    English
    arrow-up
    71
    ·
    9 days ago

    vim, because that’s how my father taught me, and how his father’s father taught him.

    Choose vim! The generational trauma of file editors!

    • EnsignWashout@startrek.website
      link
      fedilink
      arrow-up
      5
      ·
      9 days ago

      haha!

      Sometimes I feel like my side of the holy war isn’t engaging in completely good faith.

      I might switch sides to emacs if my fingers were long enough to reach the key combinations.

      Maybe I’ll go try it, anyway!

      What was the command to exit vi, again…?

    • illusionist@lemmy.zip
      link
      fedilink
      arrow-up
      9
      ·
      9 days ago

      I was too untilI switched to opensuse aeon and default is vim instead of nano. I just switched. I don’t care. Both are not perfect - i won’ create yet another fork just because i want to do it differently. I don’t get why vim has so few shortcuts.

        • wheezy@lemmy.ml
          link
          fedilink
          English
          arrow-up
          10
          ·
          9 days ago

          Someone’s gotta do it. I’m leaving this comment so it’s not me.

      • daggermoon@piefed.world
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        1
        ·
        9 days ago

        I was playing around with Free BSD I think and the default was Vi. I was just like “yeah, no” and gave up. I didn’t have wi-fi working so I couldn’t install anything else.

  • Digit@lemmy.today
    link
    fedilink
    English
    arrow-up
    31
    ·
    8 days ago

    It’s worse than the picture depicts. It’s not just the lovers, the elitists and the evangelists, it’s the sheer range of choice too, beyond the loudest.

    same cat surrounded by dozens of text editor courgettes that look like snakes

    • barzaria@lemmy.world
      link
      fedilink
      arrow-up
      12
      arrow-down
      2
      ·
      9 days ago

      This command will literally overwrite the file that you do whenever you try to edit it. You need two >> to append at the end of a file, but it’s super-duper hard to put text in the middle of a file from the terminal. That is why people use editors, for sure. Now that I think about it, there probably is some psychopath who uses the actual command line as an editor. They’re probably more elitist than Vim users lol.

  • notabot@piefed.social
    link
    fedilink
    English
    arrow-up
    25
    ·
    9 days ago

    Let the editor holy wars (re)start!

    Vim is the one true editor, and the heretics who claim otherwise shall be driven forth and sent to re-education linux boot camps to learn the true ways.

  • BananaTrifleViolin@piefed.world
    link
    fedilink
    English
    arrow-up
    23
    ·
    9 days ago

    I use Micro in the terminal - it offers good desktop integration with keys similar to DEs like ctrl+v and ctrl+c, rather than being terminal centred (e.g. Ctrl+C is usually the standard interrupt/abort key in the terminal). So it’s nice if you’re mainly in a desktop but pop in to a terminal occasionally and have the DE muscle memory.

    I use Kate outside the terminal.

    But honestly, which text editor you use depends on what you use it for and how often. Vim is very powerful and allows very fast use & productivity if you learn it properly and probably very useful if you spend a lot of time in the terminal or TTY, but Nano is more straight forward and easy for a lot of basic terminal based work.

    • Zikeji@programming.dev
      link
      fedilink
      English
      arrow-up
      6
      ·
      9 days ago

      I’ve been using micro as well recently. But other than that if I’m on a remote server I’ll use whatever it has available, starting with nano then vi/vim.

    • j3tt@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      8 days ago

      The so-called desktop integration is what I disable in vim. I want to have the terminal in control and use select text to copy instead of entering visual mode. When I want visual mode, I use my keyboard. (:

  • Allero@lemmy.today
    link
    fedilink
    arrow-up
    23
    arrow-down
    1
    ·
    9 days ago

    First choice: use a normal damn GUI text editor

    Second choice: Nano. It’s simple and comprehensible, and a best CLI choice for newbies. You can then turn to vim, emacs, or whatever, but don’t make your life harder from the get-go

    People suggesting to start with Vim are probably the same ones pushing for Arch as a first distro. C’mon.

    • zerofk@lemmy.zip
      link
      fedilink
      arrow-up
      15
      arrow-down
      2
      ·
      9 days ago

      That’s how you breed scrubs who can’t M-x-butterfly. I say give them a distro that boots into vi and starts a background process that block internet access around them. If they manage to quit vi and kill the daemon, they’re ready for Linux.

    • da_cow (she/her)@feddit.org
      link
      fedilink
      arrow-up
      8
      ·
      9 days ago

      use a normal damn GUI text editor

      The right choice as long as you don’t want to edit code/config files. Trust me, writing code inside libre office is not fun.

      • cockmushroom@reddthat.com
        link
        fedilink
        arrow-up
        9
        ·
        8 days ago

        Libre office isn’t a text editor it’s a document processor; more like a gui for something like TeX, or realisticially html, than a program for reading/editing plain text.

      • Allero@lemmy.today
        link
        fedilink
        arrow-up
        8
        ·
        8 days ago

        Kate is a basic GUI text editor that can highlight syntax, suggest options and do other things useful for code and configs. Comes with KDE (which is a common newbie recommendation) and is available as Flatpak everywhere else.

        But sure, there are instances where you should use CLI text editors. If you need to edit text files as root, this is generally the best option. Also, it’s the only option for headless setups and SSH. For that, nano will do.

  • PieMePlenty@lemmy.world
    link
    fedilink
    arrow-up
    20
    ·
    9 days ago

    My requirements for a text editor:

    • it displays ‘A’ when I press the ‘A’ key
    • doesn’t require more than 1 minute of learning to use it

    Bonus points if it comes pre installed.

    • smiletolerantly@awful.systems
      link
      fedilink
      arrow-up
      14
      arrow-down
      1
      ·
      9 days ago

      Idk it took me 3 attempts to learn (neo)vim, but now every Linux system I SSH in I just go straight for vi(m), because moving around and editing in Nano is just so slow when you’re used to vim keys.

      I swear I’m not trying to proselytize. People should use whatever they want, and these discussions are pointless. It’s all just tradeoffs and getting used to things.

  • oysvendsen@lemmy.world
    link
    fedilink
    arrow-up
    19
    ·
    9 days ago

    I’m a emacs guy, but nano should be the only one installed by default. The default editor should tell you how to exit!

    • EnsignWashout@startrek.website
      link
      fedilink
      arrow-up
      9
      ·
      9 days ago

      Not our fault everyone blows past the kind offer of : vimtutor on startup! (I kid. The default editor shouldn’t require a class.)

      You’re 100% correct. Nano is a perfectly reasonable default.

      That said, it is 2026. It also wouldn’t kill us to default to an interactive one-time prompt that defaults to nano, but offers one or two others, and removes itself after setting the user’s choice.