Skip to content

Open file from :G or :Glog inline diff #1675

Answered by tpope
marlun asked this question in Q&A
Discussion options

You must be logged in to vote

<CR> is correct. Check nmap <CR> and make sure it looks like :<C-U>exe <SNR>201_GF("edit")<CR>. Note that in commit buffers, such as the ones loaded by :Gclog, it only works on + and - lines, as I didn't want to play favorites as to whether to jump to the old version or the new.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@tpope
Comment options

@marlun
Comment options

@tpope
Comment options

@marlun
Comment options

@tpope
Comment options

Answer selected by tpope
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants