In ubuntu, the vim configuration file is stored in the/etc/Vim directory. The configuration file name is vimrc.
In fedora, the vim configuration file is stored in the/etc directory. The configuration file name is vimrc. In Red Hat Linux, the vim
Directly go to the topic:
Basically, VI is divided into three modes: general mode, edit mode, and command mode. The functions of these three modes are as follows:
Normal Mode: open a file using vi and directly enter the normal mode. In this mode,
Cause: Press enter to indicate:In dos, press enter (Cr, ASCII 13, r) to wrap (LF, ASCII 10, n. There is only one in Linux.
In Linux, you can use VI to view some text files created in windows. Sometimes you will find some "^ m" at the end of the
Save a file you edited in VIM without the needed permissions (no echo) Address: http://www.commandlinefu.com/commands/view/5147/save-a-file-you-edited-in-vim-without-the-needed-permissions-no-echoSave a file you edited in VIM without the needed
Original article output: Unknown ". There are several methods for processing. 1. Use the dos2unix command. This tool is included in the general distribution version (if not, you can download the tool based on the following connection). It is very
Setting set wrap in. vimrc is ineffective today. Later we found that gvim's configuration file is different from Vim's! No culture is terrible ......
First, the current user directory contains three files and folders.. VIM: this is the place
Install gvim on Ubuntu 10.10.
Start download and install
Sudo apt-Get Update (update the source, which is optional)
Sudo apt-Get install vim-gnome
After installing OK,Configure the menu for gvim (Two methods)
Method 1: sudo
Although in. vimrc sets: Set aiset Si can intelligently align thml on Windows 7 using the "=" equal sign key. Although C files can be intelligently aligned on Linux, HTML cannot. Linux and VIM really have a lot of preferences for C. The solution is
I am not disgusted with the Linux system, but I am disgusted with complicated command operations. I feel that as a programmer, I should focus on the Code architecture and writing, rather than memorizing these commands.
I wrote this article
First, this error is caused by your own carelessness. when creating the file, you use the root permission and find that WQ cannot save and exit after editing in VI. The error e212 is displayed: the file cannot be opened and written. I have not run
Ubuntu Vim configuration file description
Favorites
After I installed ubuntu8.04beta, my vim became "loose" because I didn't set attributes in the configuration file. My ubuntu6.06 was configured by David for me, which was very fast, I have
From: http://www.lupaworld.com /? Uid-296380-action-viewspace-itemid-118973
VI/Vim basic usageThis article introduces the basic usage of VI (Vim), but it is enough for common users! The differences between I and Vim are simple. They are all
Document directory
Preface
Tag command
Window command
Others
Move on screen
Bookmarks
Mark text
Actions on tags
Preface
Vim is a super editor designed for programmers. It is incredibly powerful.. However, the learning curve is steep. I
Forwarded from http://www.unix.com/unix-dummies-questions-answers/132518-vim-tips-tricks.html
: W=> Save [: W filename writes the content to the specified file from current file]
: Q=> Exit as long as there have been no changes
: Q!=> Exit and
1. Use CD/to go to the file system;
2. Switch CD/etc/Vim to the Vim directory;
3. Modify the File Permission: sudo chmod 777 vimrc. You will be prompted to enter the password and enter the password;
4. Run Vim vimrc to open the vim file. The
I am not a fan of Linux/Unix, although I advocate the spirit of GNU.
I used to write C/C ++ programs on the Windows platform using VC,
It also uses editplus to write ASP/HTML, and occasionally uses sourceinsight to browse some
Large Project source
VIM + ctags + taglist + code_complete another article transformed Vim into a powerful ide-Vim integrated ctags/taglist/cs.pdf/winmanager/nerdtree/omnicppcomplete (with graphs with truth)
Vim auto indent1. Configuration File LocationUnder the/etc/directory, there is a file named vimrc, which is a public Vim configuration file in the system and is valid for all users. In each user's home directory, you can create a private
Fuzzyfinder plugin provides an interface to quickly search for files, buffer, bookmarks, commands, and tags.
You can preview the search results in real time and support fuzzy search of wildcard.
※Download
Http://www.vim.org/scripts/script.php?
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