First of all. This is not another “how do I exit vim?” shitpost.

I’ve been using (neo)vim for about two years and I started to notice, that I,m basically unable to use non-vim editors. I do not code a lot, but I write a lot of markown. I’d like to use dedicated tools for this, but their vim emulators are so bad. So I’m now stuck with my customized neovim, devoid of any hope of abandoning this strange addiction.

Any help or advice?

28 points

Switch to emacs with evil-mode https://github.com/emacs-evil/evil. You get best of both: nice operating system with build in vim.

permalink
report
reply
23 points

I considered heresy and switching churches, but Lisp and rumours of multiple bugs kept me on the vim side

permalink
report
parent
reply
4 points

The only reasonable choice!

permalink
report
parent
reply
8 points

I always would recommend people to switch to emacs. It is truly a wonderfully transformative experience. But in your case, the question is why do you want to quit using (n)vim?

permalink
report
parent
reply
2 points

I switched to (Doom)-Emacs from a ~7yr old homegrown Vim config last week and honestly the configuration is less bad than it seems. If you’re mainly writing markdown you’ll probably get 99% of the way there by just enabling the dedicated module

permalink
report
parent
reply
20 points

As someone who is currently learning emacs, I gotta say, this comment has the energy of someone offering heroin to someone struggling to moderate their cannabis usage (given OP indicated that custom config if a thing they’re finding burdensome in a way)

permalink
report
parent
reply
12 points

Need more info.

The answer will still and always be, just use nvim.

What features do these dedicated tools have that make you want to use something other than nvim?

permalink
report
reply
7 points

First thing is decent tables editor and the second is katex previewer.

permalink
report
parent
reply
5 points

Something like vim-table-mode work as an improvement? You got me there though, tables can be a real pain in a terminal.

For the second, I setup an on save hook or watch script to build a PDF and open it. Its been a minute, but I think I had to find a PDF viewer that would refresh if already open and keep the current position on subsequent opens.

Best of luck finding something that works for you!

permalink
report
parent
reply
4 points
1 point

I use a different tool, visidata. It’s especially nice when used as a psql pager.

A text editor isn’t the right tool for editing tabular data, imo.

As for KaTeX, what I would do is have a preview process running outside of vim that watches for changes in source files and re-renders. That’s the Unix way of doing things.

permalink
report
parent
reply
-12 points

Didn’t bother reading the whole post

Hit Shift ZZ to save and quit

permalink
report
reply
5 points

Open another terminal. Killall vim.

permalink
report
parent
reply
1 point

Use pkill, not killall.

permalink
report
parent
reply
1 point

Did not bother reading the first sentence is more like it

permalink
report
parent
reply
5 points

Emacs evil mode

permalink
report
reply
6 points
*

Some editors can embed neovim, for example: vscode-neovim. Not sure how well that works though as I never tried it.

permalink
report
reply

linuxmemes

!linuxmemes@lemmy.world

Create post

Hint: :q!


Sister communities:

Community rules (click to expand)

1. Follow the site-wide rules
2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of “peasantry” to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
4. No recent reposts
  • Everybody uses Arch btw, can’t quit Vim, and wants to interject for a moment. You can stop now.

 

Please report posts and comments that break these rules!


Important: never execute code or follow advice that you don’t understand or can’t verify, especially here. The word of the day is credibility. This is a meme community – even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don’t fork-bomb your computer.

Community stats

  • 6.5K

    Monthly active users

  • 1.1K

    Posts

  • 24K

    Comments