Comments (1)
I like Fugitive, in theory (never actually made use of it), but here's how I've been doing git blame
from within vim:
vmap <Leader>g :<C-U>!git blame <C-R>=expand("%:p") <CR> \| sed -n <C-R>=line("'<") <CR>,<C-R>=line("'>") <CR>p <CR>
With that, select the lines you want blamed, and hit <leader>g
.
(Credit goes to Tammer, who supplied to svn variant.)
from dotfiles.
Related Issues (20)
- Fresh install creates circular symlinks for bin/* and vim/* HOT 1
- gitignore.local being ignored? HOT 2
- zshrc line 12 syntax error? HOT 1
- `git up` now rebases against `master` and not `origin/master` HOT 2
- Ctags warnings HOT 7
- fzf moves the cursor in Vim HOT 2
- The default post-checkout git hook breaks git clone
- New location for fzf under macOS with ARM architecture HOT 1
- Do not override :Ag command
- This is shit. HOT 1
- Vim configuration is opinionated and does not provide any opt-out HOT 1
- Weird text when I open vim HOT 2
- Outdated gitconfig explanation in README? HOT 2
- `/vendor` in `.gitignore` breaks Rails 7 deploys
- What's the recommended way to add binaries to $PATH? HOT 2
- zsh profile not fully loading on terminal startup (iTerm2 + Monterrey) HOT 5
- Error detected while processing /home/samuelodan/.vimrc: (E121: Undefined variable: g:has_async) HOT 3
- X
- Python3 os.getenv Failed to Gather Environment Variable During Runtime
- LRss
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotfiles.