lambdalisue / vim-manpager

Use Vim as a MANPAGER program
MIT License
62 stars 5 forks source link

Jump back by <C-O> unmaps q = quit buffer #5

Open Konfekt opened 8 years ago

Konfekt commented 8 years ago

Start vim-manpager, then hit K on a link, then hit <s-tab>.

Result: q is no longer mapped Expected: q is mapped to <Plug>(manpager-close)

lambdalisue commented 8 years ago

Is <S-Tab> default Vim mapping? For me, nothing happen and <C-o> lead me to the previous buffer and q close my vim. (maybe my set hidden help?)

Konfekt commented 8 years ago

<s-tab is <Plug>(manpager-open-previous). All mappings are that set by https://github.com/lambdalisue/vim-manpager/blob/master/ftplugin/man.vim until q is no longer set. But true, <s-tab> had to be hit twice to jump back.

Alsoset hidden is set.

lambdalisue commented 8 years ago

<s-tab> is <Plug>(manpager-open-previous)

Oops. Sorry prob. I was drunk lol.

Probably I need to check history mech. but it may take time.

Konfekt commented 8 years ago

Take your time. It's minor but every fixed bug is for the better.