enter edit modeR: Replace the character at the cursorW Save gg=g Automatic alignment syntaxR: Replacement modeYY: Copy when moving forwardYYY: The current line and the following three rowsP: PasteNYW: copy n wordsU: UndoD: CutDD: Cut one lineNDD: Cut n rowsX: Delete the character of the cursor, equivalent to the [dele
contentCopyYou can use Ctrl + V to paste the clipboard to other documents (such as Firefox and gedit). Similarly, you must press Ctrl + C or right-click it elsewhere.CopyContentCopyToVimIn normal mode, press "+ P;
ToVimPaste the content in a clipboard and exit the editing mode. In normal mode, press "NP, where N is the clipboard number, as described above, you can press "5 p to paste the content in the
dataYG copy cursor row to last row of datay0 copy cursor to the first character of the liney$ copy cursor to the last character of the lineP Small p indicates that the copied data is pasted on the next line of the cursorP Large p indicates that the copied data is pasted
Delete, copy, and paste linux vim shortcut keys
Delete
In lowercase, x indicates that a character is deleted backward, that is, the character where the cursor is located is deleted.
Nx n indicates a number, indicating that each character is deleted backward. For example, 10x
Copy and paste in LIinux terminal and Vim
In the GUI, we can copy and paste it freely. But in the character interface, we have to select with the mouse, then click the right key, select copy, and then go elsewhere to Ctrl-v. In ad
, including the use of numbers. d cut the selected block to the buffer; dd cut the entire row d ^ cut to the first row d $ cut to the end of the row dw cut a word dG cut to the end of the file 4. paste the imperative p, that is, put (put down) p lowercase p stands for sticking to the cursor (bottom), because the cursor is at the position of a specific character, therefore, P is followed by this
Delete a character after the cursor XDelete a character before the cursor shift+xDeletes the specified number of character digits +xDelete a line of characters DDCut the specified number of rows dd 3DD cut 3 linesActually, it's not erased, but it's kept in the Clipboard.Paste on the line below the cursor pPaste a line on the top of the cursor shift+pWithdraw one
copies the current cursor position to the end of the line: y$ Copy the current cursor position to the beginning of the row: y^ copythreeLine: 3yy, that is, from the current cursor + the next two lines. Cut text: You can press Y to copy after selecting the text with V, if you press D to cut, then press p to paste.CutLine: DD cuts the position of the current line cursor to the end of the line: d$ cuts the po
directories will not display colorFor example: We move the/etc/passwd/to the/tmp/, and then vim he will not show the color·Whether the vim color shows many aspects, such as the directory, suffix, etc.·VIM has its own configuration file, in/ETC/VIMRCUsers can configure their own vim:·Move cursor: H left, l or space right, J, KWe can also use the number plus the key to move the cursor, meaning to move a few letters in this direction.·····Vim General mode to move the cursorCtrl+f is a screen one s
The usual copy and paste commands for VIM are organized as follows:1. Select the text. Using V to enter the visual mode, move the cursor key selection.2. The command to copy is: Y, the commonly used commands are as follows:Y Copies the selected block to the buffer when a piece is selected using the V mode;yy copy entir
1. Select a text block. Using V to enter the visual mode, move the cursor key selection.2. The command to copy is Y, which is yank (lifted), and the commonly used commands are as follows:Y Copies the selected block to the buffer when a piece is selected using the V mode;yy copy entire row (Nyy or yny, copy n rows, n is number);y^
Clipboard-related classes
Clipboardmanager
In Android, the system clipboard is represented by a global clipboardmanager class. You cannot directly instantiate this class. On the contrary, you must call the getsystemservice (clipboard_service) method to obtain reference to it.
Clipdata, clipdata. item, and clipdescription
To add data to the clipboard, you need to create a clipdata object that contains the data description and data itself. The clipboard holds only one clipdata object each time. Th
character of the filegu= all uppercase in the selected rangeg= to end of file
3. Convert only one word
Guw, GUEGUW, GUEThe words that follow the cursor are then converted to uppercase and lowercase.The command to convert 5 words is as follows:gu5w, gu5egu5w, gu5e
4, convert the case of a few linesPosition the cursor on the line that you want to convert, type: 1gU lowercase to uppercase conversions from the line below the cursor10gU
I is inserted at the currentI is inserted at the first rowA is inserted after the current characterA at end of line insertiono Insert Next lineO Insert Previous LineX back to remove one characterX Delete one character forwardU Click Undo one step Restore back Ctrl+rRow operationsHome ^ "Keyboard 6" moves to the beginning of the lineEnd and $ move to end of lineDD Cut P is paste Ndd such as 3DD delete three
section JquerY Easyui Intelligent Loading and individualization 4th section more directly manipulate UI instances 16th. MVVM 1th Section Current mainstream MVVM framework Introduction 2nd section Property Change Listener 3rd Section ViewModel 4th section Binding 5th Section Monitoring array and sub-template epilogue Reading order, in principle there is no requirement, but the 2nd Chapter, 6th Chapter, 14th Chapter, 16th Chapter is very challenging, we can postpone reading. If the foundation is
is not equal to-1, at first I write not equal to 0 ... The result is an error while (len = Br.read (cbuf))! =-1) {bw.write (cbuf, 0, Len), Bw.flush ();//flush buffer After write, just like closing the door}//timely release of resources Br.close (); bw.c Lose ();}}ResultJava is good, worth learning.Learning resources: Itcast and Itheima Video library. If you have public resources, can share to me, with your resources to learn also can.Blog post is to watch the video, into thinking written. It's
Copy Code code as follows:
function Textvalidate (type) {
var code;
var character;
var Lang = document.getElementById (' lang '). Value;
var err_msg = "";
if (Lang!= "Eng") {
err_msg = "folder name cannot contain one of the following characters: \ n \/: *? \ "}
else {
err_msg = "A Folder Name cannot contain any of the following characters:\n \/: *? \ "}
if (type = = "Input") {
Code = Windo
PS Copy the character, how will the arm deformation?
1, open a picture, as shown in the picture, you can also double-click the layer, the background layer into a normal layer.
2, press the CRL key Gaga number key, and then enlarge the picture, as shown in the figure
3, with the Quick selection tool, the figure of the character is chec
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.