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.0.3 Release: https://gitlab.com/archerindigo/vimrc/tags/0.3.0
Changelog of v0.3.0:
Added
- 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)
Changed
- 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
- 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同時下載插件的問題
舊日Vim相關文章:
引用通告: 2018 Blog務回顧(二):從個人生活轉化成文章 « 青鳥脈博