On the Wiki
Wiki Activity
Random page
Videos
Photos
Chat
Community Portal
To do
ContributeWatchlistrandom pagerecent changesin Line copy and paste to system Clipboard
1,616pages onThis WIKI EditTalk0Tip 1511Printable MonobookPreviousNextcreated 2007 ·Complexity BasicauthorRobert Iannucci version 7.0
This tip applies to those Mac, Linux, and Windows users who is unable to access the System clipboard using the BUILTIN
Abstract in this article, we will address the issues that will be encountered during the process of building 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 a lot of trouble. If that's not the case, you don't have to frost, and we'll learn how to install the program under UNIX and Windows. This article is for advanced web designers who are likely to learn the development of server-side programs. We think our reader
by index
F2
Next Bookmark
Shift+f2
Prev Bookmark
Ctrl+f2
Flag State Toggle
Ctrl+shift+f2
Clear bookmarks
Alt+f2
Select All bookmarks
Ctrl+shift+k
Run macro File
Alt+q
Wrap lines
Ctrl+k, Ctrl+u
Upper case
Ctrl+k, Ctrl+l
Lower case
Ctrl+k, Ctrl+space
Set Mark
Ctrl+k, CTRL + A
Select to mark
of the row.X: Delete the first character of the cursor position every time you press it.X: Delete the next character at the cursor position every time you press it.# X: delete 6 characters after the cursor position.D ^: Delete to the beginning of the row.D $: Delete to the end of the row.DD: (CUT) Delete the row where the cursor is located.DW: Delete the remaining part of a word after a word/cursor.D4w: delete four words.# DD: delete a row from the row where the cursor is located.Dab: delete {}
Putty is the best SSH client I can find in Windows platform. but unfortunately, it has it's own interpretation of the keyboard layout and it treats the right Alt key on my PC keyboard as altgr, this breaks the yank while I'm using Emacs. I surfed around the Internet tried to find the solutions, but with no luck. so I decide to sit down and make a modification to have it work for me.
My change is very simple, I just disabled the altgr translation, so
build Process(1), define the service contract. Service contracts Specify the signature of the service, the data that is exchanged by the service, and the data required by other contracts(2) Implementation of the agreement. To implement a service contract, you create a class that implements the contract and specify the custom behavior that the runtime should have.(3) Configuring services by specifying endpoints and other behavior information(4), bearer services(5), build the client application.R
Abstract: In this article, we will solve the problems we will encounter when building a database-driven website. We only use two new tools, PHP and MySQL. If your Web host supports PHP/MySQL, you will save a lot of trouble. If this is not the case, you do not need to worry about it. we SyntaxHighlighter. all ();
Abstract: In this article, we will solve the problems we will encounter when building a database-driven website. We only use two new tools, PHP and MySQL. If your Web host supports PHP/M
How can I write PHP code to be hired ?, How can I write PHP code to be hired ?, KevinYank once worked as an interviewer at SitePoint. he published a GoodandBadPHPCode and elaborated on his views on the advantages and disadvantages of PHP code through some code examples. A few simple things are mentioned :? Replaced? Php, which is more in line with XML "> Kevin Yank was an interviewer at SitePoint. he published a Good and Bad PHP Code and elaborated on
overwritten outside the loop, and the result won't be able to get the result. After the experiment, I will summarize it in a single sentence: for List
However, the preceding summary contains a special column: string type. String is very special in. net. The. net official put it into the reference type, but it is very similar to the value type. For details, refer to the article about the wind of park friends: http://www.cnblogs.com/yank/archive/2011/
following example, the "y2w" command is used to copy two words, and the "YY" command is used to copy an entire line. "Y" is also used to copy the entire line, the command to copy the current cursor to the end of the line is "Y $ ".
23. Quick commands
X Delete the characters under the current cursor ("DL" shortcut command)
X Delete the character before the current cursor ("DH" shortcut command)
D. Delete the content from the current cursor to the end of the line ("d $" shortcut command)
DW del
of rows; semicolon; indicates executing multiple sed commands, using the-E Option, such as sed-e '...... '-E '...... 'File has the same effect. As for the n command, we will talk about it later.
firstthird
secondfisrtsed
Change:
Change a to B:Sed's/First/One/G' File;
onesecondthirdonesed
Converts a row to uppercase:Sed '2 y/abcdefghijklmnopqrstuvwxyz/'fileY indicates Yank (which is similar to Y in VIM). In fact, it is a ing. A ing is a
+ Shift + enter
Insert after segment
CTRL + enter
Delete the front of a word
CTRL + Delete
Delete the back of a word
CTRL + backspace
Delete to end of line
CTRL + k, K
Delete to line Header
CTRL + k, backspace
Forward and backward adjustments
CTRL + T
-- Tag --
Close tags
Alt +.
Select tags (repeated)
CTRL + Shift +
The selected region is included by tags.
Alt + Shift + W
-- Mark --
Set mark
CT
------------------- certificate ---------- Certificate
Do not recite these commands. Otherwise, you are solely responsible for the consequences. They seem to be numerous and messy. In fact, this is an obstacle in the narrative itself. Once again, simply using it a few times can directly launch strange commands without the brain, which is far more vague than rote memorization. (Note: If I do not really miss my brain, it will be irrelevant to me. In addition, this section is nonsense .)
Advanced
Recently I found that the notebook fan is getting louder and louder. The reason is that Visual Studio occupies a lot of resources, and it is very happy to contact and type on quickqwerty during this time, so try Emacs.
# Emacs
# Emacs keysC-M-
# Exit
Exit: C-X c-c
# Common text operations
Key Binding operation (command)C-g (ESC) keyboard-quit is used to exit the started commandBackspace backward-delete-CharDelete (c-d) Delete-CharC-x u (c-_) advertised-UndoM-d kill-wordM-delete backward-kill-
location and file statusCTRL + g (show filename and the position in the file)G (move you to the bottom of the file)GG (move you to the start of the file)Line + g (go to line): Line (go to line)Lesson4.2: SEARCH Command/(Search forward)? (Search backward)CTRL + O (go back to where you are before search)N (next occurrence)N (previous occurrence)Lesson4.3: % (Marching ")]}")Lesson4.4:: % S/old/new/g (to substitute new for old in the whole file): #,# S/old/new/g (from line # To #, substitute new fo
use gvim, you can press and hold the left mouse button to drag the selected area to highlight it:
Visual mode, continue
In addition, you can press V to enter the visualization mode (if you are using vi, this may be the only option ). Then, use the move command to move the cursor (usually the direction key) to select a piece of text. After the selection, you can cut or copy the text.
If you want to copy the text, Press Y (representing "Yank"). I
1. Command operation scope
In fact, many Vim commands are only edited within a text range. A text range can be one character, one word, one line, or another specified character range. You can use the vim command and the text range control key to better complete the editing task. The command format is as follows:
Command + Operation Range
The command can be:
D: delete command. Delete the text of the specified range and save them to the temporary buffer.
Y: Copy (
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 backward, which is defined by the blank columns between paragraphs.
(3) More editing commands
These editing commands are very flexible and basically consist of commands and scopes. For example, DW is composed of the DELETE command D and 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.