intimidating (programming.dev)
submitted 2 months ago by to c/linuxmemes@lemmy.world
 

Which text editor do you use?

top 99 comments

sorted by: hot top controversial new old
[โ€“] 65 points 2 months ago (3 children)

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!

  • source
  • hideshow 3 child comments
  • [โ€“] 5 points 2 months ago* (2 children)

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

  • source
  • parent
  • hideshow 2 child comments
  • [โ€“] 54 points 2 months ago (5 children)

    As a new Linux user who spends as little time editing config files as I can manage, I'm fine with nano.

  • source
  • hideshow 5 child comments
  • [โ€“] 9 points 2 months ago (3 children)

    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.

  • source
  • parent
  • hideshow 3 child comments
  • [โ€“] 103 points 2 months ago (7 children)
  • [โ€“] 4 points 2 months ago (2 children)

    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.

  • source
  • parent
  • hideshow 2 child comments
  • [โ€“] 6 points 2 months ago (1 child)

    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.

  • source
  • parent
  • hideshow 1 child comment
  • [โ€“] 83 points 2 months ago* (last edited 2 months ago) (5 children)

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

    E macs scary. vim no let me leave :(

  • source
  • hideshow 5 child comments
  • [โ€“] 17 points 2 months ago (4 children)

    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 :)

  • source
  • parent
  • hideshow 4 child comments
  • [โ€“] 2 points 2 months ago* (2 children)

    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 :)

  • source
  • parent
  • hideshow 2 child comments
  • [โ€“] 26 points 2 months ago* (5 children)

    Why would you need a text editor when you can just do cat > file ?

    smh

  • source
  • hideshow 5 child comments
  • [โ€“] 8 points 2 months ago (4 children)

    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.

  • source
  • parent
  • hideshow 4 child comments
  • [โ€“] 14 points 2 months ago (3 children)

    Sounds like a skill issue tbh

  • source
  • parent
  • hideshow 3 child comments
  • [โ€“] 25 points 2 months ago (3 children)

    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.

  • source
  • hideshow 3 child comments
  • [โ€“] 1 point 2 months ago (1 child)

    I've only ever seen vim users call for holy wars.. I'm happy with my RSI and carpal tunnel syndrome. Emacs till death do me fart.

  • source
  • parent
  • hideshow 1 child comment
  • [โ€“] 1 point 2 months ago*

    Now that i think about it, vim users seem to be annoyed by emacs more than the other way around.

    I had an instructor once who said that programmers could debate whether to use vim or Emacs, but system administrators should use vim, hands down.

  • source
  • parent
  • [โ€“] 24 points 2 months ago (4 children)
  • [โ€“] 21 points 2 months ago (2 children)

    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.

  • source
  • hideshow 2 child comments
  • load more comments (1 reply)
    [โ€“] 21 points 2 months ago* (2 children)

    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.

  • source
  • hideshow 2 child comments
  • [โ€“] 1 point 2 months 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. (:

  • source
  • parent
  • [โ€“] 19 points 2 months ago (3 children)

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

  • source
  • hideshow 3 child comments
  • [โ€“] 9 points 2 months 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.

  • source
  • parent
  • [โ€“] 19 points 2 months ago (2 children)

    vi because it's everywhere, even on servers where packages can't be downloaded or shouldn't be installed.

  • source
  • hideshow 2 child comments
  • [โ€“] 17 points 2 months ago

    Helix is really rad

  • source
  • [+] 15 points 2 months ago (3 children)
  • [โ€“] 13 points 2 months ago

    Nano because I'm too lazy to learn vim or emacs. I want something that works and not something that operates like cheat codes in old video games.

  • source
  • [โ€“] 24 points 2 months ago* (3 children)

    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.

  • source
  • hideshow 3 child comments
  • [โ€“] 11 points 2 months ago (1 child)

    Nothing wrong with Kate. I know how to use Nano because it's an essential skill for when your machine boots into emergency mode, but aside from that editing text from the terminal is lunacy.

  • source
  • hideshow 1 child comment
  • [โ€“] 11 points 2 months ago (1 child)

    ed is the standard text editor.

  • source
  • hideshow 1 child comment
  • [โ€“] 11 points 2 months ago*

    Even worse: I like GUI editors like Kate/KDevelop/Geany/VSCode. Unless it is on a server obviously.

  • source
  • [โ€“] 10 points 2 months ago

    I don't understand the issue. I've been using Linux less than a year but I started with a KDE desktop so it came with Kate, Kwrite, and Nano. I've literally never needed anything else.

    I've tried out a couple IDEs like Codium and Geany, but I don't see what they offer that Kate doesn't.

    I've also at least opened Emacs but I didn't get much further than that.

    I use Nano in the terminal when I'm editing config files because I read somewhere that it's safer.

    I installed Neovim and Micro but I haven't explored those at all yet. I don't have any problems with Nano.

    I tried Pluma but I really only use it for dumping lists.

    For the most part I use Kate, but for simpler notes I use Kwrite just to keep them in separate spots on my launcher.

    I don't see why this is such an issue though.

  • source
  • [โ€“] 10 points 2 months ago (4 children)

    All I'm gonna say is than nano is installed on almost every Linux os and has the keyboard shortcuts written on the UI.

  • source
  • hideshow 4 child comments
  • [โ€“] 4 points 2 months ago* (3 children)

    Who doesn't have vi/m?

    Fwiw, helix also gives visual feedback on bindings if a key is a table for mutiple bindings.

  • source
  • parent
  • hideshow 3 child comments
  • [โ€“] 4 points 2 months ago* (2 children)

    I'm sorry I don't see how that's relevant to my point.

    I'm saying that of all the text editors, nano is the one that usually takes the least amount of effort to learn and set up. Both of those options require either learning or set up, so why would I choose them if convinience is what I'm after?

  • source
  • parent
  • hideshow 2 child comments
  • [โ€“] 9 points 2 months ago

    Do you have a minute talk about our lord and saviour Vim?

  • source
  • [โ€“] 9 points 2 months ago

    I'm too old to keep lying that I don't like nano..

  • source
  • [โ€“] 9 points 2 months ago (2 children)
  • [โ€“] 9 points 2 months ago*
    [โ€“] 9 points 2 months ago*

    pico!

    But nano will do ;)

  • source
  • [โ€“] 8 points 2 months ago (5 children)

    Wait until you get cornered by elite Helix enjoyers

  • source
  • hideshow 5 child comments
  • [โ€“] 5 points 2 months ago (4 children)

    Helix is very enjoyable to use

  • source
  • parent
  • hideshow 4 child comments
  • [โ€“] 2 points 2 months ago* (3 children)

    For now. Soon it'll be plugin slopped.

  • source
  • parent
  • hideshow 3 child comments
  • [โ€“] 1 point 2 months ago (2 children)

    I already use it without plugins (since it doesn't support them). Why wouldn't I just not install the plugins?

  • source
  • parent
  • hideshow 2 child comments
  • [โ€“] 1 point 2 months ago (1 child)

    That's not the issue so much as it leads to the collapse of serious development. Better put, if these plugins are so important, why not add them to the editor? Instead we get turing complete configuration and all the performance degradation downstream of it.

  • source
  • parent
  • hideshow 1 child comment
  • [โ€“] 8 points 2 months ago

    I see the Helix cucumber got left at the grocery store

  • source
  • Notepad++ in a Windows XP VM

  • source
  • [โ€“] 8 points 2 months ago (1 child)

    I use Vim, which has some really handy tricks that I use somewhat often (eg, type :r! followed by a terminal command and it will add the standard output of said command to the bottom of your file).

    That being said, there's nothing wrong with Nano. Most distros come with it out of the box nowadays, and its learning curve is practically nonexistent compared to the alternatives.

  • source
  • hideshow 1 child comment
  • [โ€“] 7 points 2 months ago (1 child)
  • [โ€“] 7 points 2 months ago
    [โ€“] 7 points 2 months ago

    This is kinda irrelevant for a new user, but vi/vim is available literally everywhere. If you need to shh onto another machine and edit some files, it's the only editor you can reliably expect to exist.

  • source
  • [โ€“] 7 points 2 months ago (3 children)

    Best choice: use whatever comes pre-installed.

  • source
  • hideshow 3 child comments
  • [โ€“] 2 points 2 months ago

    I learned vim (technically vi) because it was the only editor available on these tiny liveusbs I would use for work. It was literally my only option. Once I got used to the motions, using any text editor without vim motions felt unusable to me.

  • source
  • parent
  • load more comments (1 reply)

    Emacs with Vimโ€™s modal editing.

  • source
  • [โ€“] 7 points 2 months ago (1 child)

    Commit heresy with evil-mode Emacs.

  • source
  • hideshow 1 child comment
  • [โ€“] 6 points 2 months ago

    Kate master race of KDE

  • source
  • load more comments
    view more: next โ€บ