Coder Social home page Coder Social logo

cch's Introduction

我的另一個 Vim 設定檔

隨著 Vim 市佔率越來越低、其它像是 Visual Studio Code 之類的編輯器越來越多人使用(包括我自己也是會在上課的時候使用 VSCode 做為教學工具),身為 Vim 的愛用者,我希望可以讓更多人(?)可以知道 Vim 是個什麼樣的工具,所以錄製了「即將失傳的古老技藝 Vim」系列影片:

播放清單:https://www.youtube.com/playlist?list=PLBd8JGCAcUAH56L2CYF7SmWJYKwHQYUDI

順便也趁這個機會整理了一下我自己原本在用的設定檔以及外掛。希望這些影片除了可以讓大家學習如何使用(或是離開)Vim 的同時,也能知道 Vim 的設定檔在做什麼事。

如果你也喜歡這些影片,歡迎幫我點個讚或是加個訂閱,或是轉發給更多需要的朋友。

我的設定檔

目前它看起來是這個樣子(使用配色 Gruvbox):

screenshot

如果你喜歡我的 Vim 設定的話,可以使用以下方式進行安裝:

方法一:手動安裝

先備份原本的 .vimrc.gvimrc 以及 .vim 目錄,然後進行以下程序:

$ cd ~
$ git clone https://github.com/kaochenlong/cch.git .vim
$ ln -s .vim/vimrc .vimrc
$ ln -s .vim/gvimrc .gvimrc

最後開啟 Vim,並執行 :PlugInstall 指令安裝外掛程式。

方法二:快速安裝

如果你信得過我的話,你可以在終端機環境直接貼上並執行以下這段程式:

  1. 使用 curl
$ sh <(curl -L https://github.com/kaochenlong/cch/raw/master/utils/install.sh)
  1. 使用 wget
$ sh <(wget --no-check-certificate https://github.com/kaochenlong/cch/raw/master/utils/install.sh -O -)

快捷鍵設定

  • F2 啟動/關閉 NERDTree 視窗
  • F3 啟動/關閉 Tagbar 視窗
  • F5 執行程式(Ruby / JavaScript)
  • Leader key = ,

使用套件

外掛管理

編輯器功能加強

一般開發

Ruby/Rails 開發

配色

字型

有任何問題,歡迎直接來信,或是直接在 GitHub 上給我發個 Issue 或 Pull Request :)

by 高見龍 [email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.