The best thing about Vim is that despite having all the features of a modern IDE it starts in 0.1s and you can start editing right away while the code data is loading asynchronously.
The worst thing about Vim is that… just kidding, there’s nothing bad about it.
0.1s is way too long, you need to optimize your startup time. /s
It’s a trade off for sure. I think the area editors like Vim totally win in is when you need to ssh into a server and edit something. I think it will always exist because of this use case
I remapped the power button of my computer to whatever that series of keypresses is that exits vim.
that series of keypresses is that exits vim
One of the great mysteries of the universe. However, I can confirm that my standard power button also exits vim.
That’s really smart. That way if I ever figure out the command to exit Vim, it’ll behave the same as my current method (powering off the PC.)
I used to know a developer who wrote all his code in Notepad. This was around 2005 or 6. We had just starting to replace our legacy ASP code with ASP.Net, which he was determined to do in Notepad. I was gone before I could see how that worked out.
Fly in fly trap:
:q!
I thought flies use
ZZ
for the onomatopoeiaSo
ZQ
comes from the sound of a fly being swatted?
Recording @q
But if you accidentally typed
a
ori
, press ESC first.
Do you mean Neovim?
Surely you aren’t comparing a flat text editor to an IDE that has language server support, debuggers and refactoring tools?
Vim and VS Code are both text editors that can become IDEs with plugins. You can use vim with language servers if you want, as there are plugins for it.
Thanks, I wasn’t aware of that!
Makes sense though. Vim plugins exist so anything is possible. Neovim having native support for LSP and DAP makes it a lot easier though.
I only use butterfly flaps that move magnetic needles next to my HDD.
Like a real programmer would.
I do the same with moths as they are more active at night
You need a bigger lämp brøther!
HAHAHAHA I know the secret passcode to escape!
Incidentally, it’s ctrl+]. But I remap it to ‘kj’, and somehow have never typed ‘blackjack’ in all my years of using Vim!
So… we meet at last, Doctor Evil!
Wouldn’t the one that ops you into telemetry be the trap?
helix btw
Vim and VScode are my favorite code editors but I admit that Vim is better :]
Knowing how to actually navigate vim is worth learning. Especially if you work in embedded systems where a lot of the time you’re on setup that is running barebones and likely just has vi as a text editor.
But I used VSCode for dev work with the VIM plugin.
The trap is that you should use vi. Don’t wuss out.
Yeah. A lot of people who use vim don’t know how to use the full power of vi. They’ll often install plugins to do things they could have easily done with built in features!
The one area where regular vi sucks though is undo. If you want multiple undo then you’ll have to at least go with something like nvi.
imagine thinking a non user will read this and want to use vi/vim
vim users have the same energy as latex users
I don’t really recommend people learn vi/vim even though I’ve been using it for years and love it. It’s a very personal thing and the time you invest into learning it might not be worth it if you don’t use its features enough.
I think it’s dependent on your personality and neurodivergence/neurotypical characteristics (I don’t know a word that encompasses all of this). If you’re the type of person who gets really annoyed/distracted by any sort of “friction” in the editing process then I think you may be a good candidate to learn vi. Otherwise probably not!
Edit: by the way I’m also a LaTeX user!
vim user
LaTeX user
When you go to the wrong side
I prefer to call it the dark side!
Come to the evil side, we have org-mode
I’ve tried. It breaks my brain too much. I’ve even used emacs without evil but the unholy combination just does not work for me.
I have the same problem with all vi/vim emulation modes in other editors. There’s always some incongruity that messes me up.
Good luck exiting that!
ctrl-x. ;)
oh no no no
it’s the x button on the top right of the window
laughs in i3
vscodium slightly better than vscode tho.
honestly all ide’s are rubbish - especially electron ones. for a gui editor, i’ve just gone back to sublime text and have never been happier.
Is there a stable way to use closed extensions (like the MS Python one) with vscodium by now? I’d love to get away from MS’ grasp, but it’s much harder if I’ll be missing out on language integrations.
Is there a stable way to use closed extensions (like the MS Python one) with vscodium by now?
Yes. Use this config edit.. Everything works fine.
Notepad++ is good but a bit bloated. Would not call it rubbish. Node is solid.
What is your opinion on Lapce ?
Zed for lightweight, Kate for regular text and the Jetbrains suite for when I want something that uses all of my RAM, but has a lot of niceties.
The only time I open up vscodium is when I want to conveniently edit files in a docker container that are part of the image rather than mapped from my filesystem
The big one (imo) is extensions. Outside of the vscode/atom/vim/emacs ecosystems sublime has probably the largest library of extensions, and they’re readily installable. So if you want an extensible text editor that’s not based around electron or the terminal it’s the obvious answer.
Atom? People still use atom?
Atom is dead, the successor is called Pulsar
Tbf codium is a very well optimized electron app. Don’t believe me? Try discord
very well optimized electron app
It’s like a very light Elephant
Why not both?
& then there’s emacs
(& this-post (there-is emacs))
After years of using Linux, the last time I used Vim, I remembered for the first time how to go into command mode, exit, and save the file I was editing without looking anything up.
I’m the opposite, I sometimes find :w or :wq written in text files I have edited with non-vi editors.
I made :q alias to exit in my shell