On Sat, 3 Mar 2012 10:26:09 -0800 (PST) Ben Fritz <[email protected]> wrote:
> > >On Saturday, March 3, 2012 12:07:18 PM UTC-6, Tarlika Elisabeth >Schmitz wrote: >> >> If I want to map a function onto the same key in any mode, is this >> the best way of doing it? : >> >> map <silent> <F6> :nohlsearch<CR> >> imap <silent> <F6> <Esc>:nohlsearch<CR>i >> > >Some suggestions: >[...] >nnoremap <silent> <F6> :nohlsearch<CR> >xnoremap <silent> <F6> :<C-U>nohlsearch<CR> >imap <silent> <F6> <C-O><F6> implemented your suggestions many thanks! -- Best Regards, Tarlika Elisabeth Schmitz -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
