• 追加された行はこの色です。
  • 削除された行はこの色です。
* A quick reference of the vi commands [#j9d0f2f3]
vi (visual editor) is the default command for the UNIX operating system.

Commands
** Basic commands [#m5a1ed1f]
|Command|Description|
|h | move cursor left one character |
|j | move cursor down one line |
|k| move cursor up one line|
|l| move cursor right one character|
|$| move cursor to the end of current line |
|w|move cursor to the beginning of the next word |
|b| move cursor back to the beginning of preceding word |
|1G| move cursor to the frist line in the file |
|nG| move cursor to line n |
|G| move cursor to the line n|
|:u | undo |
|:q| quite |
|:wq | save and quite |
|:q! | quite without saving |
|i| insert text before the cursor|
|I| Insert text at the beginning of the current line |
|a|append text after the cursor|
|A|append text to the end of the current line |
|o|open and put text in a new line |
|O|open and put text in a new line above current line|


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS