throwawayish

@throwawayish@lemmy.ml

This profile is from a federated server and may be incomplete. Browse more on the original instance.

throwawayish,

I’m not using lsp in Neovim so if I need lsp I’ll just pull out emacs. If I’m already in the terminal I’ll usually pull out Neovim to edit a file, but if I’m writing like markdown or something that uses images I like the ability to display images inline in emacs. LaTeX is always something I do in emacs because there’s a built in pdf viewer in emacs and there’s built in spell check also. In the terminal in emacs, sometimes I open up Neovim to do a quick edit because of muscle memory from the terminal. One thing that’s really cool about Neovim is that you can embed it in other applications, so if I really have to use an ide that’s not emacs, I’ll just do that.

Wow, the insights! Vehemently noting these down somewhereHeck, I think you’ve cracked the code. Since I’ve created these posts, I became more and more aware of how great both Emacs and (Neo)Vim are. And while I was already flirting with the idea to perhaps use both, I think you’ve just completely obliterated any other option; which is a good thing. As such, I’m actually grasping for words that would somehow be able to properly convey the feelings of gratitude I currently experience. For whatever it’s worth; thank you from the bottom of my heart!

Yeah there’s a thing called EAF, which allows python and javascript to be embedded in emacs. It allows for more complex applications to be built in emacs, similar to VSCode. I’m not sure how difficult it is to make something with EAF, but I haven’t really seen any things written in it that aren’t in the EAF organization. I think the future could be EAF or maybe something like EAF to be able to leverage the power of the javascript ecosystem like how VSCode does for a lot of plugins. There have been some attempts to rewrite emacs in different languages, but emacs is too large, and you would lose the old ecosystem by doing that.

Once more; much appreciated!

There’s a larger community around Doom Emacs, and Doom Emacs looks nicer. Honestly though it doesn’t matter that much which one you use since they are both pretty good.

Yet again; I’m grateful! Have a good one! I wish you and your loved ones the best!

throwawayish,

It’s unfortunate that nothing really has Kakoune bindings other than Kakoune.

That’s indeed very unfortunate…

And after you type the ‘2w’, the selection shows what you’re about to delete, because it’s a separate command.

That genuinely seems like very useful functionality. Thanks for pointing that out!

Sure, you can use visual mode in vim but it feels like an afterthought in a lot of ways.

Could you perhaps give some examples so that I can better understand/grasp why you feel that’s the case?

Those two are I think the main reasons I like Kakoune.

I haven’t really had problems with it, at least. Maybe because I’ve used vim for a long time before Kakoune. TBH I also don’t really use vim a lot anymore except on one remote machine that isn’t mine.

I am very grateful to you for sharing your experiences as a long time Vim user that currently prefers Kakoune over it. It has definitely impressed me and made me a lot more curious towards it. And I genuinely feel like I should think this over properly before I rashly commit to Vi(m). Thank you for raising such awareness!

throwawayish,

I tend to use both, depending on the situation, with a lighter nvim config. Sometimes the 3 second emacs startup time is annoying so I use vim then. I think its fine to try both.

Could you elaborate more upon your workflow? Like, in which situation do you prefer Emacs and when do you prefer Neovim? I get that the lighter option is preferred when you want to perform a quick edit or can’t be bothered with startup time. But I want to know it beyond that and -if possible- what led you to favor one over the other in each situation.

Regarding emacs declining popularity, I think that in the long term it could be a problem, since most people don’t want to learn elisp just to configure their editor. Elisp is very powerful in emacs, but its design is very different to other languages, so as emacs contributors get older, it could possibly lead to less and less new contributors.

How do you envision Emacs’ future? Would, at some moment in the future, some kind of compatibility layer of sorts be developed that lower the entrance barrier? To my knowledge, Emacs has -contrary to Vim- been more open to community development. So I don’t expect something like NeoVim to be developed for Emacs as there’s less need for it. But I don’t know how much they’d be willing to change Emacs for the sake of making it more attractive for new users.

Idk about the vim distros, but I think Doom Emacs is easier for beginners to get into.

Compared to Spacemacs I assume*. If so, would you mind elaborating?

throwawayish,

I’m a bit surprised that no-one mentioned ALE. If you want to turn vim into an IDE it goes a long way.

That’s very useful! Thank you for mentioning that!

I’ve recently developed a Java program entirely in vim using Eclipse’s LSP.

Very interesting! I’d assume one would have to be relatively fluent in Vimscript to pull that off. Would you mind sharing your thoughts regarding Vimscript? I especially feel the need to ask as a lot of other users so far have been championing Neovim with some of them being particularly vocal regarding their dislike towards Vimscript. And would you also be so kind to share your thoughts regarding Neovim?

throwawayish,

I know almost nothing about Vimscript.

This is actually good news as it means I shouldn’t have to learn a new language to engage with it.

However, during these years every time I tried it it had some slight differences from vim that made using it somewhat annoying.

Interesting. Would you mind elaborating upon those differences?

throwawayish,

As for configuring it for development I started with spacevim and managed with half the functionality normal IDE provides for quite some time. The experience was still good. About 6 months ago I set up nvim and now I have everything I need. I think setting up nvim for rust was as complicated as setting up spacevim. Spacevim provides way more out of the box but changing configuration is not easy at all.

Would it be fair to assume that the switch from SpaceVim to Neovim was due to how difficult changing its configuration was to better suit your needs? Would you say this is SpaceVim’s fault? Or rather Vimscript is to be blamed?

I don’t worry about vim/nvim “schism”. The support is still great.

I also meant it in the sense that perhaps later down the line something else will come out to ‘replace’/‘improve’ upon Neovim. Until -in turn- that one is one day replaced as well and so on and so forth… Like, we’ve already gone from Vi -> Vim -> Neovim. While, on the other hand, Emacs still is Emacs. Thankfully, the modal editing part of Vim should persevere regardless; even if the name of the editor changes every so often.

I would say just go with nvim, spend a week to set it up and don’t get too obsessive if small things don’t work. Enjoy the amazing responsiveness and great editor and you will figure out everything eventually. And if you have any questions just ask. I can share my config.

Thank you for the encouragement! At this point, I intend to start with Vi(m) to get used to the core experience.

throwawayish,

I was shocked when I went from “I’ve never used spacemacs before” to “I’m comfortably writing LaTeX here” in about half an hour.

This line really piqued my interest, especially considering that I’ve had another conversation with someone else in which the general sentiment seemed to be that “Spacemacs expects you to know Emacs, while being a completely different beast of itself.”. May I ask how your Spacemacs is configured? Would you say it’s close to the default config? Or rather a significant departure? Furthermore, I believe I’ve read the existence of some kind of version control. Which, at least by the name of it, should somehow contribute to a more stable experience. Or am I perhaps confusing things?

My setup still breaks occasionally and sometimes it’s a bit difficult to figure out why and how to fix it

Does this happen randomly? Or rather as a ‘response’?

I like being able to change how the editor works on the fly just by writing some elisp anywhere

This sounds very interesting and promising. Would you mind providing an example of sorts such that I can perhaps better grasp both the sheer amount of new possibilities it provides as well as its (possible) limitations (if at all)?

I like that emacs has been around for decades and will be around for decades more.

I wholeheartedly agree! But, I am at least somewhat concerned when it comes to its ‘gravitational pull from afar’. To me at least, it seems as if, currently, Neovim does a better job at attracting new people. Perhaps these are just mostly refugees from Vim. Nonetheless, it can’t be ignored (I think). Would you mind sharing your thoughts on this?

throwawayish, (edited )

Seriously, if you want an IDE for Python and C#, VS Code with the Microsoft plugins is and will be miles ahead of the VIM experience.

Someone else already pointed how VS Code has become the most popular IDE (at least according to statistics found on stackoverflow). While categorically I’d like to dismiss VS Code for not adhering to F(L)OSS, VSCodium -however- actually does fit the bill. And while formerly I’ve had bad experiences on it related to how the plugin ecosystem is configured by default compared to VS Code, I’ve since learned how it works on VSCodium. So I shall set it up in case Emacs and/or (Neo)Vim somehow seem to be less fit for the job and/or I can’t be bothered at that moment to configure Emacs/(Neo)Vim to do my bidding.

Learn vi

Will do.

The time trying to force VIM/EMACS into a descent IDE will never come back and the theory sounds better than it will be in reality.

I understand the concerns. And I agree that I should be realistic in how I approach this. Nonetheless, I’m faithful for it to be a very productive endeavor. Thank you for chiming in!

throwawayish,

Unless you really want vim bindings

I kinda do for how ubiquitous Vim keybindings are.

try them out.

Regardless, I think I will try it out after I’m at least somewhat productive with Vim.

I much prefer the way Kakoune works over vim

I think preference is generally subjective. So you’re completely in your right to prefer Kakoune over Vim (and vice versa). Though, if possible, would you mind elaborating what you prefer exactly and why?

while still being close enough so that you can pick it up quickly if you already know vim and the other way around.

Doesn’t that disrupt muscle memory?

throwawayish,

My impression about VS Code being popular is also from workplaces at several companies, VS Code was literally on every machine and VS Code project config files are nowadays checked in with project into version control. (In the past I would not have been happy about config files in version control, but I just accepted it by now.)

That’s actually kinda concerning 😅. I hope I can remain free to use whichever IDE suits me best. But thanks for pointing that out as it’s a very realistic scenario.

How to setup VIM/NEOVIM or EMACS as a descent C# IDE?

Hehe, the crux. Honestly, I’m not very optimistic that it can do everything one might be used to do on something like Jetbrains’ Rider. Nonetheless, I’ll try to get it as close as I can and see from there if I’m willing to deal with it. I’m not entirely opposed to rely on other IDEs from time to time for specific functionality I’d be missing otherwise.

throwawayish,

The problem with SpaceVim is that it offers a lot of toggles that are easy to switch but there are no examples for more ‘custom’ config and I struggled to figure it out. There’s a lot of examples and guides for nvim so it was easier. I don’t know, maybe it was just me but with SpaceVim I also didn’t really see what’s possible. With nvim I just found long lists of useful plugins that you can add one by one.

Makes a lot of sense. Documentation is indeed very important. Thank you so much for sharing your insights and experiences!

throwawayish,

I appreciate your input. Thank you!

Also, there are too many plugins to serve the same purpose and I found it difficult (compared to neovim) to figure out the difference between them.

Interesting.

Finally, the level of customization was also less granular than what offers neovim.

Very interesting. I’d love to hear more about this. Could you elaborate?

I would add that neovim and emacs both have a steep learning curve but I personaly found the level of support and core and plugins documentation for neovim more accessible, readable, and better organized.

I wouldn’t be surprised if this is in part attributable to the fact that Emacs is both an older project and is generally-speaking a bigger and/or more capable piece of software.

I completely share your vision about what an IDE should be doing. I’m old school and adhere to the “do one thing but do it right” philosophy. Also, I hate relying on one tool for several needs because if anything goes wrong it has multiple impacts.

I’ve often heard Emacs users pose the argument that Emacs as an Elisp interpreter does just one thing. It’s just that this single thing allows the myriad of functionality it offers. So in that sense comparing it to a terminal/console seems more apt than comparing it to a text editor. I wonder what you think of that argument.

As a side note, I use neomutt as my email client and you can nicely couple neovim to it to write your emails ;)

Hehe, that’s cool! Currently I’m really happy with Thunderbird so I don’t expect to move away anytime soon, but I’ll keep it in mind.

throwawayish,

I probably started with Vim

Hehe, I assume it has been some time since you started this journey.

Thank you for your contributions to the conversation 😊!

throwawayish,

Yup, I think you’ve hit the nail on its head. I’ve decided on using both and explore their possibilities and find how they can be best utilized for my workflow. Thank you for the excellent engagement!

throwawayish,

I probably would have never got into Emacs at all if I had to start with vanilla.

Very interesting. I assume this is due to the amount of effort that would have been required for it to acquire some of the functionality you were expecting out of it. Am I right?

IMO Lisp is what makes Emacs great, and vimscript is (was?) an absolute nightmare for anything complex. I don’t think lua is a bad language, but I’ll still take Lisp any day for this purpose.

This is actually a great point that I somehow completely ignored so far. I intend to put my teeth in GNU Guix at some point in the future. As Guile Scheme and Lisp are -to my knowledge- at least in some way related, using Emacs should at least provide an excellent platform for me to get accustomed to what it is yet to come. Thanks for mentioning that!

What I described isn’t using containers. Nix just provides an environment for processes to run in, and direnv-mode ensures it’s using the right environment for a given buffer in Emacs. So for example I don’t have OmniSharp or dotnet in my user $PATH, but they are provided by the nix expression in a particular project directory. That allows lsp-mode to start OmniSharp as a language server, or I can run dotnet build using the Emacs compile command.

That sounds very compelling! Thanks for that insight! Perhaps I should stop procrastinating and get on with learning Nix 😅.

You can define containers with nix and manage them with nixos-container. I do that for testing server deployments, or running sandboxed services, but I’ve never needed something that complex for a dev shell.

Yet another reason in support of learning Nix.

throwawayish,

I tried several editors but always come back to emacs.

Have you used Helix and/or (Neo)Vim? If so, would you be so kind to share your experiences?

throwawayish,

I’m so grateful for the time it took you to write this down. Thank you so much for your contributions in this conversation! I’ve greatly enjoyed reading every one of your replies. While I am currently not in the state to make any promises related to sticking to Neovim in the long run. I do think that I’m at least very interested to explore its possibilities. Have a good one! Cheers!

throwawayish,

and without all your configs it is a very different beast of an editor anyway and something you will need to get used to everytime you jump on the server.

Good point.

If you can install stuff to your home drive then it is quite easy to get helix running - it is a single binary with some language assets (requires one env var to point to them). So is trivial to get working from your home dir without a package manager.

I’m impressed. Thank you for pointing this out.

Ideally with things like ansible you should not need an editor on it at all.

Hmm…, honestly, I haven’t yet done a lot of things with Ansible yet. Perhaps it’s time to go explore that rabbit hole as well 🤣. Thank you (once more) for pointing this out!

Do you mean vi input mode in other editors?

Yes.

Your input has been much appreciated! Thank you!

throwawayish,

Wow! Excellent and thorough response. Thank you so much for taking your time 😊!

It is very nice being able to see what your action is going to effect before you do it - unlike in vim when you just hope you have hit the right movement keys.

That’s awesome! Which does beg the question why the others haven’t implemented such functionality (yet)?

And it also pops up a small window for leader keys (like space) which show you what you can do with it making it far more discoverable then vim/neovim without needing to pour though hundreds of pages of manuals to even get a glimpse of what it can do or needing to go back to them to remember something that you dont use very often.

Interesting. If I’m not mistaken, both Spacemacs and Doom Emacs offer similar functionality through the emacs-which-key package. I would think that Neovim should have some plugin that does something similar, but perhaps not.

Just about everyone that I have seen use it over vim have highly praised it and it has quite a few contributors already (700+ on github), which is very impressive compared to vim (about 300), and neovim (more then 1100).

I didn’t expect for them to be so many 😜. Hmm…, food for thought; thanks for pointing that out!

And keep in mind that vim has been around so long thanks to a single maintainer, Bram Moolenaar, who passed away this year. Which is not a great sign for vims future for the next 20 years.

I definitely understand that Vim’s future is lot less certain compared to two years ago due to the passing of Bram Moolenaar. However, and I might be wrong on this, but I feel as if Vim has reached a critical mass of following such that it’ll probably continue to exist in some healthy form regardless.

In general I think you make a excellent case for Helix. I’m actually considering if I should reconsider it (if that makes sense). Uhmm…, but two questions remain:

  • I shouldn’t expect remote accessing some random server will allow me to use Helix, right? Is there any other way to make this work? Or…, should I just learn both Vim and Helix’ Vim + Kakoune amalgamation?
  • Vim is literally ubiquitous and plugins that enable its features can be found on almost any ‘platform’. It’s unrealistic to expect Helix’ adoption to be at that rate (yet). However, would you happen to know if at least the likes of VS Code and/or Jetbrains’ IDEs support it? And if so, how good their support/implementation is?
throwawayish,

I use Emacs + spacemacs in VI mode as a base for all my text editing

Do you specifically prefer using Spacemacs as a base over Doom Emacs? Or is the usage of Spacemacs primarily attributable to it coming earlier to the scene?

Furthermore, as you’re using it in “VI mode”, would it be fair to assume that you’ve got some experience/history with Neo(Vim) as well? If so, what led you to making the switch from (Neo)Vim to Emacs?

For dev environments I mostly use nix + direnv + direnv-mode.

Very interesting! Relying on Nix rather than Distrobox has been something I’ve been pondering upon. But besides the fact that I’m still very new to Nix as an ecosystem, I’ve also got my concerns related to what degree the containers can be sandboxed. Do you happen to have some insights on this?

throwawayish,

As to why - because it, like any other computer science topic, is a topic of active research, and Kakoune is the next generation of research into modal editing.

Interesting. First time I’m hearing this, but I’m very interested to learn about it. Thank you for mentioning this!

That’s right, but as a Neovim user, it’s hard for me to use Vi, because it lacks many features, and I don’t know which ones.

Very interesting. Did you first start with Vim or Neovim?

throwawayish,

I’m not surprised to hear that you preferred Fedora Silverblue over openSUSE MicroOS. Don’t get me wrong, I think that openSUSE Aeon/Kalpa (current names for openSUSE MicroOS Desktop) have a lot of potential. However, as it stands, Fedora’s Atomic Desktops are just more mature.

throwawayish, (edited )

With the amount of different distros you’ve tried (though mostly derivatives of Arch/Debian), I’m actually surprised to see that you haven’t used any derivative of Fedora. Is there any reason in particular?

Need Some Total Noob Advice for Installing and Running Linux

Alright, peeps, I want to build Linux on my new PC and need some help with that. On my old PC, I had kubuntu installed, which I liked (at least until downloading Skype fried most of my installers and rebuffed all attempts at deinstallation). When installing kubuntu, I had a lot of help (and by a lot, I mean my friend did like...

throwawayish,

Which distribution is right for me?

Step 1: Take a look at the most popular desktop environments: Cinnamon, GNOME, KDE Plasma and Xfce. If possible, consider even booting up a so-called live-usb and/or VM for some proper testing.

Step 2: Pick either one out of Fedora, Linux Mint, openSUSE and Pop!_OS as long as they provide a Flavor/Spin of your favorite desktop environment (which you should have found out by now (See Step 1)). While not exhaustive, the following might help you out:

  • If you have an Nvidia GPU, then just use Pop!_OS. Unless you really, but like really hate its GNOME implementation.
  • Linux Mint and Pop!_OS are arguably the most newbie-friendly out of these. This doesn’t mean that Fedora or openSUSE are hard by any means. (Heck, I started my Linux journey with Fedora.) However, both Fedora and openSUSE are known for their great adherence to FOSS. Therefore, some decisions related to initial setup might not have been taken with a focus on making it as user friendly as possible.
  • If security is your highest priority, then consider either one of Fedora or openSUSE with GNOME/KDE Plasma. It’s not like the others are security nightmares, however Fedora and openSUSE are known to take security more seriously than the others do.
  • Both Linux Mint and Pop!_OS are distros that are based on LTS distros. As such, the base system will not change a lot until you upgrade to the next big release; which happens once every two years. Fedora, is able to change more considerably between its major releases; which happen once every half year. On the other hand, openSUSE Tumbleweed doesn’t really hold back updates at all; there’s an (almost) constant stream of updates. Though openSUSE also offers distros with a ‘more stable^[1]^’ release cycle; the likes of Slowroll and Leap come to mind.

Where can I find useful resources for learning about a given distribution?

Consider asking it here. We’ll do our best to answer. Furthermore, DistroWatch.com is a great resource.


  1. Stable, in this context, refers to slow to no rate of change while running software. So, in this context it isn’t used to convey breakage etc.

How do I change desktop environments on linux mint?

I am not a fan of cinnamon and i’d like to try gnome or kde plasma. i have heard great things about both and i tried gnome before, but i really hated how it worked with linux mint (particularly that it replaced the login screen with that of the ubuntu login). is there a way to avoid that? any other general tips? thank you...

throwawayish,

i’d like to try gnome or kde plasma

I’m surprised to see that no one has mentioned the following yet:

KDE Edition

In continuation with what’s been done in the past, Linux Mint 18.3 will feature a KDE edition, but it will be the last release to do so.

I would like to thank Kubuntu for the amazing work they have done. The quality of Plasma 5 in Xenial made backports a necessity. The rapid pace of development upstream from the KDE project made this very challenging, yet they managed to provide a stable flow of updates for us and we were able to ship good KDE editions thanks to that. I don’t think this would have been possible without them.

KDE is a fantastic environment but it’s also a different world, one which evolves away from us and away from everything we focus on. Their apps, their ecosystem and the QT toolkit which is central there have very little in common with what we’re working on.

We’re not just shipping releases and distributing upstream software. We’re a product distribution and we see ourselves as a complete desktop operating system. We like to integrate solutions, develop what’s missing, adapt what’s not fitting perfectly, and we do a great deal of that not only around our own Cinnamon desktop environment but also thanks to cross-DE frameworks we put in place to support similar environments, such as MATE and Xfce.

When we work on tools like Xed, Blueberry, Mintlocale, the Slick Greeter, we’re developing features which benefit these 3 desktops, but unfortunately not KDE.

Users of the KDE edition represent a portion of our user base. I know from their feedback that they really enjoy it. They will be able to install KDE on top of Linux Mint 19 of course and I’m sure the Kubuntu PPA will continue to be available. They will be able to port Mint software to Kubuntu itself also, or they might want to trade a bit of stability away and move to to a bleeding edge distribution such as Arch to follow upstream KDE more closely.

Our own mission isn’t to diversify as much as possible in an effort to attract a bigger chunk of the Linux market, and it’s with a bit of sadness that we’re letting this edition go. We focus on things we do well and we love doing to get better and better at doing them. KDE is amazing but it’s not what we want to focus on.

With Linux Mint 18.3, we’ll release one more KDE edition. I wanted this announcement to come before the release. It will hurt its popularity of course, but I wanted to give users time, either to react right now or to take their time, upgrade and adapt to this later on. I’m sure this edition will be missed and I hope its users understand our decision.”

From this Linux Mint blog post*.

Note that this doesn’t mean that you can’t use KDE Plasma (or GNOME for that matter). Though you have to be aware that you’ll be on your own whenever something breaks. And if you have to ask how to change Desktop Environment in the first place, then I think that you might not be ready yet for such a ride. Instead, consider using a distro that actually does offer GNOME and/or KDE Plasma editions of its distro; the likes of Fedora, openSUSE and Pop!_OS come to mind.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #