this post was submitted on 25 Aug 2024
168 points (88.5% liked)

Linux

50337 readers
869 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?

(page 2) 24 comments
sorted by: hot top controversial new old
[–] [email protected] 16 points 6 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.

[–] [email protected] 4 points 6 months ago (3 children)

Trying using Nano for absolutely EVERYTHING for a few weeks. That'll help.

load more comments (3 replies)
[–] [email protected] 11 points 6 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.

load more comments (5 replies)
[–] [email protected] 1 points 6 months ago (2 children)

I don't know if this will work for you, and I'm not sure if you're only looking for TUI editors, but Obsidian has vi key bindings and a lot of plugins.

Disclaimer: I have not tried the vi key bindings in Obsidian.

Another one I use is vscode. It has a ton of markdown plugins and vi key bindings. It also has a nice preview window.

load more comments (2 replies)
[–] [email protected] 2 points 6 months ago

Just run vigor.

[–] [email protected] 3 points 6 months ago* (last edited 6 months ago)

The answer is of course another editor: doomemacs

[–] [email protected] 3 points 6 months ago

Switch to helix

[–] [email protected] 4 points 6 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.

[–] [email protected] 6 points 6 months ago (1 children)

Get a thinkpad or a keyboard with a trackpoint. Your life gets a little bit better.

load more comments (1 replies)
[–] [email protected] 5 points 6 months ago

Make a plugin to a non-vim editor that properly emulates the vim experience, with the non-vim GUI.

Or, if that doesn't work well enough, fork them.

Failing that, you could just accept your fate. I love my neovim install.

[–] [email protected] 25 points 6 months ago (3 children)
[–] [email protected] 15 points 6 months ago* (last edited 6 months ago) (4 children)

No joke, Emacs has the ability to render in line markdown, essentially the current line is just text, while the rest of the doc is rendered as markdown titles, links, lists, etc. It's my favourite way of editing markdown but I've never found another editor that does markdown like that. Everything else has text and rendered markdown side by side as separate panes, which I personally hate.

Edit: I stand corrected. Neovim has it too: https://github.com/MeanderingProgrammer/render-markdown.nvim

[–] [email protected] 3 points 6 months ago (1 children)

Sounds like what Obsidian and Logseq do? Awesome!

load more comments (1 replies)
load more comments (3 replies)
load more comments (2 replies)
[–] [email protected] 7 points 6 months ago

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

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

[–] [email protected] 35 points 6 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.

[–] [email protected] 10 points 6 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.

[–] [email protected] 9 points 6 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.

[–] [email protected] 6 points 6 months ago

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

I know at least and use these:

There are probably more...

[–] [email protected] 0 points 6 months ago* (last edited 6 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.

[–] [email protected] 3 points 6 months ago (3 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.

load more comments (3 replies)
[–] [email protected] 3 points 6 months ago (1 children)

What plugins can you recommend?

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

[–] [email protected] 8 points 6 months ago* (last edited 6 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

[–] [email protected] 1 points 6 months ago

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

[–] [email protected] 13 points 6 months ago* (last edited 6 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.

load more comments
view more: ‹ prev next ›