This is my vim configuration for my daily programming usage. I configured my vim to be programming-friendly with suitable tweaks to built-in features, interface, formatting, etc. The plugins I choose tend to be simple-to-use and practical. I don’t mean to make a completely different editor or to make a fancy vim so I would keep everything simple and won’t go far from typical vim practices.

My configuration has been published over a year. Here’s my 3rd major update to it. Feel free to clone/fork it if you find my configuration suitable for you.

GitLab (main): https://gitlab.com/archerindigo/vimrc

GitHub (mirror): https://github.com/archerindigo/vimrc

v0.3.0 Release: https://gitlab.com/archerindigo/vimrc/tags/0.3.0

Changelog of v0.3.0:

  • Added the simpler Ctrl-C, Ctrl-X, Ctrl-P, Ctrl-V shortcut keys as system clipboard copy, cut and paste respectively
  • Added gitv v1.3.1 to support more git operations within vim
  • Added optional config for recommended font (Source Code Pro)
  • Enabled copy-on-select in gvim
  • nerdtree uses v5.0.0 instead of master
  • vim-fugituve uses v2.4 instead of master
  • Other plugins updated to sync with master
  • Updated screenshot
  • Fixed plugins not cloned due to missing .gitmodules

這是我日常使用vim時所用的設定和插件。這個設定檔針對日常編程需要而設,對vim內置的功能、介面和格式排版作出了相應的調整,並採用了簡單而實用的插件。這些設定旨在令vim達至更完善、更方便的編程工具,並盡可能不影響vim的一般使用習慣。

設定檔公開至今已超過一年,這次是第三次主要更新。如覺得合用,歡迎取用!

v0.3.0更新內容:

  • 加入Ctrl-C, Ctrl-X, Ctrl-P, Ctrl-V快捷鍵,進行系統剪貼板的複製、剪下和貼上動作
  • 新增gitv v1.3.1插件,方便在vim內進行更多git的操作
  • 新增Source Code Pro字型的相關設定,可選擇性地啟用
  • 啟用gvim「選取同時複製」功能
  • nerdtree改用v5.0.0而非master
  • vim-fugituve改用v2.4而非master
  • 更新其他插件至master branch的最新版
  • 更新截圖畫面
  • 修正因缺失.gitmodules而無法在git clone同時下載插件的問題
如您欣賞我的文章,不妨登入/加入LikeCoin(現在還可以用Google/FB/Twitter註冊呢!)並按下上面的LikeButton 5次,協助化讚為賞。謝謝!

Originally published at 青鳥脈博 on October 16, 2018.

正在德國深造的90後香港電腦工程師。偶爾寫寫電腦技術、時政、分享攝影作品等。| 本站: https://bluebirdbeats.com/ | fb: fb.me/archerindigo | ig: terrytsang.indigo

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store