TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Sublime Text 2 plugin to show git commit history for selected line(s) of code

108 pointsby chrisbumgardnerover 11 years ago
I created a Sublime Text 2 plugin that lets you see the commit message history (messages & file stats) for selected line(s) of code with a simple shortcut: cmd+shift+m on Mac, alt+shift+m on Linux/Windows.<p>Inspired by this earlier post (https://news.ycombinator.com/item?id=7202146).

8 comments

kayooneover 11 years ago
Disclaimer: I love ST and use it everyday and this is not against this plugin in particular, just the idea of extending your editor to be an IDE.<p>When people extend their text editor (be it sublime, vim, emacs) with all these (often outdated) plugins i am left wondering why there is still so much hate for IDEs ? I use IDEs from Jetbrains for most of my stuff and they do all these things oob with a consistent UI and are well tested. Why would i want to fiddle together my text editor with one-man plugins that often dont even work 100% ?<p>I love Sublime etc. for what it does best, which is editing text, but i still use IDEs for most of my coding so i dont have to think about configuring my editor all day.
评论 #7210451 未加载
评论 #7210319 未加载
评论 #7210397 未加载
评论 #7212450 未加载
评论 #7210474 未加载
评论 #7211060 未加载
评论 #7210625 未加载
评论 #7213912 未加载
评论 #7213444 未加载
评论 #7210829 未加载
评论 #7211411 未加载
评论 #7215688 未加载
评论 #7211533 未加载
评论 #7213025 未加载
评论 #7211100 未加载
hartatorover 11 years ago
It doesn&#x27;t seem to exist anymore: <a href="https://sublime.wbond.net/search/GitCommitMsg" rel="nofollow">https:&#x2F;&#x2F;sublime.wbond.net&#x2F;search&#x2F;GitCommitMsg</a> or in package control.<p>Will install it manually, seems a great trick!
评论 #7211148 未加载
deweyover 11 years ago
Will this be available for ST 3 too or are there any incompatibilities stopping it from working on ST 3?
评论 #7210260 未加载
评论 #7210860 未加载
trendynoiseover 11 years ago
Anyone have a screenshot of what this looks like in action?
评论 #7212038 未加载
mmanfrinover 11 years ago
There is a plugin (found within the package manager) called simply &#x27;Git&#x27; that does this -- you just call Git Blame from the bar (CTRL SHIFT P) and it&#x27;ll show you a line-by-line history of the whole file or selection.
lunixbochsover 11 years ago
This reminds me of the layers concept from <a href="https://www.destroyallsoftware.com/talks/a-whole-new-world" rel="nofollow">https:&#x2F;&#x2F;www.destroyallsoftware.com&#x2F;talks&#x2F;a-whole-new-world</a>
chrisbumgardnerover 11 years ago
Hi all, works with ST3 now and is in Package Control. Only thing missing is Windows support (looking into it). Thanks for the comments and pull-requests :)
joshfraserover 11 years ago
Does this work w&#x2F; Sublime Text 3 too?