There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

How to quit VIM?

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?

just_another_person ,

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

ReveredOxygen ,
@ReveredOxygen@sh.itjust.works avatar

Personally, the only thing that would help me for is if I wanted to kill myself

geneva_convenience ,

Some IDE’s have a VIM mode.

propter_hog ,
@propter_hog@hexbear.net avatar

Learn emacs

theshatterstone54 ,

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: github.com/…/render-markdown.nvim

lord_ryvan ,

Sounds like what Obsidian and Logseq do? Awesome!

Bitrot ,
@Bitrot@lemmy.sdf.org avatar

Marktext is another. Pretty lightweight and more permissive license than Obsidian.

Telorand ,

Agreed. Start here.

Palacegalleryratio ,
@Palacegalleryratio@hexbear.net avatar

Right, so you want eMacs evil mode with some choice vim plugins. Excellent vim emulation. The terminal interface is pretty good, and the GUI version has some excellent markdown plugins that give you a live preview. Get started with doom-emacs as it’s very pro vim and modernised out of the box. Then once you’ve got into eMacs you’ll not have any issues with free time ever again, as everything you could possibly want to do you’ll be doomed to finding out how to do in eMacs.

crony ,
@crony@lemmy.cronyakatsuki.xyz avatar

Why would you wanna quit if vim works for you?

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

brisk ,

What plugins can you recommend?

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

crony ,
@crony@lemmy.cronyakatsuki.xyz avatar

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

github.com/jakewvincent/mkdnflow.nvim

lemmur OP ,

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

lemmur OP ,

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 ,
@crony@lemmy.cronyakatsuki.xyz avatar

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.

GolfNovemberUniform ,
@GolfNovemberUniform@lemmy.ml avatar

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 ,
@crony@lemmy.cronyakatsuki.xyz avatar

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 ,
@GolfNovemberUniform@lemmy.ml avatar

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

tuhriel ,

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

I know at least and use these:

There are probably more…

space_comrade , (edited )

Just switch to VSCode or something similar, it has enough features and shortcuts that will quickly make you like at least 80% as productive as you were in Vim. It even has a Vim mode so you can wean yourself off of it more easily.

Honestly never got the appeal of Vim, you need to spend so much time learning and configuring it only to squeeze out a little bit of extra productivity out of it when compared to a “normal” editor/IDE. I don’t see why it’s so important to be able to edit and write code as quickly as possible since most of the time you’re going to be debugging or looking at the code or reading docs.

EDIT: Just noticed you said you don’t code a lot. I think most of what I said still applies, I imagine you don’t spend 99% of the time in the editor typing away.

utopiah ,

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.

thingsiplay , (edited )

Surfingkeys browser extension has a similar functionality to edit text area. Ctrl+i will open a in browser popup with an emulated vim editor and on saving and closing it with :wq the text area is updated with the new content.

Edit: So I tried it myself, disabled Surfingkeys and installed Tridactyl. To use the editor functionality, something else called nativeinstall needs to be installed. Instead following the instructions by executing the command that downloads from git, I installed the Tridactyl and the nativeinstall from the AUR: yay firefox-tridactyl firefox-tridactyl-native . And it truly opens a new window outside of Firefox, managed by my operating. But its the stock settings for Gvim and does not pick up my Neovim setting. I wish there was a way to tell it to use my terminal window with Neovim instead.

folekaule ,

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.

Bitrot ,
@Bitrot@lemmy.sdf.org avatar

Obsidian should not be suggested for general use without the disclaimer that you have to pay if you use it for any work in most cases (unless you work for a very small place or a non-profit). I think their license is probably one of the most unintentionally violated around, kind of can’t believe they’re on flathub.

Commercial use means using Obsidian for revenue-generating or work-related activities within a for‑profit organization that has two or more employees. Government departments and agencies are considered commercial use, unless registered as a non-profit organization.

thingsiplay ,

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.

AnUnusualRelic ,
@AnUnusualRelic@lemmy.world avatar

Just run vigor.

mathemachristian ,

The answer is of course another editor: doomemacs

sovietknuckles ,
@sovietknuckles@hexbear.net avatar

Switch to helix

astro_ray ,

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.

fin ,

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

oscardejarjayes ,
@oscardejarjayes@hexbear.net avatar

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.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines