Location:/ETC/VIM/VIMRCIt is recommended to use Gedit for configuration. Even with the command: sudo gedit/etc/vim/vimrcSet Mouse=a"Enable Mouse usage (all modes) set confirm"? Should be deleted for questioning to determine"Indent Lattice set
1. Beginning and end of line^: Move to the beginning of the line$: Move to end of line2. File header, end of fileGG: File HeaderG: End of File3. Show current positionCtrl+g: Show Current positionSet Number: Sets display line numbers, set Nonumber:
Vim Introduction:Vim is an upgraded version of VI, VIM is a color display, install vim using yum install-y vim-enhanced.Vim is divided into three modes: General mode, edit mode and command mode.Vim color display and move cursor:Vim is displayed
移动光标30 move to the beginning of the line # $ The end of the current row # GG file The first line # G file last line # line number ++ +i return to the position before the jump退出# Enter normal mode #: Q! do not save exit #: Wq after saving删除# x
-The advantages of VIM's encryption function1. After encryption, if you do not know the password, you will not see the plaintext, including the root user can not see-Cons1. Obviously let others know encryption, it is easy for others to destroy the
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
Some of the commands commonly used by the VIM editor under Linux (what to add)Command mode:: Set Nu #显示行号: Syntax on #语法高亮: Set tabstop=4 #tab back four gridVI has three modes: insert mode, command mode, low line modeInsert mode: You can enter
VIM commands are divided into two kinds, one is vim own, the other is ex, the ex command needs to enter a colon, the last return to execute, compared to the VIM command, the scope of the ex command more extensive, but also more powerful, the
I. Management input and OUTPUTin a Linux system, the correct output number is 1, the error output number is 2performed in the system with a normal user "Student"find/etc/-name passwd > fileBecause student does not have the right to view more
Find a lot of online, use up a variety of problems, especially in a variety of formats, find an article here, write down.Insert header file template implemented in pure VimscriptAutocmd bufnewfile *.c Exec ": Call SetHeader ()" func! SetHeader ()
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
Vim commandYY: The line where the cursor is copied4YY: 4 rows starting at the beginning of the row where the copy is locatedP: PasteDD: The line where the cursor is clipped2DD: Cut cursor line down 2 linesDW: Cut a wordD: The contents of the current
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
For the first use VI, there are a few notes to remind:1. After opening the file with VI, it is in "command mode" and you want to switch to "insert Mode" (Insert mode) "to enter text. Toggle method: Under Command mode, press aThe next letter "i" can
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
Personal configuration has been put into the https://github.com/liown/vim-settings, mainly based on the configuration of Axiaoxin modified.Friends who need to put the. VIMRC directly into the ~/.VIMRC, into the vim execution: Plugininstall command
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,
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