VIM Basic Command

VIM Basic CommandOccasional UpdatesInsert operationI normal insertionA prompt insert from the next charactero Insert from Next lineI insert in the bank firstA at the end of the bank insertO insert a new line at the cursorDelete operationx Delete the

Opening and saving of files in vim

Tag: The lock font buffer will manage the system BSP save and editOpen a file with: Edit command : Edit + {filename} can open a file into the buffer, and can add the path of the file; In the path, % represents the complete path of the

CentOS Configuration VIM development environment

Install VimYum Install vimConfigurationVi/etc/vimrcSet Encoding=utf-8 "Encoding settingsSyntax on "Open syntax highlightingSet tabstop=4 "Sets the width of the TAB keySet shiftwidth=4 "line interleaving between rows using 4 spacesSet autoindent

Knowledge of the visual mode under Vim

Three modes of visualization: v activates the character-oriented visual mode, v activates the line-oriented visualmode, and CTRL +v activates the visual mode for the column block ; Select Highlight Area:

Vim Chinese garbled

The following occurs: The CentOS system can display Chinese, but when using the Vim editor, there is a Chinese garbled650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M01/97/DE/wKioL1k0HkfD3pXuAAEhQTLPpXU393.png-wh_500x0-wm_ 3-wmp_4-s_35008117

Vim Settings ColorScheme Tips

Vim Settings ColorScheme TipsTags: colorschemevim2014-03-22 13:29 23363 People read comments (0) favorite reports Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.The color theme of Vim is

Linux compression commands and vim editing instructions

Cat commandImplement merging of several files, and add one or several files to another file.Tar commandPackage a file or directory into a file-C Create a new tar file-t lists the directory names in the tar file-V displays detailed file or directory

Linux Vim Operation Tips

· The important principle of Linux design is that information is stored in text-based filesText file: Unformatted file, function similar to win's registry (etc under Configuration file,. conf or no extension) Extensible Markup Language (XML), text

Workaround for incorrect prompt after turning off vim editor

With VIM, there are two common causes of errors:(1) When you use multiple programs to edit the same file.(2) non-conventional exit.The following information is prompted:E325:attentionfound a swapfileBy the name". TEST.TXT.SWP"owned By:root dated:tue

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

Use of VIM macros

1. Basic useQ[A-Z] START Recording macroQ Stop Recording@[a-z] Using macros@@ 调用 The most recently used macro[Email protected] [A-z] multiple replay macros2. How macros are executedSerial mode: [email PROTECTED][A-Z] macro contains instructions to

Vim configuration (forwarding) under Linux

Article Original address: http://geek.csdn.net/news/detail/34295I have always wanted to configure VIM with Vim has always felt that there is no visual use of the cool, but considering so many people use, that there must be a configuration of the

Vim Common directives

vim is not a long time to use, but it is now inseparable from the familiar vim editing mode. Vim 's learning curve is very steep, at the beginning of learning, the face of a lot of operational commands to remember, often deterred.In fact, just

Vim configuration file

Ps:f7 Compile F9 run F8 call gdb F12 Form Initial header (C + +) (both in normal mode)CTRL + A Select all plus copy (normal mode)CTRL + Z Auto Indent (normal mode)Compile option added-std=c++11-o2Set Nocompatiblesource

Vim Learning Record (RPM)

BasicThere are three modes of vim: Navigation (navigation) mode. At this time, the letter is the next key around. Input mode. This is when you press the letter key to enter the letter. Command mode. You need to enter a ":" Colon

Modify the Vim editor to automatically display line number indentation

1. Temporary modificationin the vi ,set tabstop=4 or Set ts=42. Permanent modificationVI--version Viewing the files to be modifiedif it is vim words, modify ~/.VIMRCif it is VI, modify ~/.EXRCPlus: Set tabstop=4Set nu//Display line numberSet

Linux vim Auto complement Python plugin: pydiction

Pydiction can be we use the TAB key to automatically complement the Python code in Vim, is a very good plugin.Pydiction does not need to be installed, all without any dependency on package issues, pydiction mainly contains three

Linux vim Auto complement Python plugin: pydiction

Pydiction can be we use the TAB key to automatically complement the Python code in Vim, is a very good plugin.Pydiction does not need to be installed, all without any dependency on package issues, pydiction mainly contains three

Linux VIM installation ycm plugin appears Your C + + compiler does not support c++11

YCM is known as the best use of vim in the plug-ins, can't help but want to try, follow the installation steps, go to this step of the timeAlways appearsYour C + + compiler does not support c++11The errorGo to GitHub ycm issue, found someone met

Vim 7.4.1952 with PYTHON/RUBY/LUA/PERL/C Syntax built for Ubuntu 16.04 x86_64

lua

The default Vim provided by Ubuntu 16.04 even do not has Python support. That ' s insane.I say, what if I wanted to use Vim as a Python IDE in Linux as before? Ubuntu, you can ' t is so careless.Using This command to the check whether it

Total Pages: 210 1 .... 202 203 204 205 206 .... 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.