Zi 字媒體
2017-07-25T20:27:27+00:00
fugitive.vim 是一個與 git 結合的套件,它的好處就是可以在編輯時同時使用git指令
安裝
cd ~/.vim/bundle
git clone git://github.com/tpope/vim-fugitive.git
Vundle安裝
.vimrc
Bundle 'tpope/vim-fugitive'
在vim中執行安裝
:BundleInstall
使用範例
查詢特定一行 code 在哪個commit修改的
# 用 vim 開啟檔案後將游標選到該行
:Gblame
其他方好請參考官方文件
Categories: Vim
分類
Android
AngularJS
API Blueprint
Chrome
Database
MySQL
DataStructure
Docker
Editor
Vim
Firefox
Git
GitLab
Google API
Hadoop
Language
Go
Java
JavaScript
jQuery
jQueryChart
Node.js
Vue
PHP
Laravel
ZendFramework
Python
Mac
Network
Cisco
DLink
Juniper
Oauth
Server
Apache
Share
Unix
FreeBSD
Linux
WebDesign
Bootstrap
CSS
HTML
Wordpress
Search
搜尋關鍵字:
寫了
5860316篇文章,獲得
23313次喜歡