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:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
There is no point in typing the "m" in vim. Just edit your files with the vi shortcut.
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.
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
.More than likely your os is just symlinking vi to vim.
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.
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!"vi" acts a little different than "vim" though
How?
File splitting is the main one for me, but there's quite a few: https://www.baeldung.com/linux/vi-vim-editors