Closed stfl closed 8 years ago
Create ftplugin/gita-commit.vim and ftplugin/gita-status.vim and add
nmap
would do
Thank you for your input. I managed to do it like this:
nnoremap <leader>cc :Gita status<CR>
augroup mygita
autocmd!
autocmd FileType gita-commit nmap cc <Plug>(gita-status-open)
autocmd FileType gita-status nmap cc <Plug>(gita-commit-open)
augroup END
Good:-]
I am cannot use the <C-^> mapping to switch to commit/status view because my terminal apperntly does not register this key. I am running Terminator Terminal on Debian Linux.
I'd like to remap this feature to another key/key-combination.. How can I do that?
Thank you.