The difference between the Linux VI vim vim-gnome vim-tiny VIM-GTK Vim-nox

Source: Internet
Author: User
Tags gtk

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

1. Replace VI with VIM

Vim is more powerful than VI, Vim is a superset of VI, and can solve many of the problems of habit, so it is necessary to use Vim to replace VI. Simply speaking, you can directly use the "Alias Vi=vim" command, but this can only be useful in this launch, the next time after the start, this is invalid, if you want to use next time, then you need to modify the user self-boot configuration file. BASHRC, the specific changes are as follows:

sudo apt-get install vim-gtk #安装vim, ubuntu default does not seem to install VIMCD ~ #用户 home directory VI. BASHRC #后添加下面的alias语句到最后一行 (or the right location) alias Vi=vims Ource. BASHRC # Immediate Effect

2. Linux under Vim vim-gnome vim-tiny vim-gtk vim-nox various vim differences!

Different compilation options are compiled with VIM. For example, Vim is the end of the Vim,vim-gnome is using the Gnome GUI Vim,vim-tiny is tiny version of Vim, is less function, but small size, fast

About VIM

The console version of Vim is released with Ubuntu, so there is no need to install it. However, if you prefer vim under the GUI interface, please install the VIM-GTK package from the new installation or enter it in the terminal:

sudo apt-get install VIM-GTK

11.10 version does not seem to have its own vim, please try using the Vim.tiny command "VIM user manual"

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 are the differences and links between VI and VIM?
They are multi-mode editor, the difference is that Vim is the upgrade version of VI, it is not only compatible with all VI directives, but also some new features inside.
These advantages of vim are mainly reflected in the following aspects:
1. Multilevel undo
We know in VI, press u can only undo the last command, and in Vim can be unlimited undo.
2. Ease of Use
VI can only run on Unix, and vim not only runs on Unix,windows, Mac and other multi-operating platforms.
3. Syntax highlighting
Vim can use different colors to highlight your code.
4. Visual operation
This means that VIM can be run not only at the terminal, but also in X window, Mac OS, Windows.
5. Fully compatible with VI
In some cases, you can use Vim as VI.

I also downloaded the use of the Vim editor, I used the XP system, before the Linux SuSE also used VI, the personal feeling is vim relative to VI, the extension is stronger, used VI when the CTRL+S and CTRL + Z is not used (should not remember the wrong), But vim can do it.

After installing VIM, there will be a VIMRC file, such as highlighting, fonts and so on all the settings can be written in the inside, you go online to find the Vim configuration file, there are very powerful cattle people configuration.


Ps:

Paste a Vi/vim keyboard diagram, to learn can be when the desktop:



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

Ref: Replace VI with VIM

Ubuntu Vim User Operation Guide

Debian--Package search

Some summary of personal use of vim



The difference between the Linux VI vim vim-gnome vim-tiny VIM-GTK Vim-nox

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.