3 ms·
Why? vi isn't even the default editor on many Linux distributions anymore.
by jrockway 15y ago
Why? vi isn't even the default editor on many Linux distributions anymore.
- pointyhat 15y agoIt is on Debian and CentOS server installs and is available on a Ubuntu default install. It's the common denominator. Why frig around with emacs, pico, nano etc when vi is always there and is the same?
- rat 15y agoI'm pretty sure its vim-tiny
- pointyhat 15y agoPlease substitute "vi" in my comments for "vi or appropriate compatible substitute" such as nvi, vim, elvis etc. They all work the same with the usual subset of commands :)
- jrockway 15y agoThe Debian base system comes with both vim-tiny and nano. Nano is the default; when the installer wants you to edit something, you get nano: $ ls -l ./etc/alternatives/editor lrwxrwxrwx 1 root root 9 Sep 7 06:19 ./etc/alternatives/editor -> /bin/nano If you want to use vim for development, use vim. But "it's the default" is simply an untrue statement. Vim (-full) is no more "the default" than Emacs. Both need to be manually installed on nearly every operating system. (OpenBSD ships with both nvi and mg, FWIW.)
- darklajid 15y agoI'm serious, not trying to be an ass here: Is emacs? It seems to me that both religions are not 'standard' anymore. I tend to see pico, nano, joe etc. - occasionally vi (but not vim).
- officemonkey 15y ago"Ed is the standard text editor."
- lachenmayer 15y agoReal programmers use a magnetized needle and a steady hand.
- ez77 15y agoReference: http://xkcd.com/378/ http://xkcd.com/378/
- rbanffy 15y agoExcuse me, but real programmers use butterflies.
- arethuza 15y agoReal programmers use a hand drill. I knew a guy who actually did this - he worked for a company that maintained process control systems for "serious" customers (steel mills, nuclear power stations). One steel plant had some ancient mainframe controlling things and it originally booted from paper tape that had long since worn out in the eons since it was installed and been replaced with a sturdy leather belt. He had to patch the boot code - so hence had to resort to a handdrill to drill some new holes in the leather belt.
- pnathan 15y agoThat would be an amazingly awesome writeup.
- jff 15y agoEd really is worth learning, if only the basics. No matter where you end up, ed should be around. Even if you find yourself logged on to a Plan 9 box via telnet or something, ed will be there. Plus, the commands transfer to vi, and the ed command language is essentially the same as the sed command language! (and the Sam command language, used in the sam and acme editors, but those aren't as popular :)