?? l2.1
字號:
#print Basic Movement - Small movements The next few lessons will cover the basic movement commands, allowingyou to move around in a file. In this lesson we'll talk about moving smalldistances, such as up and down a line, forward a character, etc. Moving up and down a line is accomplished with the - command (to go up)and the return key (to go down). Going forward and backward is done withthe space bar (for going forward) and the backspace key (for going backward). If your terminal has arrow keys, you can also use them to move aroundin the appropriate directions. As a last resort you can even use theh, j, k and l keys just like arrow keys: k - up h - backward l - forward j - down Now go into vi for practice by typing vi Movement1There will be instructions. After quitting, type 'ready' to move on.#create Movement1 You can go between lines using minus ('-') to go up and return to go down.You can move forward and backward using the space bar and the backspace key. If your terminal has arrow keys, you can move using them and if not, youcan use h, j, k and l as follows: k - up h - backward l - forward j - down Note that 'k' works differently than '-' in that when you use '-', vialways puts you at the first character on the new line. 'k', on the otherhand, just moves the cursor straight up, leaving it in the same column ifpossible. The same difference exists between 'j' and the return key. Try it! When you're done, type :q to leave the editor, and when you seethe percent sign type 'ready' to go on to the next lesson.#user#next2.2 10
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -