Javascript is a Web scripting language. Vim is the preferred editor for many programmers. Vim can be widely used to automatically complete the Javascript syntax. To use this feature, you must enable it first.
In Vim command mode, enter the
The clipboard-related content in the Vim Help document is as follows:
Vim has 12 clipboard, which are 0, 1, 2,..., 9, A, ", and +. You can use the: Reg command to view the content of each clipboard. In vim, simply copy Y to the "(double quotation
Vim has been learning for nearly two weeks. It is indeed a very powerful editor. I believe it will speed up text more quickly after a while.CodeEditing efficiency.
At ordinary times, I am mainly engaged in Web development. Based on the Asp.net
As we all know, Vim'sCodeIt is maintained by Bram using patches, a typical centralized management, although edyfoxThe https://vim.svn.sourceforge.net/svnroot/vim maintains the SVN version, but it only imports CVSThe problem is that when you want to
Registers are used to store specific content in VIM operations. Most normal commands and some ex commands can specify the registers associated with operations. Registers are also special variables in Vim, so they can be accessed in command lines and
After Vim is installed, place the PHP syntax highlighting plug-in PHP. Vim in the/usr/share/Vim/vimfiles/syntax directory.
PHP syntax highlighting plug-in download here: http://www.vim.org/scripts/script.php? Script_id = 1, 1571
Then configure
For a vimer, VIM plug-in management is actually a problem.For a vimer who prefers to reinstall the system, VIM plug-in management is actually a very important issue.For a vimer who likes and prefers the latest plug-ins and reinstalls the system, the
Vim multi-file and multi-screen operations
1Open multiple files in the same windowVI file1 file2 file3: n switch to the next file (n = NEXT): n switch to the previous file
2Open multiple files in different windowsIf you have already opened a file,
When you use VI or Vim to edit a file, you should use WQ or X to exit when saving the disk, but sometimes you may accidentally press X,At this time, the system will prompt:Enter encryption key:
If you have not carefully read the prompt, for
1. The first line of the GG file and the end line of the G File
2 Vim auto-completionGenerally, CTRL + N is used to automatically complete the configuration. After vim7, C/C ++ functions, variables, or class members use Ctrl + X, CTRL + O can also
In the past, it was always necessary to exit Vim to update cs1_database ~~ Find this article on the Internet ~~
When using csflood in VIM to edit code, you may encounter an annoying problem. When you modify and modify some filesAh, I suddenly found
Let G: mapleader = ','
Set nocompatible
Set encoding = UTF-8
Set termencoding = UTF-8
Set fileencoding = UTF-8
Set fileencodings = ucs-bom, UTF-8, cp936
Set backspace = 2
Set number
Set history = 50
Set ruler
Set hlsearch
Set incsearch
Set mouse =
Watch Chen Hao Big Brother blog (http://coolshell.cn/), Learning vim, macro recording magic in my mind lingering, can not help but sigh Vim powerful.
Example:
Macro recording:
qaOperation Sequence
q,
@a,
@@
qaRecord your operations in the
Below are some of the useful Vim plug-ins collected and organized by dianhu. Most of the plug-ins have their own detailed instructions. Therefore, we will not detail the installation and use of each plug-in here. With these plug-ins, VIM can become
Although there are many SVN clients for visual management of SVN, such as small turtles in Windows, it is very good. However, it is not very convenient or convenient to use.
In Linux or Mac, the combination of SVN and Linux Command lines can play a
Remember to keep it in mind. The following method does not need to change the securecrt configuration, so it does not affect the display of other Chinese characters.Problem:For example, if a file is UTF-8 encoded, the file header is:1 #!
In other words, no eol at the end of a file is an incorrect file format, but many software in windows like this. We will not discuss this for the moment. Let's first look at how eol needs to be removed:
If the PHP file ends with?>, And this php has
From: http://www.kukaka.org/home/showonews/372
It took a long time to use vim as a PHP development tool. Previously, netbeans was used to directly press ctrl and then click the mouse to jump to the function definition. tracking code is very useful,
1. commands using regular expressions
The most common commands using regular expressions are: /(Search)Command. The format is as follows:
/Regular Expression
Another useful command is: S (replace)Command to replace the regular expression between 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