2007年5月26日

一些VIM的資料與小小心得

利用Google搜尋VIM,可以找到一堆資料。但資料太多,容易霧裡看花,到最後反而學不到什麼。

這裡是學習VIM編輯器(最新版本為VIM 7.1)的過程中,參考的資料以及心得紀錄。原始的『資料』唯有適當的整理、消化,才能成為有用的『資訊』。企盼本篇文章持續更新...

技巧

  1. 開啟檔案,並置於新分頁:
    : tabnew file_name
  2. 分頁(VIM 7.0 and later)from Neo's blog:以下列方式開啟VIM
    gvim -p *.cpp
  3. 跳至某一行(使用z):

    200z + Enter

外掛模組

  1. taglist.vim : Source code browser
  2. c.vim : C/C++-IDE
  3. FencView.vim : Autodetect multiple encodings
  4. ctags

有用連結

  1. VIM Tips:一堆tips等你發掘(可搜尋)。
  2. Some color schemes
  3. Vim and Visual Studio IDE from vgod's blog
  4. 一些Vim的介紹(中文)from 紅塵一隅間拾得
  5. 大家來學 Vim一個歷久彌新的編輯器》by 李果正
  6. Vim7 的新功能 by 李果正
  7. Vim tips: Using tabs by Joe 'Zonker' Brockmeier
  8. Vim Tips from Dissociated Press
  9. Linux.com上的Vim Tips(Search Result)

還不懂的(想要的)

  1. 一些範本檔(如C++),透過key binding(或其它快捷方式),產生固定的文字塊。並可代換其中一些變數,例如套入今天日期,以及檔名。

沒有留言:

Google Analytics

Powered By Blogger
Get Paint.NET!