facing this product for nine hours in a day.
DelimitMate auto-completion"These things.
The followingcss,stylus,go,javascriptAll languages are enhanced.
Ultisnips is a fast code snippet. For example, each file has a header comment, and the framework can be put in it. A large number of code writes are artifacts.Shortcut Key
The shortcut keys of vim are somewhat unreasonable. This makes it hard to remember.
At first, I thought that I was reading tan haoqiang's book. This is an inexplicable shortha
the text at the end of the row and enter the insert mode. This is easy to use. You don't have to worry about where the cursor is in this line. If you press A, you will be waiting for you to enter text at the end of the line.
O (uppercase letter O) opens a new line on the line where the cursor is located to enter the text and enter the insert mode.
S. Delete the row where the cursor is located and enter the insert mode.
2. Visual Mode
Lower-case v visual mode
Uppercase V visual Block Mode
Ii. Co
move the cursor to the first line of the current display page
M cursor moves to the middle line of the current display page
L move the cursor to the last line of the current display page
7. freely operate the cursor
Ctrl + o return to the top position of the cursor
(4) frequently used editing buttons
1. delete)
Dd deletes the row where the cursor is located.
Ndd deletes n rows down from the row where the cursor is located
D1G delete all rows from the row where the cursor is located to the first
Common linux commands are useful.
1. ctrl + A returns the character at the front of the edge.
2. When ctrl + R is used to query history, the command used is prompted.
3. In vi, move to the row header, press the number 0, and move to the end of the row and press $!
4. You can download wget httpd: // afdasfd.com or svn co httpd. // name.com or svn export url.
5. vi vim
Copy: 1, 6y à Enter (copy 1-6 rows) y = yank
Delete: 1: 6d à Enter (delete rows 1-6)
to the last line in the history
Alt +? -Show current completion list
Alt + *-Insert all possible completions
Alt +/-Attempt to complete filename
Alt +.-Yank last argument to previous command
Alt + B-Move backward
Alt + c-Capitalize the word
Alt + d-Delete word
Alt + f-Move forward
Alt + l-Make word lowercase
Alt + n-Search the history forwards non-incremental
Alt + p-Search the history backwards non-incremental
Alt + r-Recall command
Alt + t-Move wor
When using Linux, we often encounter shell, which is too common in the Linux operating system, but Linux, which has been used for a long time, today I found that several useful shell control keys have never been used. Here we will introduce some uncommon shell Combination control keys.
^ Z pause the current command^ S pause screen output^ Q restore screen output^ U Delete the entire command Column^ R starts receiving commands from the past progressively^ W remove the last parameter from the cur
X
Delete 5x characters
Dd
Delete row 5dd
CC
Delete the row and change it to input mode 5cc
V
Visualization, you can choose
Y (Yank)
Use v first, and press y to buffer it.
YY
Buffer the current row
P
Paste buffer content after the current cursor or under the current row
P
Paste buffer content to the front of the current cursor or o
move n sentences forward! .? Three symbols to define
N )? Nbsp; move the right parenthesis to the beginning of the next sentence and add a number to move n sentences to the end! .? Three symbols to define
N {? Move the left arc to the beginning of a paragraph. The Section is defined by a blank column between paragraphs.
N} You can move n paragraphs forward, right arc, to the beginning of the next paragraph, and add a number to the beginning of the next paragraph. You can move n paragraphs backw
copiedBy the standard Yank and delete operations, but the user can also indicate a specific register in which they want to store text when they cut or copy. this variable tively acts like a clipboard multiplexer. the contents of the registers persist between usesVim, which means that they are preserved when you quit and will still be there when you open the editor again.
Macros: Vim has a macro system that allows you to record keypresses for later p
is defined by the blank columns between paragraphs.
(3) More editing commandsThese editing commands are very flexible and basically consist of commands and scopes. For example, DW is composed of the DELETE command D and the range W, which means to delete a word D (elete) W (ORD ).The command list is as follows:D. Delete)Y replication (Yank)P placement (Put)C Change)The range can be:E? BR> W cursor position to the first letter of the next wordB. Place
right parenthesis to the beginning of the next sentence, and add a number to the front to specify to move n sentences backwards.
N {Move the left arc to the beginning of a paragraph. You can move n paragraphs forward by adding a number. The section is defined as a blank column between paragraphs.
N}Move the right arc to the beginning of the next paragraph, and add a number to the front to specify to move n paragraphs
I am afraid some readers have begun to speak out: so many"It is too complicate
Summary
In this article, we will address the issues that will be encountered during the construction of a database-driven Web site. And we will only use two new tools, PHP and MySQL. If your web host supports Php/mysql, you'll save yourself a lot of trouble. If not, you don't have to frost, and we'll learn how to install programs in UNIX and Windows.
This article is for senior web designers who are likely to learn server-side programs. We think our readers are familiar with HTML, so we don't giv
Although everything looks good, we still haven't achieved our goal of truly interacting with users. Our users should be able to enter arbitrary information and hand it over to PHP for processing. Next, let's take the example on the personalized welcome page. We want our users to enter their (or her) names and display them in the information at will. We want users to input data, we need to use HTML forms.Here is the form code:First Name: Last Name: Except that you can enter your name her
, enter ": Set nopaste" to re-open the original auto indent settings.----- In actual use, the = number can be used for automatic formatting without the use of set cindent. Is it strange?
16 set number (set Nu); Set nonumber (set Nonu)
17 typographical codeYou can use "v" to highlight a piece of code and then use "=" to automatically print the code.If it is a file, you can use Gg = g for layout, or Gg v G = for layout, the effect is the same.
18. Cut, copy, and paste in visual selection modeCTRL
number to the front to move n paragraphs to the back │Certificate ---- certificate ------------------- certificate ---------- CertificateDo not repeat these commands; otherwise, you are solely responsible. They look messy, factThis is an obstacle in the text description. Once again, you only need to use it a few times.These strange commands are far more powerful than rote memorization.(Note: if the data is deleted by mistake without the brainIt has nothing to do with me. In addition, this secti
perform local development on any supported platforms, and thenDistributed building on a computer or server, or even remote debug in, is the so-called remote product environment (production-like environment ).
Netbeans 6.5 also contains an enhanced database connection interface and built-in support for database operations. In general, it is not an alternative to a full set of database tools, but does a lot of work to allow developers to do more in the IDE.
Sun intends to use it as a cloud comput
that are followed by numbers 4 ), then the regular expression is not just a tool to complete this task-it is also the only tool to complete this task. Poor people often receive string fragments and tearful requests in their emails (seeking for a regular expression to parse these strings ), generally, you are also promised to have a drink (but it has never been fulfilled ).
Recommended for editing: Full learning manual for regular expressions: getting started with cainiao
Excellent Unix administ
that used to block C-space from the operating system.C-W remove (kill) the content of the marked areaM-W copy the content of the marked areaC-y recall (Yank) copy/remove region/rowM-y recall earlier content (loop in the kill buffer)C-x C-X Exchange cursor and tag
C-T exchanges two charactersM-t swap the location of two wordsPosition of C-x C-T switching two rowsM-u converts the letters from the cursor position to the end of the word into uppercase le
" S_gbk=s.encode ("GBK") #编码print (s) print (S_GBK)Print ("-----GBK converted to utf-8-----")Gbk_to_utf8=s_gbk.decode ("GBK"). Encode ("Utf-8") print ("UTF8", Gbk_to_utf8)Operation Result:Hello B ' \xc4\xe3\xba\xc3 '-----GBK converted to utf-8-----UTF8 B ' \xe4\xbd\xa0\xe5\xa5\xbd '2. Example:#-*-Coding:utf-8-*-s= "study hard" #注意: At this time S is still the default Unicode form of the system, not affected by the text header coding:utf-8 S_to_gb2312=s.encode ("gb2312") #所以可以直接编码为gb2312gb2312
current word.Alt-backspaceKill text from the cursor location to the beginning of theWord. If the cursor is at the beginning of a word, kill the previousWord.Ctrl-y Yank (copy) text from the kill-ring and insert it in the cursor location.Command line history:!! Repeats the last command, which is equivalent to the UP ARROW key of the secondary keyboard;!number execution of the command line of article number in history;!string executes the command line
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.