Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Think about all the keystrokes you'd save if you just typed "vi" instead.


That's a habit I may never break. There's been enough times that vi was actually vi.


What kind of evil system ships with both vi and vim?


OpenBSD comes standard with vi. Vim is a package.


It ships nvi, as do the other BSDs. I think it's reasonable, BSDs have a stronger divide between the base system and third party packages, I'm not sure it would make a lot of sense to maintain vim as part of the former.

Besides on my FreeBSD system /usr/bin/vi is around 400kB while on my Debian machine /usr/bin/vim.basic is 2.4MB. It's not much these days but on embedded platform it could still make a significant difference.


Yep, and "nex/nvi are intended as bug-for-bug compatible replacements for the original Fourth Berkeley Software Distribution (4BSD) ex and vi programs."


Debian is the same way. But as soon as you open a file with vi on a fresh install, you know it isn't vim, so you close the editor, install vim, and then the vi command opens vim.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: