Vim zh-hant community website
JavaScript CSS HTML Makefile Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_includes Add style of selection Jun 29, 2016
_layouts
_sass Use variable for style file Jun 29, 2016
images
js Fix fetch api Dec 9, 2015
.editorconfig Add editorconfig Dec 10, 2015
.gitignore add Gemfile for support bundler Dec 9, 2015
CNAME change domain name. Dec 10, 2015
Gemfile
LICENSE
Makefile add kill option of make Dec 9, 2015
README.md update telegram url Dec 31, 2016
_config.yml Apply GitHub-Page Dec 8, 2015
index.md update telegram url Dec 31, 2016
style.scss Add status bar Jun 29, 2016

README.md

Vim 正體中文社群網站

討論及分享 Vim 相關技巧的小圈圈,請儘量使用正體中文發言,詳情請參考 http://www.vim.tw

聯繫管道:

如何在本機 (localhost) 建置環境

vim-tw.github.io 使用 github-pages (Jekll) framework 進行建置,詳請請參考 Using Jekyll with Pages | GitHub Pages Basics 一文。

  1. 安裝 Ruby 套件。

     $ #gem install --no-ri --no-doc bundler github-pages
     $ make install
    
  2. 執行 server。

     $ #bundle exec jekyll serve
     $ make run
     Configuration file: /Users/vimmer/vcs/vim-tw.github.io/_config.yml
                 Source: /Users/vimmer/vcs/vim-tw.github.io
            Destination: /Users/vimmer/vcs/vim-tw.github.io/_site
           Generating...
                         done.
      Auto-regeneration: enabled for '/Users/vimmer/vcs/vim-tw.github.io'
     Configuration file: /Users/vimmer/vcs/vim-tw.github.io/_config.yml
         Server address: http://0.0.0.0:4000/
       Server running... press ctrl-c to stop.
    

程式架構 (Architecture)

若需新增其它頁面,只需於根目錄下新增 foo.md 或 foo.html 即可,(README.md 例外,請參考 _config.yml 裡的第一行 exclude: [README.md])。

$ tree
.
├── CNAME
├── Gemfile
├── Gemfile.lock
├── LICENSE
├── Makefile
├── README.md
├── _config.yml
├── _includes
│   ├── footer.html
│   └── header.html
├── _layouts
│   └── default.html
├── _sass
│   └── variable.scss
├── _site
│   ├── CNAME
│   ├── Gemfile
│   ├── Gemfile.lock
│   ├── LICENSE
│   ├── index.html
│   ├── js
│   │   └── fetch.js
│   └── style.css
├── index.md
├── js
│   └── fetch.js
└── style.scss

6 directories, 21 files

授權 (LICENSE)

Coypleft (ɔ) from 2015 Vim Taiwan CC BY-NC 2.5 TW.