kmnk / gitn

denite source for using git
MIT License
8 stars 1 forks source link

Use bang version of `normal` #12

Closed petobens closed 6 years ago

petobens commented 6 years ago

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

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>
kmnk commented 6 years ago

Thanks for requesting patch.

I didn't read document about normal carefully :cry: . I read and understood :)

petobens commented 6 years ago

No worries! Thanks for accepting the change.