- cross-posted to:
- linuxmemes@lemmy.world
- cross-posted to:
- linuxmemes@lemmy.world
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?
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
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…?
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.You can exit vim but you can never quit
Learn emacs
Agreed. Start here.
LOL you made my day :) “emacs is a part time job”
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
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.
This sounds amazing. I’ve been using markdown-mode for ages now though, and I’ve never come across this feature.
How do you enable this?
I have it in my config, will link to a specific commit in case anything changes. Look for the heading called MARKDOWN and I’d recommend grabbing all 3 subsections (MARKDOWN, Markdown Headings, Markdown Concealing). The main part is the last one iirc. Link: https://gitlab.com/theshatterstone/dotfiles/-/blob/6f00007eac475946e11fa3278ffbf526400b7e10/.config/emacs/config.org
Edit: Links from the Table of Contents don’t work in Gitlab, unfortunately, so you’ll have to scroll to it yourself.
Sounds like what Obsidian and Logseq do? Awesome!
Marktext is another. Pretty lightweight and more permissive license than Obsidian.
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.
Why would you wanna quit if vim works for you?
Plus vim can be an amazing markdown editor with a few dedicated plugins.
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.
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.
Also, some tools have plugins to provide vim controls for them.
I know at least and use these:
- SublimeText (https://github.com/NeoVintageous/NeoVintageous)
- Firefox (https://addons.mozilla.org/en-US/firefox/addon/vimium-ff)
There are probably more…
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.
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.
Idk, mister/miss. Your comment was pretty concerning.
I was talking for the op in that part tho, it can be seen from the context
What plugins can you recommend?
I think the only markdown plugin I’ve used was for table alignment.
Mkdnflow is the one that I used to use and it does so many things amazingly for writting markdown easier
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.
Use doom emacs
How about obsidian.md? It’s based on markdown, so edit mode has lots of keybindings, and there are all sorts of javascript plugins to add functionality.
And it also has vim support. You can’t escape.
You save and shut down, silly.
Just run vigor.
:q!
Take vim with you to something with a lot more features!
I use vscode with vim plugin/key bindings lol