Path:/ETC/VIM/VIMRCOpen Terminal: ctrl+alt+tInput: sudo vim or GEDIT/ETC/VIM/VIMRC (recommended with gedit for better operation)Here is my configuration:1 "My configuration2 "Show Line Numbers3 SetNu4 Set Number5 "Change Indent size6
Delete Cut X ---> Delete the character of the current cursor DD ---> cut the current line (delete the current row) P ---> Paste the current line (paste the next line) p -- -capital P paste yy in current line ---> Copy
Method OneComments:"Ctrl" + "V" enters the column editing mode, moves the cursor down or up, marks the beginning of the line to be annotated, then presses the uppercase I ("Shift" + "I"), and then inserts an annotation, such as "//", and then ESC,
Three modes of 1:VIGeneral instruction Mode: VI opens (creates) a file by default in general instruction mode, you can move the cursor up or down, use shortcut keys to copy and paste, delete entire row of columns.Edit mode: In the general
Reminder: VI Edit does not support multi-line comments, be sure to use vim1. Multi-line Comment:1. First press ESC to enter command line mode, press CTRL + V to enter the column (also known as block) mode;2. Use the upper and lower keys at the
Under the leadership of the teacher, has recently been seen as a rise. Install yourself and try to experience some of the basic functions of vim, perhaps as a beginner, always feel that its instructions are too complex, in terms of text editing,
Visual Mode 1. Introduction to Visual Mode commands
Enter in normal mode v (lowercase), enter the character selection mode, you can move the cursor, where the cursor will be selected. The selection is deselected when the V-meeting is
How to enter insert mode from command mode:#A/a/o/o/i/iI: Lowercase is the first letter in the position where the cursor is insertedI: Uppercase is inserted at the beginning of the line where the cursor is locatedA: Start inserting the next letter
Bash on Ubuntu in WIN10 is available in Windows, which provides an Ubuntu subsystem in win and can be used with bash. The system's own vim color scheme ColorScheme as the default, not very good, the following describes how to modify for their own
Vim-the Ubiquitous Text editorVim is a highly configurable text editor built to make creating and changing any kind of text very efficient. It is the included as "VI" with the most UNIX systems and with the Apple OS x.Vim is rock stable and are
When Vim is pasted, the formatting problem is caused by indentation.---------------------------------------------------------------Original: http://www.cnblogs.com/softwaretesting/archive/2011/09/20/2182177.htmlIf you set the auto indent set
Set TabStop=4set Numberset cul set CUC hi cursorcolumn ctermfg=3 ctermbg=2function insertpythoncomment () exe'Normal'.1.'G' Let Line= Getline ('.') ifLine =~'^#!. *$'|| Line =~'^#.*coding:.*$' returnendif normal O call Setline ('.','#!/usr/
1, VI & VIM have two modes of operation:(1) Command mode: Accept, execute VI & VIM Operation command mode, the default mode after opening the file;(2) Editing mode: The mode of adding, deleting and changing the contents of open files;#在编辑模式下按下 the
To set options in Vim, it is easy to understand the annotations:1 Set Laststatus=1 "2 always displays the last window's status line , 1 more than one window displays the last window's status line, 0 does not display the last
In the process of learning vim, the following are recorded for common use tips:1,: w!sudo tee% when you use ordinary users do not have write permission is very useful.2,: Earlier 5s restore files to 5s before, you can m,h and so on3, you learned
The legend of Ubuntu is to develop the necessary, but also want to try hackers;ubuntu16.04 comes with python2.7 and 3.5 two versions and Vim editorOne, on-line check a lot of information is the Pydiction plug-in installation use, to achieve tab
Suppose you have the following data, separated by a space for the data column:1 Hevichuan 124.63 172 0.722 Zhang Ziyin 99.67 172 0.583 Week Guang bin 93.34 188 0.504 Chen Xingdong 41.86 188 0.225   ; She
Install the Curl commandDownload: https://curl.haxx.se/download.htm l
Win64 x86_64 CAB
7.55.1
Binary
Ssl
Stefan Kanthak
Add CURL.exe to the Git directory and add to the environment variable,
Vim starts multi-window editing and vim starts window editing.Vim provides the multi-window editing function to simplify compound editing tasks. The multi-window mode of vim does not mean that multiple vim instances are started on the
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