Permalink
Browse files

help message

  • Loading branch information...
1 parent 262afed commit 28212ca6fb5e343852427c781a1868bdb484733e @c9s committed Apr 25, 2010
Showing with 11 additions and 0 deletions.
  1. +11 −0 after/plugin/hypergit-rebase-helper.vim
@@ -36,8 +36,19 @@ fun! s:initGitRebase()
nmap <script><silent><buffer> s :cal <SID>RebaseAction('squash')<CR>
nmap <script><silent><buffer> e :cal <SID>RebaseAction('edit')<CR>
nmap <script><silent><buffer> r :cal <SID>RebaseAction('reword')<CR>
+ nmap <script><silent><buffer> ? :cal <SID>showHelp()<CR>
nmap <script><silent><buffer> D dd
endf
+fun! s:showHelp()
+ redraw
+ echo " Git rebase helper:"
+ echo " L - view commit log"
+ echo " p - pick"
+ echo " e - edit"
+ echo " s - squash"
+ echo " r - reword"
+ echo " D - delete"
+endf
aug GitRebase
au!
autocmd filetype gitrebase :cal s:initGitRebase()

0 comments on commit 28212ca

Please sign in to comment.