Not all of the shortcuts is useful. Only remeber the most useful.Mobile classCtrl + A-jump to the start of the line//jump to the beginning of the lineCtrl + E-jump to the end of the line//jump to the endALT + b-move Backward//move forward (one word)Alt + F-move forward//move backwards (one word)Edit ClassCtrl + u-delete Backward from cursor//delete operation (cursor to beginning of line)Ctrl + K-delete to EOL//delete action (cursor to end of line)Ctrl + w-delete Word//delete action (cursor to th
of the word)#w/e/b: Moving # words (#为数字)In-line movement:0: Move to the absolute beginning (including spaces)^: Move to the beginning of the line (excluding spaces)$: Move to end of lineMove between rows:#G: Move To Line # (absolute number of lines)G: Move to the last line: # Move to # # line (last line mode)Flip Screen:Ctrl+f (forward): Flip one screen downCtrl+d (down): Flip down half screenCtrl+b (backward): Turn up one screenCtrl+u (UP): Flip up half screenDelete character:X: Delete the ch
When doing a registration form, I learned how to use the JS Calendar controlIn fact, in this calendar of the control, there are many methods can be called as needed, there is no time to exploreSee http://www.cnblogs.com/yank/archive/2008/08/14/1267746.html, six different styles of calendar controls
Original: Kevin Yank from: www.linuxforum.net (congratulations on the opening again)
For a long time, one of the biggest selling points of PHP as a server-side scripting language is the automatic creation of a global variable for the value submitted from the form. In PHP 4.1, the producers of PHP recommend an alternative way to access the submitted data. In PHP 4.2, they canceled the old practice! As I will explain in this article, the purpose of mak
, and what file you are now, you can abbreviate: AR
: Next: Next, you can abbreviate: n
: Wnext: First Write and Next, you can abbreviate: WN
:p revious: Previous
: First: One
: Last: Final
3. Transfer data between Files
(1) Ordinary Yank and put
(2) Register
"x:" is a double quote, indicating that the register x,x is a-Z letter.
The usage also must cooperate with small change inside operator to use
For example: (register + operator) + motion
For ex
expression
? rexp
Search up
N
Repeat search in same direction
N
Repeat search in reverse direction
/
Repeat Search down
?
Repeat Search up
Fc
The cursor is positioned over a C character on the current line
Fc
The cursor is positioned where the first occurrence of the C character occurs at the current line
Tc
The cursor locates the previous character of a C character th
Article Introduction: Ajax and Web service data formats: JSON JSONP.
In the previous article we talked about the early centralized data format, xml,soap,html. Now, let's look at JSON and JSONP.
Json
JSON (JavaScript Object notation) is proposed by Douglas Crockford. He is a lightweight data interchange format based on JavaScript object literals.
We can convert the contents of the previous XML book format into the following JSON format:
1
2
3
4
5
6 7 8 9 (16) He ' is in
possible to determine the best way to compress an entire file or large blocks of data by passing it multiple times. For uncompressed data sources, it is best to use the Deflatestream and GZipStream classes. If the source data is compressed, the use of these classes may actually increase the size of the stream.
Specific implementation of the source code
1, compressed byte array
2, compressed string
In the compressed byte of the base extension, pay attention to character conversion, guaran
SHA1 to calculate once.Organize the parameters well, post requests. There was no sign-in success after this.After post, the content is included in a sentence location.replace ("http://weibo.com/ajaxlogin.php?framelogin=1callback= parent.sinassocontroller.feedbackurlcallbackretcode=101reason=%b5%c7%c2%bc%c3%fb%bb%f2%c3%dc%c2%eb% B4%ed%ce%f3 ");This is the result of a login failure, and the result is similar when the login succeeds, but the value of Retcode is 0. Then request this URL so that you
/archive/2008/12/10/1351504.html18. Table-Valued functionCreate FUNCTION [dbo]. [GETUPR] ( @upr varchar (2) --parameters in the incoming function) RETURNS @tab table ( UPR varchar (2)--Returns the field of the table, there is only one field) Asbegin if (@ Upr= ' 0 ') begin Insert @tab select ' U ' Union select ' P ' Union select ' R ' end Else begin Insert @tab select @upr end RETURN; END19. Scalar value function--==========
between words W e bMove in line ^ $0Move between sentences ()Move between paragraphs {}Move between rowsG 1G GGVim's editing commandsX Delete the character at the cursor locationd Delete command, combined with the use of the cursor relay character, delete the jump range of charactersW, B, E, $, 0, ^DD deletes the cursor in the row#dd Delete multiple rowsP Paste PasteThe P buffer is pasted at the bottom of the line where the current cursor is located, if the entire row is stored.Otherwise, paste
is placed in a vim register.
use the P command to paste the last deleted content after the cursor (large The write p can be pasted before the cursor)
Note:
if you pasted an entire line, the P command will be pasted on the next line of the cursor
If you paste a local string, the P command starts pasting after the cursor
Copy command
Vim with Y (Yank) com
-window-option-g Window-status-current-format ' #[fg=colour046,bold]Set-g status-right ' #[fg=colour226,bold][%y-%m-%d%h:%m:%s] '# # Just for Mac settings.# # Install Reattach-to-user-namespace first.# # Copy-paste Integration# # Use vim keybindings in copy mode# # Setup ' V ' to begin selection as in Vim# set-option-g Default-command "Reattach-to-user-namespace-l zsh"# # If your is in OSX env, uncomment line up.# Setw-g Mode-keys VI# bind-key-t Vi-copy v begin-selection# bind-key-t vi-copy y co
of the cursor XP: Swap the position of the character at the cursor and its trailing character ~: Convert case J: Remove line breaks after the current line Replace command (R, replace) R: Replace the character at which the cursor is located r: Switch to replace mode Delete command: D: Delete command, can be combined with the cursor jump character, to achieve range deletion d$: Delete to end of line d^: Delete to non-empty header d0: Delete to beginning dw:de:db: #COMMAND DD: Delete t
Tag: ACS executes name for start move buffer forward tag
Command
shortcut Keys
function
forward-word
M-f
Move forward one word.
isearch-forword
C-s
Incremental Search
undo
C-/
Undo the last operation, or cancel the previous operation if it is executed more than once.
keyboard-quit
C-g
Cancels the current command.
find-file
C-x C-f
Access a file in a new
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.