this post was submitted on 02 Feb 2024
297 points (95.7% liked)

Programmer Humor

32410 readers
164 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] n3cr0 -5 points 9 months ago (2 children)

There is no point in typing the "m" in vim. Just edit your files with the vi shortcut.

[–] Vash63 8 points 9 months ago (1 children)

vim (and especially neovim) have WAY more features than vi and different shortcuts. Running vim with the "vi" symlink emulates vi and disabled a lot.

[–] n3cr0 1 points 9 months ago (2 children)

I can't confirm this. when using vi, I have syntax highlighting, split windows and even search and replace. Even my Termux installation states it's vi improved, when issuing vi -h.

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

More than likely your os is just symlinking vi to vim.

[–] n3cr0 2 points 9 months ago* (last edited 9 months ago) (2 children)

That's what I'm trying to say - in the probably most upsetting way - All of my distros - Ubuntu, Nobara, Debian and so on: all of them have vi as a symlink - only, these days.

[–] [email protected] 2 points 9 months ago* (last edited 9 months ago)

Not all! My arch Linux install definitely has the original vi -- the one where when you cw it doesn't delete the word until you go back to normal mode to save on screen refresh. Plugins? Custom commands? Multiple buffers? Forget it!

[–] SuperIce 4 points 9 months ago (1 children)

"vi" acts a little different than "vim" though

[–] [email protected] 2 points 9 months ago (1 children)
[–] SuperIce 5 points 9 months ago

File splitting is the main one for me, but there's quite a few: https://www.baeldung.com/linux/vi-vim-editors