Skip to content

Easily inspect commits and logs while performing an interactive rebase.

License

Notifications You must be signed in to change notification settings

piersy/vim-rebase-view

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vim-rebase-view

Easily inspect commits and logs while performing an interactive rebase.

VimRebaseView

installation

Plug 'piersy/vim-rebase-view'

example configuration

augroup rebase_keymaps
	autocmd!
	autocmd filetype gitrebase call s:ConfigureRebaseKeymaps()
augroup END

function! s:ConfigureRebaseKeymaps()

	" git show --stat xxxx - where xxxx is the commit on the current line
	nnoremap <silent> <buffer> <leader>e :call rebaseview#DisplayCommit('--stat')<CR>

	" git show xxxx - where xxxx is the commit on the current line
	nnoremap <silent> <buffer> <leader>d :call rebaseview#DisplayCommit('')<CR>

	" show a log of the range of commits in this rebase, commits are displayed
	" in reverse order so that they appear in the same order as those in the
	" rebase.
	nnoremap <silent> <buffer> <leader>l :call rebaseview#DisplayLog('--stat')<CR>
endfunction

About

Easily inspect commits and logs while performing an interactive rebase.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published