> Hi Daniel, > > Thanks for your input so far. I know how to trigger the input mode (gi) > but I still cannot fathom how to make an imap mapping work. > > Specifically, these two statements look at odds: > > > the :imap mappings work only if you do not keep in input mode > > The imap action are always applied if vimb is in -- INPUT -- mode > > Could you provide an example and/or step-by-step instructions to have an > action triggered through imap?
The first one ment that it's not possible to add mapping that insert a special text into current focused form field. The second should make sure that these mapping are only applied in inupt mode and never else. But this should be obvious. Example mappings: Allow to trigger editor by other key stroke so that this works also in tabbed. :inoremap <C-E> <C-T> Or, allow to scroll in input mode - yes this is dirty and might refocus the wrong input field. :inoremap <C-J> <Esc>jgi Or run some script. :inoremap foo <Esc>:sh ls -l<CR> -- Daniel ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ vimb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vimb-users