this post was submitted on 25 Aug 2024
131 points (100.0% liked)

Linux

1257 readers
30 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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?

top 33 comments
sorted by: hot top controversial new old
[–] kittenzrulz123@lemmy.blahaj.zone 22 points 2 months ago

You can exit vim but you can never quit

[–] crony@lemmy.cronyakatsuki.xyz 20 points 2 months ago (2 children)

Why would you wanna quit if vim works for you?

Plus vim can be an amazing markdown editor with a few dedicated plugins.

[–] lemmur@szmer.info 8 points 2 months ago (1 children)

Yes, it is amazing, but some things ( like md tables or writing katex eqations) are handled rough. And I still sometimes need to use something other than vim and then life gets hard.

[–] crony@lemmy.cronyakatsuki.xyz 8 points 2 months ago (2 children)

That's why for tables and katex equations I used plugins to help me with then to not be rough.

As for other stuff than vim, minimize the nees for them if it really gets hard.

[–] tuhriel@discuss.tchncs.de 3 points 2 months ago

Also, some tools have plugins to provide vim controls for them.

I know at least and use these:

There are probably more...

[–] GolfNovemberUniform@lemmy.ml 2 points 2 months ago* (last edited 2 months ago) (1 children)

As for other stuff than vim, minimize the nees for them if it really gets hard.

Your vim obsession is looking kinda unhealthy at this point.

[–] crony@lemmy.cronyakatsuki.xyz 1 points 2 months ago (1 children)

I just prefer the vim bindings and motions, not an obsession. I use diff tools almost daily and can manage in them with no issues, but whenever I can use vim binding I will because they just feel better to me.

[–] GolfNovemberUniform@lemmy.ml 1 points 2 months ago (1 children)

Idk, mister/miss. Your comment was pretty concerning.

[–] crony@lemmy.cronyakatsuki.xyz 1 points 2 months ago (1 children)

I was talking for the op in that part tho, it can be seen from the context

[–] GolfNovemberUniform@lemmy.ml 1 points 2 months ago

Then I don't think it's a good advice. It's literally the opposite of what the OP asked.

[–] brisk@aussie.zone 2 points 2 months ago (1 children)

What plugins can you recommend?

I think the only markdown plugin I've used was for table alignment.

[–] crony@lemmy.cronyakatsuki.xyz 5 points 2 months ago* (last edited 2 months ago) (1 children)

Mkdnflow is the one that I used to use and it does so many things amazingly for writting markdown easier

https://github.com/jakewvincent/mkdnflow.nvim

[–] lemmur@szmer.info 1 points 2 months ago

I'll check it out. Right now my wiki workflow consists of homemade scripts, which have some sharp corners.

[–] thingsiplay 16 points 2 months ago

Why do you want stop using Vim in the first place? That would be a good information to have, to give help. What dedicated tools do you mean? What do they offer that you miss in Vim? If you just hate Vim and want stop using it no matter what, the only solution is to uninstall it, to not fall into those habits of using it everywhere. Over time you should get used to those other editors and tools.

[–] Alsephina@lemmy.ml 12 points 2 months ago

Accept your fate. VIM is love. VIM is life.

[–] TheReturnOfPEB@reddthat.com 9 points 2 months ago* (last edited 2 months ago)

The real question is how to make everything a modal editor.

[–] GolfNovemberUniform@lemmy.ml 8 points 2 months ago* (last edited 2 months ago)

Switch to GUI editors with Word-like navigation. You will struggle but eventually your vim habits will fade away and then you will be able to use any editor with slightly various levels of performance.

[–] Findmysec@infosec.pub 7 points 2 months ago

Use doom emacs

[–] Monument@lemmy.sdf.org 7 points 2 months ago

Build a small EMP device. Figure out how to trigger it from terminal. Delete the key bindings for vim. Map them to the trigger you have for the EMP.

… good luck..?

[–] utopiah@lemmy.ml 7 points 2 months ago (5 children)

The trick is do the opposite, namely bring vim everywhere, e.g using Tridactyl you can bring some behaviors to the browser and, in this very textarea from lemmy, if I press Ctrl+i I get gvim, when I exit it, the content is back in the textarea and I can reply. Vim everywhere.

[–] Celediel@slrpnk.net 2 points 2 months ago

With neovim you can even put vim in the textarea.

load more comments (4 replies)
[–] SuperFola@programming.dev 5 points 2 months ago

You could consider markdown extensions that helps you write and visualize!

Like this one: https://github.com/MeanderingProgrammer/render-markdown.nvim

[–] communism@lemmy.ml 3 points 2 months ago

Do you just need to write markdown? Plenty of text editors have a vim mode. Not sure if there's any lightweight ones that do the markdown preview alongside a vim mode; I know IntelliJ-based IDEs have a vim mode and can preview markdown, but that's not exactly a lightweight solution, and only the community edition is open source.

But also what exactly is it you're looking for that Vim can't do? I use Vim for writing pretty much everything. I use Vim for markdown and it works fine. Markdown is already pretty readable as a text file so I don't feel the need for a previewer or anything like a rich text editor (but also there are plenty of markdown editors out there if you just want to edit markdown in a RTE).

[–] Kerb@discuss.tchncs.de 2 points 2 months ago* (last edited 2 months ago)

i just use vim plugins in the other editors i use.

kate has a vim mode,
vs code has a vim plugin.
intellij has a vim plugin.
obsidian has a vim mode.
a lot of editors have vim modes.

if you have a current non vim markdown editor,
try looking for a vim mode.

if you dont, obsidian is all about markdown,
and vs code has a markdown preview plugin.

[–] geneva_convenience@lemmy.ml 2 points 2 months ago

Some IDE's have a VIM mode.

[–] astro_ray@piefed.social 2 points 2 months ago

I don't know understand why you need markdown, but if you are so used to vim motions why not switch to latex instead. You wouldn't have to worry about katex support as well. This is an advice solely based on your need for katex support without understanding your needs.

[–] ctr1@fl0w.cc 2 points 2 months ago

I alternate between helix and vim depending on the task, and their key bindings are kind of opposite from each other in a lot of ways. I've found that switching back and forth has kept me on my toes a bit and I don't feel as locked in to one editor as I did with vim before trying helix.

So I’m now stuck with my customized neovim, devoid of any hope of abandoning this strange addiction.

I would also try getting used to the defaults or a minimal config, which is also a good way to feel at home in the editor regardless of the system

[–] averyminya 2 points 2 months ago

You save and shut down, silly.

[–] sirico@feddit.uk 2 points 2 months ago

Find breaker box pull down big switch

[–] lemmur@szmer.info 1 points 2 months ago

Well, the point is, that vim is indeed perfect for writing and this is the problem, because I feel like I'm starting to get too much dependent on modal editors.