Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Git and Vim - maximize the joy and fun
Search
Matthias Günther
January 23, 2015
Technology
2
1.8k
Git and Vim - maximize the joy and fun
Follow me through my travel exploring the way to get Vim and Git running in a friendly coexistence.
Matthias Günther
January 23, 2015
Tweet
Share
More Decks by Matthias Günther
See All by Matthias Günther
copymatch_and_dadbod.pdf
wikimatze
0
610
devdocs - offline language programming support
wikimatze
0
390
Flog, a New Git Branch extension
wikimatze
0
560
Cmus
wikimatze
0
69
cmus and vim
wikimatze
0
820
vimfest-2016-opening-keynote
wikimatze
0
59
Get productive with vimtex for LaTeX
wikimatze
0
640
Weechat - another IRC client
wikimatze
0
1k
Synchronize gitter and IRC
wikimatze
0
160
Other Decks in Technology
See All in Technology
『衛星データ利用の方々にとって近いようで触れる機会のなさそうな小話 ~ 衛星搭載ソフトウェアと衛星運用ソフトウェア (実物) を動かしながらわいわいする編 ~』 @日本衛星データコミニティ勉強会
meltingrabbit
0
120
インフラをつくるとはどういうことなのか、 あるいはPlatform Engineeringについて
nwiizo
5
2.1k
自動テストの世界に、この5年間で起きたこと
autifyhq
10
7.1k
サーバーレスアーキテクチャと生成AIの融合 / Serverless Meets Generative AI
_kensh
12
3k
データ基盤の成長を加速させる:アイスタイルにおける挑戦と教訓
tsuda7
3
650
スタートアップ1人目QAエンジニアが QAチームを立ち上げ、“個”からチーム、 そして“組織”に成長するまで / How to set up QA team at reiwatravel
mii3king
1
1.1k
ビジネスと現場活動をつなぐソフトウェアエンジニアリング~とあるスタートアッププロダクトの成長記録より~
mizunori
0
210
管理者しか知らないOutlookの裏側のAIを覗く#AzureTravelers
hirotomotaguchi
1
240
飲食店予約台帳を支えるインタラクティブ UI 設計と実装
siropaca
6
1.4k
APIファーストで実現する運用性の高い IoT プラットフォーム: SORACOMのアプローチ
soracom
PRO
0
240
これからSREになる人と、これからもSREをやっていく人へ
masayoshi
6
4.1k
室長と気ままに学ぶマイクロソフトのビジネスアプリケーションとビジネスプロセス
ryoheig0405
0
320
Featured
See All Featured
Code Review Best Practice
trishagee
66
17k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Gamification - CAS2011
davidbonilla
80
5.1k
Thoughts on Productivity
jonyablonski
69
4.5k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Site-Speed That Sticks
csswizardry
3
370
Raft: Consensus for Rubyists
vanstee
137
6.8k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.5k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
12
950
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
33
2.8k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Transcript
Vim and Git
Who Am I @wikimatze Running vimberlin.de Writing padrinobook.com
Workflows
Terminal
External Tool
Vim …
Plugins for Vim gitv fugitive vim-merginal
gitv is a fugitive extension is a gitk/gitg clone =>
for me it’s a tig clone see diffs commits, branching, and merging
gitv commands :Gitv … opens only gitv :Gitv! … opens
only commits which affects the current file yc … yanks the SHA of the commit co … checkout
gitv demo
fugitive “best Git wrapper of all time”
fugitive commands I :Gstatus … git status C-n … go
to the next file C-p … go to the previous file - … git add/git reset depending where you are in the windows (mark multiple files in visual mode) …
fugitive commands II :Gwrite … stage the current file to
index :Gcommit … git commit (press wq for send) :Gblame … git blame :Gremove … git rm
fugitive commands III :Gpush … performs a git push :Gmove
… rename the current file and add change to index :Gdiff … split the window
fugitive demo
Handling branches with vim-merginal :Merginal … opens the extra window
C … checkout branch under the cursor A … add a branch from the current checked out branch under the cursor