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
590
devdocs - offline language programming support
wikimatze
0
370
Flog, a New Git Branch extension
wikimatze
0
490
Cmus
wikimatze
0
67
cmus and vim
wikimatze
0
760
vimfest-2016-opening-keynote
wikimatze
0
55
Get productive with vimtex for LaTeX
wikimatze
0
610
Weechat - another IRC client
wikimatze
0
1k
Synchronize gitter and IRC
wikimatze
0
150
Other Decks in Technology
See All in Technology
再考 アクターモデル/ reconsider actor model
ytake
0
360
OSTという文化を組織に根付かせてみた
sansantech
PRO
2
390
OR学会2024秋_短期収益と将来のオフ方策評価性能を考慮したクーポン割当方策混合比の決定
recruitengineers
PRO
4
460
React Aria で実現する次世代のアクセシビリティ
ryo_manba
4
1.2k
AIを活用した柔軟かつ効率的な社内リソース検索への取り組み
cygames
0
180
プロダクトエンジニアを支えるための開発生産性向上施策
tsukakei
0
140
実務における脅威モデリングを考えよう
nikinusu
0
630
Discovering AI Models
picardparis
4
3.9k
App Router を実プロダクトで採用して見えてきた勘所をちょっとだけ紹介
marokanatani
1
930
Mocking in Rust Applications
taiki45
2
410
フルカイテン株式会社 採用資料
fullkaiten
0
32k
ロリポップ! for Gamersを支えるインフラ/lolipop for gamers infrastructure
takumakume
0
130
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
401
65k
Gamification - CAS2011
davidbonilla
79
5k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
25
3.9k
Rails Girls Zürich Keynote
gr2m
93
13k
How to train your dragon (web standard)
notwaldorf
85
5.6k
Typedesign – Prime Four
hannesfritz
39
2.3k
The Language of Interfaces
destraynor
153
23k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
23
1.7k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
41
6.5k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
45
4.8k
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