Efficient mobile
Outside of the insert mode
Basically, you should stay in the insert mode as little as possible, because Vim is like a "dumb" editor in the insert mode. Many beginners will stay in the insert mode because it is easy to use. But the
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,
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
Shear Board SharingThis is very important, or every time the right-click menu will be dashed.In the 用户设置 add: "vim.useSystemClipboard": true,Changes in the cursorI think this is also important, after all, in the Vscode, the status bar is
First, VimEditor1.1 concept and its roleText Editor for writing, modifying text, which is already installed on Linux by default, similar to Windows word1.2 Vim three modes of Operation 1) Command mode: Vi/vim default mode, cannot input characters,
Two steps:1. Remove the annoying VI consistency pattern and avoid some bugs and limitations of previous versionsSet nocompatible2.backspace has several ways of working, which are VI compatible by default. Very unaccustomed to beginners. People who
Eighth chapter, vim text editor chapter content
Three main modes of using VI and VIM
Move the cursor into insert mode
Change, delete, copy text
Undo Change
Search Documents
Vim Register
Visualization and Multi-window
Vim is one of the most commonly used editors of the unix/linux system, and when I save a file, I usually choose ": Wq", because when I first learned vim, I only remembered a few commonly used commands, and there was no meaning of the scrutiny
First, the editing mode
Keys
Role
I
Insert in current word match either
I
Insert at the beginning of the line where the cursor is located
A
Insert in current word
VIM frequently used shortcut keysH-Move the cursor left one character J-Move the cursor down one characterK-Move the cursor up one character L-move the cursor right one character down 15 lines-15jCTRL + F-the screen moves down one page Ctrl +
There are several modes of vim, such as normal (normal mode), insert (insert mode), command line Mode, visual (visual mode). The same commands and shortcut keys function differently in different modes, so help information is also sub-modal.Give me a
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
Sometimes you copy and paste code from the editor into Vim, and the code format is completely messed up. The reason for this is that vim turns on smartindent (smart reduction) or autoindent (auto align) mode. In order to maintain the format of the
Ubuntu 12.10 Install vim Error[Date: 2013-01-18] Source: Linux Community cubernet [font: Big Small]The following tips appear when you install Vim in Ubuntu 12.10:Reading Package List ... CompleteAnalyzing Dependency tree for PackageReading status
How to use FG to quickly return to vim?When you use VIM to modify a parameter in a file, you cannot remember the parameters for a long time. It often appears that when we just opened this file with Vim, we forgot the parameters just now. At this
Vim python auto complement plugin: 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 function,
This github on Vundle's address Https://github.com/gmarik/vundleSet Vundle:git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/vundle.vimTouch ~/{.vimrc,.vimrc.bundle} here for. VIMRC not bloated, new. Vimrc.bundleInsert the
Step 1: Go to VIM website vim.org, click on the left Download option, select the corresponding installation system Pc:ms-dos and Ms-windows Step 2: Click to download the vim version you want to install, for example I choose to download Gvim80.exe.
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