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 Surf
Search
Łukasz Korecki
October 13, 2013
Programming
66
0
Share
Git Surf
Lightning Talk given at VimLondon Meetup, October 2013
Łukasz Korecki
October 13, 2013
More Decks by Łukasz Korecki
See All by Łukasz Korecki
Clojure LA: Building type-safe Clojure services with HTTP, JSON and Avro
lukaszkorecki
0
24
Building a product with Clojure: Lessons Learned
lukaszkorecki
0
88
pkgr
lukaszkorecki
0
54
Emacs evil-mode
lukaszkorecki
1
100
Other Decks in Programming
See All in Programming
Nuxt Server Components
wattanx
0
220
モックわからないマン卒業記 ~振る舞いを起点に見直した、フロントエンドテストにおけるモックの使いどころ~
tasukuwatanabe
3
430
Symfony + NelmioApiDocBundle を使った スキーマ駆動開発 / Schema Driven Development with NelmioApiDocBundle
okashoi
0
250
Coding at the Speed of Thought: The New Era of Symfony Docker
dunglas
0
3.8k
Kubernetesでセルフホストが簡単なNewSQLを求めて / Seeking a NewSQL Database That's Simple to Self-Host on Kubernetes
nnaka2992
0
190
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
320
AI活用のコスパを最大化する方法
ochtum
0
360
Reactive ❤️ Loom: A Forbidden Love Story
franz1981
2
210
Smarter Angular mit Transformers.js & Prompt API
christianliebel
PRO
1
110
仕様漏れ実装漏れをなくすトレーサビリティAI基盤のご紹介
orgachem
PRO
8
3.8k
野球解説AI Agentを開発してみた - 2026/02/27 LayerX社内LT会資料
shinyorke
PRO
0
380
Xdebug と IDE による デバッグ実行の仕組みを見る / Exploring-How-Debugging-Works-with-Xdebug-and-an-IDE
shin1x1
0
290
Featured
See All Featured
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.5k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
140
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
How to train your dragon (web standard)
notwaldorf
97
6.6k
How to build a perfect <img>
jonoalderson
1
5.3k
Git: the NoSQL Database
bkeepers
PRO
432
67k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
68
38k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
280
Why Our Code Smells
bkeepers
PRO
340
58k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
64
53k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
110
Transcript
git, git-browse, fugitive, vim and oh my (VimLondon, October 2013)
Łukasz Korecki @lukaszkorecki http://lukasz.korecki.me
...actually! git-browse has been renamed to git-surf (old repo link
still works though) https://github.com/lukaszkorecki/git-surf
Problem • I’m editing a file, versioned in git, backed
by GitHub • I just found a confusing method • Time to ask questions...
Old (busted) way • Go to GitHub • Click some
links to find the project, • Navigate to the file • Highlight the lines you’re interested in • Copy the url and post it to your team chat/email/whatever
Better Install hub (https://github.com/github/hub) • hub browse • Opens repository
on GitHub • Navigate to the file...
hub problems • Ruby • Everything + kitchen sink •
API calls
How about…? git surf -r20,25 path/tofile/ok.py
...or maybe? Vim, with Fugitive :Git surf -r20,30 % Visual
mode - select offending lines <leader>b
git surf? Enter git-surf • Unix! One thing well (well…)
• Depends only on coreutils (bash, awk, sed) • Fast
git surf URLs for: - repository - file - commit
- pull requests (existing/new) - branch comparison Pipeable output Works well with terminals (C+click, urxvt’s url matcher)
In the beginning Started as a hacky function in vimscript
(yay)
In the beginning (I lost the source though)
Bash? • VMs (Vagrant) • Raspberry Pi(s) • Linode as
a development server • git is ~35% shell
Surf! • Only supports GitHub urls • Has tests •
Has vim integration (duh) https://github.com/lukaszkorecki/git-surf
Thanks!