This article describes how to use the plug-in management tool Vundle to build a vim development environment in an UBUNTU environment to improve the efficiency of using VIM for programming under Linux. Install Vim
Installing Vim on Ubuntu is simple,
Vim skills of the four modes _ ordinary mode to see the ordinary mode of not loving ordinary mode below the tough operation what is the operator what is the action command misoperation How to do that operation more cost-effective ordinary mode of
The fourth lesson basic copy, paste operation
Cut and paste
When a piece of text is deleted with command D or x, the deleted text is automatically saved to a special clipboard by VIM. You can then use the P command (put) to paste it behind the
June 20 Task5.1 Vim Introduction5.2 Vim color display and move cursor5.3 Vim General mode move cursor5.4 Vim General mode copy, cut and paste2018-04-18 17:55:31Vim color display and move cursorThe same files may be available in different directories
One (regular expression)A regular expression (REGEXP) is a pattern written by a class of special characters and text characters, where some characters (metacharacters) do not represent the literal meaning of a character, but are a function of
VI belongs to the Linux kernel built-in command (vi editor)1. Vi/vim Working principleBefore you learn Vi/vim editor parameters and shortcut keys, you need to understand how Vi/vim works first. The Vi/vim command has three modes: edit mode, view
VIM 8.0 to be released before Mid-Autumn festival
The best-use-to-install Vim on Unix-to-use the sources. This requires a compiler and its support files. Compiling Vim isn ' t difficult at all. You can simply type ' make install ' when your
I. Linux BASIC instructions
Find
-name: Search by file name
File Search
When you do not set a parameter, find finds its subdirectories and files in the current directory by default, and displays all
By default, Vim uses a built-in register instead of an X Window's clipboard
Enable system Clipboard SupportYou can use vim --version | grep clipboard the view, if the Clipboard is displayed before the tag, - but not + the marker, indicating that
Vi/vim Key DescriptionIn addition to the simple example above I, ESC,: Wq, in fact, Vim has a lot of keys can be used.Part I: General mode available cursor movement, copy and paste, search and replace, etc.
How to move the cursor
Tag: Call uses color to appear set Isa start noticing ORMThis article was reproduced from: http://harttle.land/2016/08/08/vim-search-in-file.htmlI am always asked if I can find Vim, of course! And it's super-strong search! This article details how
The differences between ": X" and ": Wq" are as follows:(1): Wq Mandatory Write file and exit (save and exit write and quite). Force write even if the file is not modified, and update the file's modification time.(2): x write to File and exit.
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
Problem Description:Select the specified character in vim to copy/cut/pasteProblem solving:into vim in visual mode, visual mode enters, there can be three ways:(1) In normal mode, the direct key V can enter the default visual mode, you can use v+j/k/
1. Copy the/ETC/GRUB2.CFG to/tmp directory and use the Find and replace command to delete the white space character at the beginning of each line in the/tmp/grub2.cfg file2. Copy the/etc/rc.d/init.d/functions to/tmp/directory and add a # number to
Vim Text EditorWhat is the 1:vim text editor?Vim is a well-known, powerful, highly customizable text editor similar to VI, which improves and adds many features on the basis of VI. Vim is free software. (from Baidu Encyclopedia)2:vim Editing
How to Exit Vim
Learn a few patterns first:
General mode: Press the ESC key
Command-line mode: First cut to normal mode, then press SHIFT key and then enter ":"
Insert mode: Press A or I in general mode
Seven Ways
Vim mode:1. Command mode (edit mode)2. Input mode3, the last line modeMode conversionEdit mode--Input modeI: Inserts a character before the current cursor characterA: Inserts a character after the current cursor characterO: Inserts a character below
The previous blog shows how to use Vim to build a C + + development environment on UBUNTU16:Linux base 12Building a C + + IDE with vimThis blog will show you how to use Vim to build a similar C + + development environment on CENTOS7. The two sets of
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