Running Linux phần 5

Tham khảo tài liệu 'running linux phần 5', ngoại ngữ, ngữ pháp tiếng anh phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Chapter 9. Editors Text Tools Graphics and Printing Text that is deleted may be reinserted using the p command for put . Pressing p now will return the deleted line to the buffer after the current line. Using P uppercase instead will insert the text before the current line. By default p and P insert text from the undo buffer you can also yank and replace text from other buffers as we ll see later. The u command undoes the latest change in this case pressing u after dd is equivalent to p . If you inserted a large amount of text using the i command pressing u immediately after returning to command mode would undo it. To delete the word beneath the cursor use the dw command. Place the cursor on the word Diet and type dw Now is the tine for all good wof en to come tc the 31Ơ or the partụ. Afterward Me 11 go out for pizza and ofce. All Changing Text You can replace text using the R command which overwrites the text beginning at the cursor. Place the cursor on the first letter in pizza press R and type Now is the tine for all good wof en to come tc the 310 or the partụ. Afterward Me 11 go out for burgers and REH. ACE All The r command replaces the single character under the cursor. r does not place you in insert mode per se so there is no reason to use Escape to return to command mode. The command changes the case of the letter under the cursor from upper- to lowercase and vice versa. If you place the cursor on the o in Now in the previous example and repeatedly press you end up with the following NOW IS THE TINE FOR ALL JOUD WONEN TO CObE T0 THE AID OF THE PRRTTf Afterwards r He It go out for- burgers ano fries 1 67 All Another useful command for changing words is the cw command which lets you simply type in the new word and after pressing Escape removes anything that might be left over from the original word. If the new text is longer than the one being changed the space is automatically expanded as needed. 262 Chapter 9. Editors Text Tools Graphics

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
272    389    1    30-06-2024
92    360    2    30-06-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.