this post was submitted on 06 Mar 2024
11 points (100.0% liked)

Emacs

2201 readers
1 users here now

Our infinitely powerful editor.

founded 4 years ago
MODERATORS
 

I'm still torn on nvim vs Emacs. I have my Emacs config readt and I'm working on finishing my nvim config, but I'm still switching back and forth and can't decide. I thought Emacs' other features would be enough to make me stay but frankly I find myself preferring non-emacs alternatives like cmus over emms and I don't use RSS feeds enough to justify elfeed. I also prefer kitty in zsh over term, vterm and eshell. As an editor, however currently Emacs is superior, but we'll see if that changes when my neovim config is complete. Currently, the only advantage of nvim over Emacs when it comes to being my IDE, is faster load times. I think Neovim has faster load time, and Emacs has org-mode as features that stand out, where Emacs startup, even with the daemon/server, is slower, and orgmode support for neovim is inferior. The thing is, I haven't been able to really get into org-mode and I haven't even finished configuring neovim. For the time being, I'll stick to my approach of switching back and forth, but we'll see where things go in the future.

In terms of any other text editing features, I can't say either reigns supreme, as they're both really good. They have the features one would expect and theming is just amazing!

But I think my choice of editor will come down to org-mode or markdown. Markdown is simpler for me, as I'm more familiar with it and I use it all the time for my uni work, as I'm required to. Org-mode is more powerful and featured, but is also more difficult to learn because of how different it is. My other problem is that I just couldn't get into it. So currently, I'm on markdown, because that way, my mind doesn't have to switch back and forth, which is confusing.

If markdown support in Emacs was as good as Orgmode support (meaning things like making titles larger in-document, essentially giving me a live preview in the document itself as I'm writing it, was available in Emacs), the coice would be obvious. Currently, I use Ghostwriter for Markdown and it feels good, but it feels useless, as in, it's another program for just this one thing (markdown), that's a usecase under another usecase umbrella (text editing). Alternatively, if Emacs supported live markdown preview within itself to the level of ghostwriter (and no, the browser preview doesn't count, it's not good enough to have to have a broswer window opened alongside Emacs) so if I can get Ghostwriter-level of polish for Markdown and specifically Markdown live preview in Emacs, or Orgmode-level of support, where the live preview happens in the document itself as I'm writing it, I would likely switch to Emacs. But currently, I'm quite torn.

Is the above possible? And if so, can you point me in the right direction of how to achieve it? Thanks.

Edit: a massive thank you rhabarba for helping me get markdown set up on Emacs! After doing that, and adding a few other quality-of-life features, I'd say my Emacs configuration feels quite complete.

you are viewing a single comment's thread
view the rest of the comments
[–] tux0r@feddit.de 5 points 8 months ago* (last edited 8 months ago) (1 children)

If markdown support in Emacs was as good as Orgmode support (meaning things like making titles larger in-document, essentially giving me a live preview in the document itself as I’m writing it, was available in Emacs), the coice would be obvious.

(custom-set-faces) exists, and you might want to try setting markdown-header-scaling as well.

[–] theshatterstone54@feddit.uk 3 points 8 months ago* (last edited 8 months ago) (1 children)

Wow, I really like this! How did I never find it myself? I'll definitely try this out, thank you!

Update: I just implemented some of this and it works, and it's amazing. At this point I'm almost done with getting everything to do with Emacs sorted out. I have only 2 or 3 minor issues left and my Emacs configuration will be done (the lie we all tell ourselves lol).

[–] tux0r@feddit.de 5 points 8 months ago (1 children)

I admit that I had to search for that myself. (I subsequently enabled the option myself, so thanks to you as well. :-))

my Emacs configuration will be done

We've all been there ... many times. ;-)

[–] theshatterstone54@feddit.uk 1 points 8 months ago* (last edited 8 months ago) (1 children)

Yeah, right now I'm trying to figure out rainbow-mode and how to get it to highlight colours in "" such as "#282c34" in, say, Python, (ultimately, in any language, by setting it as a prog-mode hook).

Then I'll move on to modeline configuration

[–] tux0r@feddit.de 2 points 8 months ago (1 children)

Then you'd better not copy much of my configuration. I prefer my Emacs to be colourless. ;-)

[–] theshatterstone54@feddit.uk 2 points 8 months ago

I didn't plan to, though I might take a look later for functional purposes