On Feb 19, 3:22 am, retiredff <retire...@tds.net> wrote: > Bill, > > I tried imap <F7> <c-o>:set nolist!<CR> > and <esc> instead of <c-o> > > both seem to work, but, if the cursor is on a blank line when I press F7 I > see "7" then it disappears. I also see on the same row as --INSERT-- right > justified "<80>k7". I have not noticed this before. normal? > > -- > View this message in > context:http://vim.1045645.n5.nabble.com/key-mapping-help-tp5495434p5496732.html > Sent from the Vim - Mac mailing list archive at Nabble.com.
I can not reproduce the problem if on a blank line. :help <silent> This is in my .vimrc: " toggle invisibles nmap <silent> <F1> :setlocal list!<cr> imap <F1> <C-O><F1> vmap <F1> <Esc><F1>gv Bill -- You received this message from the "vim_mac" 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