Ubuntu,vim The default external registers are +
Copy the contents of vim to the system, select the content, and then "+y, you can copy it to the outside."Copy the contents of the system to vim, select a location, and then "+p, you can copy it into
1, Vim C/c++/python automatic completion, syntax highlighting is the eternal topic. The following will help you.
Github Classic Vim finishing. These links are simple (fool-type) installations. But it's very useful.You can choose to install
The move keys available in VI Command mode:
h---move the cursor one character to the left
j---move the cursor down one character
k---move the cursor up one character
l---move the cursor one character to the right
w---move the cursor forward one word
1. Character Operation
I insert
I Insert at the beginning of the line
A Line End Insert
X Delete one character after
X Delete one character after
U undo One Step
2. Line Operation
The home or ^ key moves to the beginning of the line
End key or $
This article in the author's personal blog, blog Park, csdn synchronous publication, if reproduced, please indicate the author and the original link. CSDN Link: http://blog.csdn.net/miracle_wong/article/details/25039889
Recent learning artifact Vim,
Linux 15th day vim and Scripting BasicsTime: 20180801Vim Text Editing ToolCommand modeY copyP PasteG Navigate to document to first lineG navigates to the last line of the document^ Position the front non-null character of a row0 position the
Original: https://www.ibm.com/developerworks/cn/linux/l-cn-vimcolumn/Before you beginThe human brain's processing of words is flat, so we browse articles, find materials, or refactor code, either horizontally or vertically, or use search to make
Usually when we use the VIM editor, we need to show and hide line numbers.Hide line number:1. First we vim 1.txt (into the document we edit), as below, this is the display line number2. Click the ESC key and enter: (colon) to complete the effect as
Method Piece Selection ModeInsert Comment:Enter virtual mode with VUse the up and down keys to select the number of lines you want to commentPress CTRL + V to enter column modePress Capital I into insert mode, enter the comment ' # ' or '//', then
Vim EditorText editor, word processorAsciiNano, SEDVi:visual InterfaceVim:vi improvedFull screen editor, modal editorThe options and meanings of VIM commandsOption Comment-C command executes the command command before editing the file -r filename
: W writes data to the hard disk: w! If the file property is read-only, the file is forced to be written. However, it is important to note that this is true if your permission can be changed .: Q Leave Vim: q! Modified the file, and did not want to
Vim query manpage: press Ctrl + k to quickly query the words under the current cursor in manpage.
Enter Chinese Characters in VIM: Enter the Chinese shortcut key Ctrl + &
Send an email directly with the selected content in VIM: The method for
Cuda C extends the C language, the subject or the C language syntax, so a simple method is to create ~ /. Add the vimrc file to the file:
AU bufnewfile, bufread *. Cu set Ft = C
To move the tab key with four spaces instead of eight, you can ~
Original article output: Unknown ". There are several methods for processing. 1. Use the dos2unix command. This tool is included in the general distribution version (if not, you can download the tool based on the following connection). It is very
Sender: Vale (shangu), email area: VimQuestion: detailed explanation of global commandsMailing site: shuimu community (Fri Jun 15 17:05:55 2007), within the siteThe Global Command is one of Vim's most powerful commands (I personally think it is No. 1
In Linux, we cannot easily view the code. We don't know how to use many tools. Below is a summary of my VIM + cssag + ctags environment:
1. Vim
(1) Check whether Vim supports csflood.
# Vim -- version | grep cscope
+ Cryptv + cs1_+ cursorshape +
Web development under Vim html css js plug-in HTML, CSS, and JavaScript plug-in for web development under Vim
Html
Download html.zip
Decompress html.zip and copy all the files to the C: \ Program Files \ Vim \ vimfiles directory.First, you should
VIM + ctags + taglist + code_complete another article transformed Vim into a powerful ide-Vim integrated ctags/taglist/cs.pdf/winmanager/nerdtree/omnicppcomplete (with graphs with truth)
Problems with vim arrow keys in Ubuntu
After Ubuntu is installed, the direction keys in VI are displayed with letters.In the $ home/WYC/. vimrc file (a new one is created if no one is available), add the following sentence:Set nocompatible
2. Add
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