I'm even to lazy to type foreach. Thus I've defined mappings like this: inoremap <buffer> <m-f><m-e> foreach<space>... Makes total of 2 keys+ meta key. ;)
with this mapping
" opens the ftp plugin file with _mw appended
map <m-s-f><m-s-t><m-s-p> :exec 'e
~/.vim/ftplugin/'.&filetype.'_mw.vim'<cr>
and
" inswerts the inoremap beginning ..
imap <buffer> <m-i><m-m> inoremap<space><buffer><space>
you can add additional mappings very quickly
Marc
