Such problem can be reproduced with the following minimal vimrc
set nocompatible
let $DOTVIM = expand('$HOME/.vim')
set runtimepath+=$DOTVIM/bundle/repos/github.com/Shougo/denite.nvim
set runtimepath+=$DOTVIM/bundle/repos/github.com/kmnk/gitn
filetype plugin indent on
" Move to the end of the line when using G (and open existing fold)
nnoremap <silent> G Gzo$
nnoremap ,gl :Denite -auto-preview -default-action=diff
\ -no-quit gitn_log:*:current<CR>
This fixes the problem described in this comment https://github.com/kmnk/gitn/pull/11#issuecomment-403295572
Such problem can be reproduced with the following minimal vimrc