1 # Vim-style keybindings for Tig
3 # To use these keybindings copy the file to your HOME directory and include
4 # it from your ~/.tigrc file:
6 # $ cp contrib/vim.tigrc ~/.tigrc.vim
7 # $ echo "source ~/.tigrc.vim" >> ~/.tigrc
9 # Rebind and clear default bindings
10 bind generic F view-grep # Rebind the grep view
11 bind generic g none # Clear old 'g' binding to allow for 'gg' etc.
12 bind generic gg move-first-line
14 bind main G none # Clear commit graph toggling
15 bind generic G move-last-line