That's suppose to be.
Because the default vi (literally) that comes with the default installation is the stripped down version of vim. The usual vim that comes with the more comforting features are still around, just that it needs to be tweak. Or most, install.
Debian or Ubuntu :
apt-get install vim
cp /usr/share/vim/vim71/vimrc_example.vim ~/.vimrc
FreeBSD :
cd /usr/ports/editors/vim; sudo make install clean
cp /usr/local/share/vim/vim72/vimrc_example.vim ~/.vimrc
After the above is down with success, execute the following :
- vi ~/.vimrc <-- as of now, vi still lack of comforting features
- make sure that "syntax on" is NOT commented. Of cause, feel free to browse around for other useful features.
- then,
cat alias vi='vim' >> ~/.bashrc- restart the current terminal session by login out and login back.
Voilla !!!
No comments:
Post a Comment