Differences between vi vim-gnome vim-tiny vim-gtk vim-nox in Linux, vimvim-gnome

Source: Internet
Author: User

Differences between vi vim-gnome vim-tiny vim-gtk vim-nox in Linux, vimvim-gnome

Http://blog.csdn.net/pipisorry/article/details/39508417

1. Replace vi with vim

Vim is much more powerful than vi. vim is a superset of vi and can solve many habits. Therefore, it is necessary to replace vi with vim. Simply put, you can directly use the "alias vi = vim" command. However, this command can only be used during this start. After the next start, this command will be invalid, if you want to use it again next time, you need to modify the user's self-starting configuration file. modify bashrc as follows:

Sudo apt-get install vim-gtk # install vim. By default, vimcd is not installed in Ubuntu ~ # User home directory vi. bashrc # Add the following alias statement to the last line (or an appropriate location) alias vi = vimsource. bashrc # take effect immediately

2. Differences between vim-gnome vim-tiny vim-gtk vim-nox in Linux!

Different compilation options compile vim. For example, vim is the vim in the terminal, vim-gnome is the vim In the gnome gui, and vim-tiny is the vim in the tiny version, which means it has fewer functions, but is small in size and fast.

About vim

The console version of vim is released along with ubuntu, so there is no need to install it. However, if you prefer vim on the GUI, please install it from the newVim-gtkPackage or enter:

sudo apt-get install vim-gtk

Version 11.10 does not seem to have built-in vim. Please try to use the vim. tiny Command [Vim User Guide]

Http://wiki.ubuntu.org.cn/Vim%E7%94%A8%E6%88%B7%E6%93%8D%E4%BD%9C%E6%8C%87%E5%8D%97

3. What is the difference and connection between Vi and Vim?
They are all multi-mode editors. The difference is that vim is an upgraded version of vi. It is not only compatible with all instructions of vi, but also has some new features in it.
Vim has the following advantages:
1. Multilevel Revocation
We know that in vi, you can only undo the last command by pressing u, but you can undo it without limit in vim.
2. ease of use
Vi can only run in unix, while vim can not only run on unix, windows, mac, and other multi-operating platforms.
3. Highlight the syntax
Vim can use different colors to highlight your code.
4. Visualized operations
That is to say, vim can run not only on the terminal, but also on x window, mac OS, and windows.
5. fully compatible with vi
In some cases, you can use vim as vi.

I also downloaded and used the vim editor some time ago. I used the XP system and I used vi in linux SUSE. I personally feel that vim is more scalable than vi, in the past, when using vi, ctrl + s, ctrl + z, and other things were unavailable (you should remember correctly), but vim was fine.

After vim is installed, there will be a vimrc file, and all the settings such as highlight and font can be written in it. You can find the vim configuration file on the Internet, and the configuration is very powerful.


Ps:

Paste a VI/VIM keyboard chart. To learn more, you can use it as a desktop:



From: http://blog.csdn.net/pipisorry/article/details/39508417

Ref: replace vi with vim

Ubuntu Vim User Guide

Debian-Software Package search

Summary of using VIM




Urgent *** what are the differences between vim-gnome and vim-vim? *****

Vim sudo apt-get install vim cannot install anything because it does not have this software package.

Vim installed by vim-gnome depends on some gnome things.
Vim-gtk depends on some things of gtk.

Vim-tiny only installs one simple vim, and there is no graphical interface, only the command line interface. By default, it is compatible with vi, that is to say, there are not many vi queries.

Vim-nox is not clear.

We recommend that you install gnome/gtk.

When downloading the vim software package from a linux operating system terminal, the system prompts that a software package exists, but it cannot be installed.

If you want to use a graphical interface, install the VIM-GTK
Sudo apt-get install vim-gtk

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.