The VIM editor for LinuxVim is a text editor developed from VI. VI is the old-fashioned word processor, but the function is very complete, but there is still a place to improve. Vim can be said to be a very useful tool code for program developers to
Before writing the code, you need to set up the environment, for details, see: "Qt 5.4.2 Ubuntu Environment Building".a simple blank windowOpen terminal, new file through Vim first_qt.cpp, because QT code is C + + code, so the new file suffix is.
First, the use of VI encryption:Advantages: After encryption, if you do not know the password, you can not see the plaintext, including the root user can not see;Cons: Obviously let others know encryption, it is easy for others to destroy the
Move:h or LEFT ARROW key (←) #光标向左移劢一个字符J or DOWN ARROW key (↓) #光标向下移劢一个字符K or Up ARROW key (↑) #光标向上移劢一个字符L or right ARROW key (→) #光标向右移劢一个字符0 #数字0, move to the first character of the bank$ #移动到本行最后一个字符处GG #移动到第一行G #移动到最后一行ng or: N #移动到第N行W
Introduction: Speaking of my Learning path from the arm embedded development began, basically in school when the Windows development began, go to Ubuntu embedded development is very not used to start. Without the mouse is very difficult to get, we
---are in ESC mode:Multi-line comments in 1.vim.(1). Press CTRL + V to enter the column mode;(2). Start selection at the beginning of the comment line to the end of the specified position. (Use the up and down keys to determine the number of
1. Under Linux is also programmable, oh, using the VIM program editor, if you learn to use VIM and can read a vim program, it is very much. Before introducing VIM, we will first learn about his predecessor VI. VI has three modes: General mode, edit
There are several possible situations in which a swap file can occur:1, when you use Vim to edit a file, an unexpected event occurs, causing the window to close, or the system crashes restart;2, another vim is editing the file;Here is the first case:
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
Step 1:CP/USR/SHARE/VIM/VIMRC ~/.VIMRCFirst copy the Vim configuration template to the personal directoryStep 2:VI ~/.VIMRCEnter insert mode, add two lines at the endSyntax onSet nu!Save the call.Finally, attach other options (from the Internet)Set
If you need to operate files in Windows in Linux, you may frequently encounter file encoding conversion problems. In Windows, the default file format is GBK (gb2312), while Linux is generally a UTF-8. The following describes how to view the file
ArticleDirectory
Modified _ vimrc automatically takes effect
Enable culture in VIM
Set Font
Basic settings for editing PHP code
Set your favorite color scheme
More useful editing settings
Use nerdtree to implement
The Vim plug-in technology is introduced in VIM (4). This section uses these technologies to create a python IDE.
1. Grammar highlighting
To support Python syntax in Vim, plug-in python is required. VIM: this plug-in is located under //syntax/by
VI/Vim basic usageThis article introduces the basic usage of VI (Vim), but it is enough for common users! The differences between I and Vim are simple. They are all multi-mode editors. The difference is that Vim is an upgraded version of vi. It is
Those who have used source insight must be impressed with its auto-completion function. In many integrated development environments, it also supports auto-completion. Vim, as an excellent editor, is indispensable. Moreover, as a General Editor,
Reference address: http://lsong17.spaces.live.com/blog/cns! 556c21919d77fb59! 603. Entry
Content:
If you only want to use the system clipboard, simply press SHIFT + inset (paste) in the input mode.VimThe help document includes the following content:
Because Vim's original email list server is damaged, the vim email list has been moved to Google group. You need to subscribe to it to receive emails in the list.
Subscribe to the Mail List, send an email to the following address, and then confirm
Source: ChinaUnix blog Date: 2008.07.30 (1 comment in total) I want to comment
Software requiredVimHttp://www.vim.orgCode_complete.vim plug-inHttp://www.vim.org/scripts/script.php? Script_id = 1, 1764Ctags are usually available
How to Use the vim command to move the cursor
It is worth mentioning that the pdf version of my vim tutorial has been completed. You can download it. Here is the download of csdn: csdn. If the download fails on the left, you can also enter 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