Linux--vi, VIM editor command base __linux

VI is a command-line interface under the text Editing tool, Vim is an enhanced version of VI. Vim or VI commands can start the VIM editorVim + Destination file path Open file with vimIf the destination file exists, Vim opens the fileIf the

Vim Paste Cancel Auto Indent

Vim Copy and Paste QuestVim is one of the best text editors to use Vim to document, writing code is really a pleasant thing. Whenever you learn a new function of vim, it will greatly improve the efficiency. The use of vim for decades has not yet

Vim editor and Shell command scripts

Vim editor and Shell command script vim text editorThe Vim text editor features three modes: Command mode, last line mode, and edit mode.Command mode: Control cursor movement, can delete, copy, paste and find text.Input mode: Normal text

How to find and replace in vim

"%s//second/g"People with vim know that this is to replace all the "most" with the meaning of "second". In fact, Vim's search and replace function is very powerful, good use can greatly improve efficiency.The Find and replace command for VIM is as

"Turn" Vim Ctag use method

The source I saw was not posted, I turned to http://www.cnblogs.com/feisky/archive/2012/02/07/2341932.htmlwindows. Many people use source insight to write and view code. Vim can be used under Linux, initially feeling vim like Notepad under Windows,

Display and hide of vim line numbers

Usually when we use the VIM editor, we need to show and hide line numbers.Hide line number:1. First we vim 1.txt (into the document we edit), as below, this is the display line number2. Click the ESC key and enter: (colon) to complete the effect as

Vim Usage Tips

Find a replacement App example: Copy/etc/profile to/tmp/directory, remove white space characters from the beginning of the/tmp/profile file with the Find replacement command:%[email protected]^[[:space:]]\[email protected]@g Copy the/etc/

Vim commands commonly used in the work

Recently work in need to change files on the Linux server, suffering from the various commands of VIM is not familiar with, today we summarize and familiar with a variety of VIM commands, so as to improve work efficiency. Late Continuous updateVim

Vim bulk Comment and cancel bulk comment

Method Piece Selection ModeInsert Comment:Enter virtual mode with VUse the up and down keys to select the number of lines you want to commentPress CTRL + V to enter column modePress Capital I into insert mode, enter the comment ' # ' or '//', then

Vim edit mode, command mode, and practice

Press I to enter edit modePress I (I in uppercase) to enter edit mode and the cursor jumps to the beginning of the cursor positionPress O to start editing from the next line of the cursorPress O (capital O) to start editing from the previous line on

Simple use and configuration of vim

Vim, Gedit is a common Linux editor, today we will talk about Vim.Note: Vim is an upgraded version of VI that is not only compatible with all VI directives, but also has some new features in it. Therefore, some time vim, VI will be mixed, sometimes

Brother Bird's Linux private cuisine Learning-(10) Vim program editor

1.VI and VimIn the world of Linux, most of the configuration files are in ASCII Plain text form, so the use of simple text editing software can be modified settings!It's often heard: Emacs, Pico, Nano, Joe, and Vim, and so on (note 1).Use of

5.1-5.4 vim shortcut keys

5.1-5.4Vim and VI are almost the same, the only difference is that when editing a text, using VI will not show the color, and using VIM will show the color.VIM has three modes: General mode, edit mode, command mode.When the system is minimized, the

The use and practice of Day17-vim (II.)

edit mode for 5.5:vim:Edit mode: (enter the following command into edit mode): You can edit the contents of the file: Command mode: (Press ESC to enter command mode), supplemental command: in command mode :hi: Highlight: :nohi: The

Vi/vim Find Replacement Use method

You can use the: s command to replace a string in Vi/vim. The command has a number of different details of how to use the method, you can implement complex functions, record several here, convenient later query.: s/vivian/sky/replaces the current

Three modes of VIM in Linux and basic commands

The three modes of VIM in Linux are: command mode , last line mode , and edit mode . here is a diagram of the three:Switch between the three modes:The command mode is the default mode in Vim.Command mode switch to last line mode : Use colon (:) in

Vim Command Collection

Command historyCommands with: and/begin with a history, you can first type: or/Then press the up and down arrows to select a history command.Start vimEnter the following command in the Command line windowVim starts vim directlyVim filename opens vim

Vim Multi-file operation

[Vim]vim Learning Notes--Multiple files open, toggle, off one case is to open multiple files in the shell with vim, and open multiple files in the Vim editor while opening multiple files vim file1 file2 Open the file and display the horizontal

Change the Vim profile under Ubuntu to create a C + + style

Reprint: Change the Vim profile under Ubuntu to create a C + + styleVim's default configuration is not satisfactory and requires its own configuration.The default configuration file is:/ETC/VIM/VIMRCWe can set up our own configuration file in the

Vim Smart Tip Plugin Javacomplete Installation

Download Javacomplete from the Https://github.com/vim-scripts/javacomplete websiteCreate a new Javacomplete-master folder and copy the Javacomplete-master.zip to this foldermkdir javacomplete-master && cp

Total Pages: 210 1 .... 86 87 88 89 90 .... 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.