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.7k
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
600
devdocs - offline language programming support
wikimatze
0
380
Flog, a New Git Branch extension
wikimatze
0
510
Cmus
wikimatze
0
68
cmus and vim
wikimatze
0
770
vimfest-2016-opening-keynote
wikimatze
0
57
Get productive with vimtex for LaTeX
wikimatze
0
620
Weechat - another IRC client
wikimatze
0
1k
Synchronize gitter and IRC
wikimatze
0
150
Other Decks in Technology
See All in Technology
Product Engineer Night #6プロダクトエンジニアを育む仕組み・施策
hacomono
PRO
1
470
なんで、私がAWS Heroに!? 〜社外の広い世界に一歩踏み出そう〜
minorun365
PRO
6
1.1k
「 SharePoint 難しい」ってよく聞くけど、そんなに言うなら8歳の息子に試してもらった
taichinakamura
1
630
2024-10-30-reInventStandby_StudyGroup_Intro
shinichirokawano
1
630
プロダクト成長に対応するプラットフォーム戦略:Authleteによる共通認証基盤の移行事例 / Building an authentication platform using Authlete and AWS
kakehashi
1
150
プロダクトチームへのSystem Risk Records導入・運用事例の紹介/Introduction and Case Studies on Implementing and Operating System Risk Records for Product Teams
taddy_919
1
170
マネジメント視点でのre:Invent参加 ~もしCEOがre:Inventに行ったら~
kojiasai
0
470
ABEMA のコンテンツ制作を最適化!生成 AI x クラウド映像編集システム / abema-ai-editor
cyberagentdevelopers
PRO
1
180
独自ツール開発でスタジオ撮影をDX!「VLS(Virtual LED Studio)」 / dx-studio-vls
cyberagentdevelopers
PRO
1
180
IaC運用を楽にするためにCDK Pipelinesを導入したけど、思い通りにいかなかった話
smt7174
1
110
[JAWS-UG金沢支部×コンテナ支部合同企画]コンテナとは何か
furuton
3
260
LeSSに潜む「隠れWF病」とその処方箋
lycorptech_jp
PRO
2
120
Featured
See All Featured
Producing Creativity
orderedlist
PRO
341
39k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Become a Pro
speakerdeck
PRO
24
5k
Rails Girls Zürich Keynote
gr2m
93
13k
The Invisible Side of Design
smashingmag
297
50k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Imperfection Machines: The Place of Print at Facebook
scottboms
264
13k
GitHub's CSS Performance
jonrohan
1030
460k
Side Projects
sachag
452
42k
Designing Experiences People Love
moore
138
23k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
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