- 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?
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
Then I don’t think it’s a good advice. It’s literally the opposite of what the OP asked.
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
I’ll check it out. Right now my wiki workflow consists of homemade scripts, which have some sharp corners.
Learn emacs
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
Sounds like what Obsidian and Logseq do? Awesome!
Marktext is another. Pretty lightweight and more permissive license than Obsidian.
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.
Some people over at reddit seem to suggest that the functionally you speak of doesn’t exist, except in the form of a proof of concept snippet over at SO.
EDIT: Said snippet would probably be sufficient, if it handled codeblocks correctly (stuff in between
```
). At the moment, it handles them miserably (maybe because they are multineline elements?)
Agreed. Start here.
LOL you made my day :) “emacs is a part time job”
You can exit vim but you can never quit
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.
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.
Accept your fate. VIM is love. VIM is life.
Use doom emacs
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.
deleted by creator
Thanks for sharing back such detailed instructions! I hope you will like it and inspire other to try. I’ve been using it for years now https://fabien.benetou.fr/Tools/Tridactyl after Vimperator and really enjoy browsing this way.
I unfortunately deleted this comment, before seeing your reply. I thought it was too complicated for an comment. So I ended up creating a dedicated tutorial post based on that reply in Linux and Firefox communities.
lol, yes I just saw that :D No worries, thanks for sharing it there then!
With neovim you can even put vim in the textarea.
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…?
The real question is how to make everything a modal editor.
You could consider markdown extensions that helps you write and visualize!
Like this one: https://github.com/MeanderingProgrammer/render-markdown.nvim
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.
Trying using Nano for absolutely EVERYTHING for a few weeks. That’ll help.
Personally, the only thing that would help me for is if I wanted to kill myself
Nano works just fine for me
I have no issues with it. It’s Kryptonite to the nonsensical world of VI(m) users though.
Take vim with you to something with a lot more features!
I use vscode with vim plugin/key bindings lol
I’ve been trying with helix bindings for code recently, used to use the neovim plugin
I find both too laggy/slow to start up/buggy personally, feels like I’m fighting with the editor sometimes
The helix plugin is pretty good but not customisable and I’m not using the default scheme