I use vim as a pager with vimpager and a script to change between pager and full vim mode.But pressing i, a, etc change the mode while paging, which I want to prevent from happening.I tried map i <Nop> and it works, but then I cannot restore the original behaviour, when switching to full vim mode.
disabling all mode changes
vimrc;vimscript