[Vimperator] help with mappings
Daniel Bainton
dpb at driftaway.org
Tue Jan 15 12:47:40 PST 2008
On 15/01/2008, guivho <vimperator at vanhoecke.org> wrote:
> Hi,
>
> I have a problem using <Left> and <Right> which are mapped to gT and gt.
> The gT and gt commands work allright, but when pressing <Left> or <Right> the keyname just gets listed in the status bar.
>
> The h mapping also does not work, but H does work.
>
> Can somebody shed some light on this?
>
> TIA,
>
> Guido
>
> -----------------
> :version
> Vimperator 0.6pre (created: 2008/01/15 07:30:09) running on:
> Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b3pre) Gecko/2008011504 Minefield/3.0b3pre
>
> -----------------
> :map
> n h H
> n <C-r> :restart<CR>
> n <C-l> gt
> n <C-h> gT
> n <S-Right> :tabmove! +1<CR>
> n <S-Left> :tabmove! -1<CR>
> n <Right> :tabNext
> n <Left> :tabPrev
>
> -----------------
> My ~/.vimperatorrc :
>
> " 0.6pre (created: 2007/12/23 11:48:11)
>
> open http://vanhoecke.org/
>
> " Mappings
> map h H
>
> " restart Vimperator
> map <C-r> :restart<CR>
>
> " select next/previous tab
> map <Right> gt
> map <Left> gT
> map <C-l> gt
> map <C-h> gT
>
> " move current tab left/right
> map <S-Right> :tabmove! +1<CR>
> map <S-Left> :tabmove! -1<CR>
>
> " Options
> set verbose=9
>
> " Abbreviations
>
> source! ~/.vimperatorrc.local
>
> echo ".vimperatorrc sourced"
>
> " vim: set ft=vimperator:
Use :noremap h H instead of :map. That worked for me when I noticed
the same problem as you. I'm not sure why this was changed and if it
was on purpose or not (I'm guessing it's a bug).
--
Daniel
More information about the Vimperator
mailing list