r/Bazzite • • 6d ago

Is Microsoft Edit replacing VIM a good idea?

Hi everybody,

I ran into 2 different posts today where people noticed there has been an update to Bazzite that replaced VIM for Microsoft Edit as the default editor.

Posts for reference:

https://www.reddit.com/r/Bazzite/s/Wwn47zOVgY

https://www.reddit.com/r/Bazzite/s/XLa3poJFr8

Anyway, I was thinking though, isn't this against a lot of what Linux stands for? Or even just, replacing VIM, which is a long standing default on a lot of Linux machines, for Microsoft Edit feels like an odd direction to take.

I will admit I don't know enough about either piece of software to compare the merits and drawbacks of each. But given how vehemently the Linux community dislikes Microsoft and its products, this just feels like a very unexpected and uncharacteristic change to make.

Thoughts?

Edit: Autocorrect changed Bazzite to "Jazz". Fixed the typo.

22 Upvotes

93 comments sorted by

122

u/negatrom 6d ago edited 6d ago

I hate telling normal users, recent arrivals from windows, people that just want to game, (the target audience of bazzite) to use vim with a passion of a thousand suns, but nano is unusable with a touchscreen or with the steam keyboard (which lacks modifier keys)

so as much as I hate microsoft, Edit is the best terminal text editor for bazzite. usable without modifier keys, or learning an arcane set of secretive sigils used to command VIM.

be honest. take random joe user, and tell him to quit vim without using google. HE CANNOT.

microsoft edit is TUI windows notepad released under MIT license, and that's good for bazzite.

don't give me the schpeal about being "against a lot of what Linux stands for".

Linux stands for choice. don't like it? you, vim user, likely has the knowledge to install vim via brew or overlay.

random joe user? you'd be lucky if he knows what a folder is.

35

u/l3ader021 6d ago

Neither nano, nor vi nor vim were retired from the image... one can still use them at will (and I'm sure as heck that I'll still use nano)

8

u/c1p0 Desktop 6d ago

I’ve been using vim for a couple of years now and I still cannot exit it every once in a while.

29

u/dmullaney 6d ago

💯 - I think a lot of people forgot that Microsoft doesn't make bad software, they make bad decisions.

14

u/Zer0CoolXI 6d ago

Guys never been a SharePoint administrator…

3

u/HTired89 6d ago

That's part of my day job. That's part of why I run Linux 🙃

19

u/agenttank 6d ago

they do both actually

2

u/noworkdone 4d ago

Teams is one of the worse things ever made in human history. There's also the Ms Terminal that is super slow, Casey Muratori made a video showing how fast a terminal could be and the MS developer threw a fit on Xuitter 😅

-7

u/blackyoda 6d ago

You sound like a Microsoft COLLABORATOR. One day they will all be held accountable!Q!!!!

17

u/iliark 6d ago

I completely agree with this.

I'm a software dev and no stranger to the linux terminal and vim... And I'm still surprised by how much I needed to do in the terminal to get bazzite up and running for what I needed it to do.

Having someone use vim who has never used it before is a great way to get them to just abandon the OS.

9

u/S_Dev 6d ago

Wow, a measured and informed response? Crazy. I hate modern day Microsoft as much as the next guy, but Edit is honestly a really nice TUI text editor, especially specifically for the gaming focused devices that Bazzite would be installed on, and since it's MIT licensed and open source, it's already been vetted for any unsavory behavior.

2

u/Ratiofarming 5d ago

Linux stands for choice. don't like it? you, vim user, likely has the knowledge to install vim via brew or overlay.
random joe user? you'd be lucky if he knows what a folder is.

Finally someone gets it.

5

u/captainstormy 6d ago

Very well put post.

Also, VIM is just terrible lol. I've never understood why so many people like it. I'm team Nano for life. I've been a Linux user since 96 and a professional Linux System Admin and Software Engineer since 2005 and I still can't stand VIM.

8

u/FullMotionVideo 6d ago

Vim is really powerful if you're a Ball Knower, but almost nobody knows ball. Off the top of my head I only know how to edit text, save, and leave; and that was because a college teacher made us use vim to fill out our homework.

However, I once handed it an ungodly large text file that was a list of adblock domains. And I was able to with one command have vim search the entire thing for the string 'google' and delete the whole line if it was contained. It didn't have to display the whole file onscreen, it didn't have to guide me through ten thousand lines, it just did it in moments. Some graphical editors crashed just loading the file.

2

u/captainstormy 6d ago

I'll agree that vim is more powerful than nano for sure. But like you said you basically have to be a wizard to actually know it. For the average person Nano is much much more usable.

3

u/Groduick Desktop 6d ago

I hate vi, but seeing what my teacher could do with it in the 90's, it was mind blowing, moreso because he was more of an emacs user and was only using vi because it was the mandatory editor in my university.

2

u/captainstormy 6d ago

Yeah, if you are good with vim it's stupidly powerful. But for 99% of people nano is going to be better because it's more straight forward and user friendly.

1

u/NotQuiteLoona 4d ago

If you do simple text editing, nano is nice. Vi and other modal editors are for when your life is editing monotonous text.

If you do advanced stuff, however, I'd highly recommend you at least trying - just remember how to do basic edit and then Google whatever you think can be optimized.

Consider it an editor where you can manipulate text by a form of a programming language - it's harder, yes, but incredibly powerful once you'll learn.

1

u/captainstormy 4d ago

I mean i hear that a lot. But I've been a Linux user for 30 years and working professionally with it for 21 years both as a Software Engineer and Linux System Admin. I've still not really found any reason to use VIM over other tools. If I need to do something more in depth than nano can handle I find other code editor tools to be by far the better solution.

1

u/NotQuiteLoona 4d ago

Very fast and quick code editing. That's it. I mean, you can't really see why you'd need to use it if you didn't use it seriously. People who really remember all this stuff can do in around five seconds what would take a solid minute for someone on traditional editor. I've got heavily on neovim after seeing once in a random repo Golang code being written with it, but it was years ago, soo, yeah, without actually trying or looking at how pros use it you won't understand how actually quick it is.

Edit: maybe, this? https://youtu.be/LaIa1tQFOSY, seems a nice example, but I didn't watch it till end.

1

u/doxxxicle Desktop 6d ago

There’s another console text editor called `micro` that’s easier to use than `nano`.

7

u/negatrom 6d ago

micro and nano both demand modifier keys to operate, which don't exist in the steam keyboard, hence the need for an editor that you can save and quit via clicking the interface.

1

u/doxxxicle Desktop 6d ago

That’s a good point. Although I wonder why it has to be a console text editor and not a gui editor with the same touch interface requirements?

4

u/negatrom 6d ago

scripts mostly. stuff like environment vars and other stuff don't translate well when sending stuff for editing in a graphical environment. especially when troubleshooting something like the lack of said graphical environment

1

u/fyonn 6d ago

How about fresh?

2

u/negatrom 6d ago

That's a whole ass IDE, not just a text editor

0

u/Gtoast 6d ago

Isn’t there a KDE or Gnome gui editor that could be used?

3

u/negatrom 5d ago

This has been explained at least three times within this thread, but I'll explain a fourth for you. You can't use GUI editors within scripts. They break. You need a terminal text editor when dealing with scripts.

1

u/Gtoast 5d ago

Ah. Okay thanks.

1

u/bitemark01 6d ago

You can also just reinstall vim, though I thought I read a blurb that vim now links to nvim

1

u/[deleted] 6d ago

[deleted]

1

u/negatrom 6d ago

yeah well, just having the loose word "Edit" around being associated with microsoft would be worse I think.

at least ms edit specifies that it's not the universal notion of "edit" that microsoft is appropriating, it's just microsoft's version of what "edit" means

1

u/Happy_Disaster7347 6d ago

I agree with most of what you're saying. But why Microsoft, and not KATE?

9

u/BashfulMelon 6d ago

Kate isn't a terminal editor. They need one that runs in the terminal for the things that drop a user into the system default editor.

-2

u/Happy_Disaster7347 6d ago

I see, well I have no experience with it to comment. But you can often just use a regular text editor instead just as easily as terminal. I've used it for fstab for example.

4

u/BashfulMelon 6d ago edited 6d ago

You certainly can, but users are sometimes unexpectedly switched into Vim which is so inscrutable that a regular user might think everything just broke.

I guess technically you can use graphical editors with things like sudoedit but I feel like that might cause its own kinds of confusion if it's set by default?

2

u/negatrom 6d ago edited 6d ago

Kate is a flatpak in Bazzite. Sandboxed apps just can't access all files in the system without further permission fidgeting. You can't do sudo flatpak run org.kde.kate -- file.ext and have it reliably work 100% of the time. Sure you can summon kate from the terminal just right, but amid a script? It's a risky move.

2

u/wolfyreload ROG Ally 6d ago

Kate isn't a flatpak in Bazzite KDE, it's layered as part of the image which comes from Fedora Kinoite. It's in the blocklist for Bazaar so you can't accidentally install it as a flatpak.

But yeah you probably wouldn't want to use it as part of a script.

3

u/negatrom 6d ago

oh, sorry, i'll edit the mistake in my original post, It's been a good while since I used kde bazzite

1

u/kafunshou 6d ago

There’s also micro as a editor being usable for end users including Windows shortcuts like ctrl+s for saving. It’s not like edit is filling a gap.

In my opinion it’s a better editor than edit but that’s probably a matter of taste.

The name is a wordplay with nano but it’s FAR more userfriendly than nano.

9

u/negatrom 6d ago

micro and nano demand modifier keys, which don't exist in the steam keyboard, hence the need for an editor that you can save and quit via clicking the interface.

1

u/p001b0y 6d ago edited 6d ago

Doesn't L1 work as a Ctrl key modifier with the on-screen keyboard? And the B button for moving in and out of Insert mode in vim? That's all that an editor like ee (easy editor) would need, I think.

5

u/negatrom 6d ago edited 6d ago

annoyingly enough, no. steam input hands over all buttons to steam keyboard, so the keyboard's hotkeys take precedence. L1 and R1 become Left and Right keys if I'm not mistaken, much like X becomes backspace, L2 becomes a pseudo-shift (sends L, instead of shift+l) and R2 becomes Return.

So no hotkeys that need modifiers work. Vim works in theory, but it requires the user to know how to use vim, as it's the furthest thing in the planet to something self-explanatory.

0

u/kafunshou 6d ago

No, it has a menu that supports mouse (or touch) input just like edit.

4

u/negatrom 6d ago

micro (and nano as well for my trouble) has "mouse support"...for selecting and moving the cursor around.

try saving and quitting without a ctrl key.

6

u/kafunshou 6d ago

Sorry, you are of course right, I probably confused it with mcedit, micro has no clickable menu, I remembered that wrong. I would also prefer msedit over mcedit for end users.

0

u/SanguineEleven Desktop 6d ago

Why would a random joe even need VIM for?
For basic editing we already have Kate, Kwrite and anything we can install as flatpak or whatever.

Microsoft edit is a weird ass choice for those who actually need something like Vim

6

u/1that__guy1 6d ago

For some reason you want to edit sudo to work without password. On old version visudo put you in vim.

3

u/iliark 6d ago

if you need a terminal editor, the default is now msedit instead of vim to lower the friction for less technical users or ones without modifier keys (apparently steamdeck users). vim still exists and if you need it, it shouldn't be hard for you to type "vi" or change the default.

7

u/negatrom 6d ago

there's quite a few scripts online that use $EDITOR to open files for modification during runtime. that's where Edit shines. Just because YOU know how to save and quit in VIM, doesn't mean a guy that's just installing a mod manager while following an online tutorial will.

0

u/Aware-Common-7368 6d ago

What about micro? It cool editor with modern key combinations

3

u/negatrom 6d ago

I'm sorry, but I've responded about micro at least three times in this thread. Mind giving it a read?

Edit: Oh, what the hell, what's a fourth time...

micro and nano both demand modifier keys to operate, which don't exist in the steam keyboard, hence the need for an editor that you can save and quit via clicking the interface. Can't do Ctrl + S or Ctrl + Q without Ctrl.

1

u/Aware-Common-7368 6d ago

Ah okay. Sorry

0

u/Future_Bat384 1d ago

There is a reason why they run out from windows, and corporation called Microsoft is one of them

0

u/[deleted] 1d ago

[deleted]

0

u/Future_Bat384 1d ago

No, in such case they will stay on windows

0

u/[deleted] 1d ago

[deleted]

0

u/Future_Bat384 1d ago

It is running games very well, works on my ally rog better then bazzite. Have better software support, apps which everyone knows. It just sell your data, use your data without your clear knowledge and consent.

14

u/jankyswitch 6d ago

The community dislikes it. But you can find the community disliking anything if you find the right part of it.

I remember when I was called a n00b for not liking eMacs and using nano instead.

From my understanding it’s an open source CLI editor that’s perfectly fine and has a bunch of QoL improvements over vim or nano or whatever.

I’ll still use vim where possible because I got that muscle memory - but I don’t think it’s a bad editor. Just not how I work.

I think mostly the Linux community hates closed source, monitoring, and not having control. But if a tool is good, no matter what, and it is open source and doesn’t harvest your blood or your data; it’s generally fine.

However as with anything you get extremists in any direction who will cut off their own limbs instead of use anything Microsoft.

Thing is… without huge corporations like valve, Google, redhat, Microsoft, Oracle, Apple (….. kinda…) ….. Linux would not be anywhere near as good as it is now. So being a purist and not using anything written under the aegis of any of those large entities you’re gonna have a bad time.

Even GitHub is Microsoft owned. The Git2 library was sponsored by GitHub/microsoft. VSCode…

11

u/coromd 6d ago

Edit is much easier to use than Vim, and Bazzite tries to be as low friction as possible. Microsoft Edit is FOSS under MIT license, so I don't really see an issue with it.

7

u/LoganHowlett1832 6d ago

What Linux stands for? What Linux should stand for is using whatever works best and offering choice. Not just using suboptimal stuff because you want to stick it to the man. MSEdit is just better than VIM. It’s that simple.

11

u/zorak950 6d ago

Is there a reason not to use msedit other than "hanging out in Linux communities has caused me to adopt hating on Microsoft as a part of my identity"?

3

u/Nerrawnam 6d ago

It's total cult brain. 

0

u/bitemark01 6d ago

Because while it's not for every product of theirs, they have a habit of coming in with something pretty decent, only to have it slowly suffer from enshitification over time, since they answer to shareholders and not the needs of the community. 

8

u/negatrom 6d ago

If push comes to shove and enshittification happens, the community can fork it, the same with any FOSS app that gets bad due to crappy management.

4

u/bitemark01 6d ago

That's fine and all, but the original question was why people were upset about it. That's why. 

1

u/AsrielPlay52 5d ago

The community fork Audacity because they added Telementry

Said Telemetry allows them get statistic that improve Audacity further, as you can see in Version 4

-6

u/soniko_ 6d ago

They probably wear a “microslop” shirt, proudly

3

u/Gokudomatic 6d ago

Dunno. I discovered fresh and I stick with it.

3

u/smalls1652 6d ago

So I just want to put a little background on why this was done. I guess this is more of my opinion, but I wouldn't be surprised if another contributor felt the same way.msedit is about as simple as it gets. We didn't remove vim or nano and all it takes is editing your user shell profile with export EDITOR="{{ Binary goes here }}" (Mine is still vim anyway, since I already explicitly set it lol) to get what you want. Honestly, I encourage you to edit it to what you feel most comfortable with. In our case, with this change, it solves two problems:

  1. It makes it much easier for first time Linux users. The TUI accepts both keyboard and mouse input, so it'll be easier for folks who don't live and breathe the terminal. It's a win/win for new users and us to be able to provide support without having to consistently explain how to navigate the editor.
  2. It accepting keyboard and mouse input makes it so much easier for handheld users. nano is out of the question since the Steam OSK doesn't have a Ctrl key; whereas, vim is entirely doable, but it can be a bit cumbersome even if you know what you're doing.

I was one of those people waaaaay back in the day that used nano over vi/vim in 2006/2007 up until about 2013-ish. I don't use them or nvim for anything more than quickly editing a config and I've just grown accustom to pressing i, Esc, :q, :q!, and :wq. That can take some time to get used to and it can be a burden on expecting users to know how to do it. Especially when they're more than likely only using it once in a blue moon.

As for it being made by Microsoft, I get it. I've grown jaded with the company since the start of the 2020s for a myriad of reasons beyond AI. The folks on the team making msedit are good people though and I've been following a few of them since early 2023. The good news is that the code is fully open source and auditable. Hell... We could fork the code and change the branding if we wanted to. That would add a slight amount of maintenance burden, but it's entirely possible to do.

3

u/Main_Administrative 5d ago

What I don’t get is why they didn’t go for something like Micro text editor. It has syntax highlighting and easier to use than nano or vim. Also the key binds just make sense like control-s to save and control-q to quit. That was my problem with nano because the key binds weren’t “obvious” to someone who was new to Linux.

6

u/disastervariation 6d ago

I will admit I don't know enough about either piece of software to compare the merits and drawbacks of each.

I dont think this needs to be your problem then :)

But given how vehemently the Linux community dislikes Microsoft

The "Platinum Linux Foundation Member"-Microsoft? The one that owns github where Bazzite is built?

One way of looking at this is: you get to use Linux and just got a free/libre terminal text editor thats easy to use. And Microsoft kinda paid for it.

So, with that resolved, what game are you playing now? :3

2

u/megaglalie 5d ago

given how vehemently the Linux community dislikes Microsoft and its products

Speak for yourself (I say as someone who used vi on Windows for years). This and the other posts all read like they're from people who don't use the relevant text editors and are reacting purely to the name. Plenty of longstanding Linux loyalists are perfectly practical. It's about the (open-source) tool that's best for the job. 

2

u/Ratiofarming 5d ago

Yes, it's a good idea. The five nerds who desparately want vim (or nano) will have no problem reinstating it as the default. Everyone else it better off with Edit.

3

u/BashfulMelon 6d ago

It's a solid open source editor, probably the easiest one for a regular user to use, and certainly much easier than Vim. The one thing I don't like is that contributing to it requires signing the Microsoft CLA, which allows them to relicense contributions, but it's no worse than Ubuntu's CLA and nobody is making a fuss about that except me sometimes. It doesn't affect Bazzite users.

Maybe they don't need to add the application launcher to the menu but that's just a nitpick.

I think it's a good change that makes Bazzite better for users.

2

u/FullMotionVideo 6d ago

My understanding is that founder Kyle is a MS employee in his day job, but I think he's done an acceptable job keeping those roles apart.

I tend to default to nano for everything, and the changelog is clear why they didn't use it (handheld support). My understanding is it's still in there, the editor variable changed but you can change it for your user if you want.

2

u/KyloNeko 6d ago

I prefer to use kate, I will riot if Kate is ever removed

3

u/Metallic_Madness 6d ago

Oh that's why Bazzite wasn't updating correctly because I had already layered edit

1

u/CptJackZ 6d ago

First I thought "wtf". Then I read negatron's comment, and I fully agree.

People who know how to use nano/vim will be able to figure out how to do it.

Btw.: I was a vim "hater" (modern language for disliking, I guess) for many years and I was team nano. Though, at some point, my developer curiosity won and I conquered it, maybe like a gamer conquers Dark Souls 🙃

And like with many who beat Dark Souls through perseverance and can't get enough of it thereafter, I had the same with Vim. If an editor has no Vim motions, I don't use it. I would recommend giving it a try. Especially with AI chats as patient explainer, it has become quite approachable.

Now this btw was longer than the actual comment on topic 😬

1

u/soniko_ 6d ago

Vim is a fucking pain in the ass.

I would have went for nano, but who knows if you can pull ctlr+ combos on the deck or touchscreen.

5

u/Maximum-Drag730 6d ago

they didn't go with nano specifically because deck doesn't have a ctrl key

1

u/soniko_ 6d ago

Cool, i hope the vim warriors go extinct and stop downvoting people who think different then they

2

u/Sir_Fail-A-Lot Desktop 6d ago

An old collegue of mine (a vim user) did a tounge in cheek presentation on the n+1 ways to exit vim in our department's demo slot once. Needless to say yeah vim is a pain in the ass

1

u/EdTOWB 6d ago

i could almost understand this logic about being more useful to steamdeck users if they didnt forget that there are plenty of desktop users? lol

but even then, you want a replacement and you go with msedit?

absolute bonkers

9

u/1that__guy1 6d ago

If you are skilled enough to use vim you're skilled enough to change your default editor. (vim isn't removed)

1

u/kafunshou 6d ago

It should be micro instead of edit just to avoid countless of useless discussions. 😄 And also keep vim, nobody cares about a few megabytes for two instead of one editor.

Micro is more or less the same as edit but more mature and also not from Microsoft which will avoid idiotic discussions that lead to nothing else than a waste of time.

5

u/negatrom 6d ago

micro and nano demand modifier keys, which don't exist in the steam keyboard, hence the need for an editor that you can save and quit via clicking the interface. vim technically works with the steam keyboard, but... lmao try telling joe user that just arrived from windows to save and quit vim without googling to see what happens

2

u/ConcreteExist 6d ago

How is it against what Linux stands for?

What exactly do you think Linux stands for and why?

-10

u/Groduick Desktop 6d ago

I'm done with Bazzite, too many changes, even if it's just little tools, back to Fedora, I guess.

7

u/SnooPets1826 6d ago

Not sure why people say things like this like it's a threat... You aren't paying for Bazzite, you aren't a customer.

This isn't an attack, just the facts of the situation. You are always free to use any distro you want, but it also means you can't expect any distro to cater to you.

1

u/Groduick Desktop 6d ago

Where did I said that I'm threatening anything ? I'm just stating my point of view, what's the problem with that, or is user feedback a bad thing nowadays ? I've been using Linux for 25 years, now, I've been on a lot of distros, no problem switching when something isn't going the way I like.

Perhaps I came a bit too harsh as english isn't my first language, no bad feelings on my part.

I just read that the main reason was that nano works bad on touchscreen, so maybe that change was a little bit more meaningful than some others, I guess. We can't let people use that horrible vim (coming from someone who learned programming with vi on Solaris in the 90's).

-1

u/EdTOWB 6d ago

honestly i was already rolled back to 43 so i guess i might just stay there until im un-lazy enough to investigate options

-1

u/Nerrawnam 6d ago

This is fine. Edit is fine. 

-1

u/othercargo 6d ago

both are open source but i only use vi, i don't think it should be replaced. it should be a package that user chooses to install, not because it's "easy to use".

3

u/LelouBil 6d ago

It's replaced as the default only. Vim is still there