1 / 17

Compiler 助教課 vi 編輯器

授課:呂明達. Compiler 助教課 vi 編輯器. 大綱. Linux 上的編輯器 Vi 畫面 Vi Last line 模式 Vi 編輯模式 Vi 指令 模式. Linux 上的編輯器. Vi Jed EE joe. Vi 畫面. Vi 畫面. Vi 畫面. Vi 畫面. Vi Last line 模式. Vi Last line 模式. Vi Last line 模式. Vi Last line 模式. Vi Last line 模式. Vi Last line 模式. Vi Last line 模式.

vila
Download Presentation

Compiler 助教課 vi 編輯器

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 授課:呂明達 Compiler 助教課vi編輯器 製作及版權所有均屬呂明達

  2. 大綱 • Linux 上的編輯器 • Vi畫面 • Vi Last line模式 • Vi編輯模式 • Vi指令模式 製作及版權所有均屬呂明達

  3. Linux 上的編輯器 • Vi • Jed • EE • joe 製作及版權所有均屬呂明達

  4. Vi畫面 製作及版權所有均屬呂明達

  5. Vi畫面 製作及版權所有均屬呂明達

  6. Vi畫面 製作及版權所有均屬呂明達

  7. Vi畫面 製作及版權所有均屬呂明達

  8. Vi Last line模式 製作及版權所有均屬呂明達

  9. Vi Last line模式 製作及版權所有均屬呂明達

  10. Vi Last line模式 製作及版權所有均屬呂明達

  11. Vi Last line模式 製作及版權所有均屬呂明達

  12. Vi Last line模式 製作及版權所有均屬呂明達

  13. Vi Last line模式 製作及版權所有均屬呂明達

  14. Vi Last line模式 • :n將游標移至第n行(n為任意數字) • :e! 放棄前面所有編輯動作,重新自disk 中load 目前所編輯的檔案 • :set nu 在每一行前顯示行號 • :set nonu不顯示行號 • :r filename 自disk 中讀取檔案filename 加入目前游標所在列之後 製作及版權所有均屬呂明達

  15. Vi Last line模式 • :w filename 將目前編輯資料存至disk 中檔案filename,若filename 不給,則存回原叫修檔名。 • :wq filename 同上。存檔後離開vi 環境。 • :w! filename 強制寫檔。 • :q 離開目前編輯環境。若檔案曾修改,系統會提示User 存檔或用q! 離開。 • :q! 強制離開vi 環境 製作及版權所有均屬呂明達

  16. Vi編輯模式 製作及版權所有均屬呂明達

  17. Vi指令模式 • 重要指令 • i 輸入 • u 還原 • d 行刪除 • x 字刪除 • /字串 搜尋 • n 找下一個 • yy複製 • p 貼上 製作及版權所有均屬呂明達

More Related