Linux VI, VIM command Daquan

one or one-like mode: Delete, copy and paste Class command X,x x to delete one character backwards, X to delete a character previously NX (n represents number) Delete n characters backwards DD Delete when forward D Delete all characters in the

Vim creates black edges in full screen in a graphical environment

Running vim in the terminal or running Gvim will encounter this problem, when the window full screen, the left and right side of the border may appear, this border in the terminal vim is the terminal background color. Full-screen effect for spacevim+

Vim's window switch

When using vim to write code, I like to look at the definition of the structure in the header file while writing the implementation code, so that it is often used in multiple windows to edit, view the document.1. Open multiple files at the same time

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

That's how Linux should learn--command set (VIM editor)

Shortcut keys commonly used in the command mode of the 1.vim editor:DD Delete (cut) the entire line where the cursor is located5DD Delete (cut) 5 lines starting at the cursoryy copies the entire line of the cursor5yy copy 5 lines starting at the

Vim Fast Indent

Fast indent 1. Use commands to quickly adjust indent operationsThis section learns how to indent quickly in vim and indent operations are effective in normal modeOpen a file for editing$ vim protocols Normal mode input 15G , jump to 15

day-Editor Vim

5.1:vi and Vim:Vim is a text editing tool for all Linux systems, the same as with Windows Notepad, used to manipulate and edit files:Vim is an upgraded version of VI, VIM (will display font color): VI (no color is displayed)1, the installation of

3.0-vim editor and bash condition test

Multi-file Mode:Vim FILE1 FILE2 FILE3 ...: Next Next:p Rev A previous: First One: Last One: Wall Save All: Qall Quit allWindow-delimited mode:Vim-o|-o FILE1 FILE2 ...-O: Horizontal split-O: Vertical splitSwitch between windows: Ctrl+w then arrow

The visualization of Vim

Reference Document: http://blog.csdn.net/ii1245712564/article/details/46960387First, comb the key knowledge for easy accessV (small v): Enter visualizationV (large V): Enter visual lineCtrl + V: Entering a visual blockThere are also some related

Vim Editor Common commands

Redis Advanced configuration file, modify line 37Ps-ef |grep redis|grep-v grep to view the process and filter the currently viewed processVI and VIM IntroductionVim is an upgraded version of VI.A text editor under the Linux system

Vim Common Operation Summary

Vim is a text editing tool, so you don't have to remember everything when you're learning, as long as you work more efficiently with vim. This article summarizes the operation method of vim from the practical point of view, hoping that after reading

Ubuntu 14.04 Vim Edit the general operation of the file

Vim edit the general operation of the file1. Vim #在命令行中输入vim, enter the VIM editor2. I #按一下i键, the lower end of the display--insert--#插入命令, in Vim may have any character function3. ESC #退出i (Insert) command for other commands to use4.: r filename

How to get out of the VIM editor in a Linux system, methods and differences

In Linux, the Vim editor is the system's own text editor, which is powerful. This vim (VI) is very simple. Note: Linux commands are lowercase!Vim Editor, you can create a new file can also modify the file, the command is: vim/usr/local/con.cfg If

Vim commands in Linux under the detailed

Advanced some of the editor, will contain the macro function, Vim is certainly not missing, the use of macros in Vim is very convenient:: QX starts recording macro and registers the result in register XQ Exit Record mode@x playing macro commands

Vim Common commands

Multi-Window Segmentation": sp/vsp" Portrait/Landscape Split window"Ctrl+w" jumps in the windowMultiple Files OpenVim name1 name2 Name3": n/n filename/bn/bp" When opening multiple files jump/Next File/previous file in multiple files (cannot jump in

Terminal and vim Chinese coding problem

A. Terminal Chinese display garbledSome netizens said to modify/var/lib/locales/supported.d/locale and/etc/default/locale It's all right, but if multiple people share a machine, there's no root authority. This is obviously undesirable. Now we

"Turn" concise Vim practice level Raiders

Source: Yannesposito Translation Source: Chen YuVim's learning curve is quite large, so if you're starting to see a bunch of Vim's command classifications, you're bound to lose interest in the editor. The following article is translated from "Learn

Vim Entry-level use

1. Just enter command mode2. I enter insert modeYou can only enter content in insert mode, if you want to delete the content, you need to switch to the command line mode and move the cursor to delete.3. ESC exit Insert mode to enter command line

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

Python Auto-complete (VIM)

One, vim python automatic completion plug-in: pydictionYou can implement the following Python code auto-completion:1. Simple python keyword completion2.python function Completion with parentheses3.python Module Completion4.python module internal

Total Pages: 210 1 .... 106 107 108 109 110 .... 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.