[Linux] Vim row number, syntax highlighting, indentation, and other settings

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

Use of VIM Editor

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,

Replace ^ m with vim

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

If you do not have the permission to edit files using vim

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

Replace the ^ m character with vim

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

[Configuration] Location of gvim and VIM configuration files

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

Vim configuration file (available on the entire platform)

Link: http://www.oschina.net/code/snippet_103341_9644 Linux: "----------------- Author: ruchee" ----------------- Email: my@ruchee.com "----------------- Website: http://www.ruchee.com" ----------------- Date: 2012-05-01 "Ctrl + H -- move the

Vim/gvim: Install gvim

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

In Vim Linux, HTML files cannot be intelligently aligned.

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

Multi-row replication in unbunt Vim

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

Vim e212 Error

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

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

Vim entry and basic usage

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

Vim command Summary

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

Common Vim commands (Excerpted from UNIX and Linux Forum)

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

Modify the vim configuration file in Ubuntu to facilitate C programming.

eol

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

How to obtain the powerful functions of VIM

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

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)

How to Set automatic indent in VIM

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

Vim search tool: fuzzyfinder

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?

Total Pages: 210 1 .... 120 121 122 123 124 .... 210 Go to: GO

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.