Với distro Debian và phổ biến nhất là Ubuntu thì mở Terminal lên và chạy lệnh này dưới quyền sudo:
sudo apt-get install vim-full

Với các distro Redhat thì chưa có dịp thử, nhưng với con VPS chạy CentOS thì chạy lệnh này đem lại kết quả: (Chạy dưới quyền root)
yum install vim-enhanced

Kết quả là ta đã có editor vim với đầy đủ các chức năng chứ không phải là một bản vi mặc định đi kèm. Khoái nhất là các chức năng syntax highlight và tìm kiếm + thay thế của nó. Ví dụ:

Comments:

We have 0 comment

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Allowed HTML tags: <h3> <h4> <h5> <h6> <em> <strong> <code> <del> <blockquote> <q> <sub> <p> <br> <ul> <ol> <li> <dl> <dt> <dd> <a> <b> <u> <i> <sup> <img>
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options