gregsexton / gitv

gitk for Vim.
936 stars 59 forks source link

Copy commit #36

Closed idbrii closed 12 years ago

idbrii commented 12 years ago

Add map to copy the hash of the current commit. I use this a lot when rebasing: I open gitv, copy the commit I want to rebase on, paste it into the commandline.

idbrii commented 12 years ago

I just found out that I didn't consider [] appearing in commit messages.

gregsexton commented 12 years ago

I have merged this by cherry-picking. I took the liberty of adjusting the map so that it doesn't clobber the c mark but adds a jump by using the ' mark.

gregsexton commented 12 years ago

Oh, good point about [] appearing in commit messages. I'll see what I can do.

gregsexton commented 12 years ago

Think this should be fixed now. Thanks for submitting this.

idbrii commented 12 years ago

Thanks for cleaning that up!