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
530
Cmus
wikimatze
0
68
cmus and vim
wikimatze
0
790
vimfest-2016-opening-keynote
wikimatze
0
59
Get productive with vimtex for LaTeX
wikimatze
0
630
Weechat - another IRC client
wikimatze
0
1k
Synchronize gitter and IRC
wikimatze
0
160
Other Decks in Technology
See All in Technology
コンテナセキュリティのためのLandlock入門
nullpo_head
2
320
ゼロから創る横断SREチーム 挑戦と進化の軌跡
rvirus0817
2
270
podman_update_2024-12
orimanabu
1
270
多領域インシデントマネジメントへの挑戦:ハードウェアとソフトウェアの融合が生む課題/Challenge to multidisciplinary incident management: Issues created by the fusion of hardware and software
bitkey
PRO
2
100
[Ruby] Develop a Morse Code Learning Gem & Beep from Strings
oguressive
1
150
Amazon Kendra GenAI Index 登場でどう変わる? 評価から学ぶ最適なRAG構成
naoki_0531
0
110
オプトインカメラ:UWB測位を応用したオプトイン型のカメラ計測
matthewlujp
0
170
How to be an AWS Community Builder | 君もAWS Community Builderになろう!〜2024 冬 CB募集直前対策編?!〜
coosuke
PRO
2
2.8k
プロダクト開発を加速させるためのQA文化の築き方 / How to build QA culture to accelerate product development
mii3king
1
260
KubeCon NA 2024 Recap: How to Move from Ingress to Gateway API with Minimal Hassle
ysakotch
0
200
WACATE2024冬セッション資料(ユーザビリティ)
scarletplover
0
190
どちらを使う?GitHub or Azure DevOps Ver. 24H2
kkamegawa
0
730
Featured
See All Featured
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
520
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
Adopting Sorbet at Scale
ufuk
73
9.1k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.4k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.3k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
247
1.3M
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
95
17k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
28
900
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