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
Data-centric AI入門第6章:Data-centric AIの実践例
x_ttyszk
1
370
オブザーバビリティの観点でみるAWS / AWS from observability perspective
ymotongpoo
7
1k
CZII - CryoET Object Identification 参加振り返り・解法共有
tattaka
0
240
AndroidデバイスにFTPサーバを建立する
e10dokup
0
240
Tech Blogを書きやすい環境づくり
lycorptech_jp
PRO
0
120
Culture Deck
optfit
0
330
組織貢献をするフリーランスエンジニアという生き方
n_takehata
1
1k
株式会社EventHub・エンジニア採用資料
eventhub
0
4.2k
2.5Dモデルのすべて
yu4u
2
610
SA Night #2 FinatextのSA思想/SA Night #2 Finatext session
satoshiimai
1
100
20250208_OpenAIDeepResearchがやばいという話
doradora09
PRO
0
170
技術負債の「予兆検知」と「状況異変」のススメ / Technology Dept
i35_267
1
1k
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
A Tale of Four Properties
chriscoyier
158
23k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Side Projects
sachag
452
42k
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Bash Introduction
62gerente
610
210k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.4k
Producing Creativity
orderedlist
PRO
343
39k
Faster Mobile Websites
deanohume
306
31k
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