Sorry for my indistinction on this issue. Simply what I do is mapping key F5 to 'set nowrap', so I added in my .vimrc 'map <F5>:set nowrap<CR>', but when I press F5 in vim, it just came out <80>k5 on the bottom of vim screen, I don't how to fix. I need your help! Thanks vary much!
On Jul 10, 7:09 pm, ZyX <[email protected]> wrote: > Reply to message «vim map key can not work», > sent 12:59:19 10 July 2011, Sunday > by Tong Zhang: > > > PS. I am using vim 7.3.35 on linux mint 11. > > You posted here least significant part of my request for purpose, didn't you? > You still need to provide an exact command you used to create a mapping («and > also script that reproduces the problem (starting with `vim -u NONE'»). I > don't > have a mapping for <F5>, but when I press it vim is not displaying internal > representation of this key like you report and if it failed to recognize <F5> > as > <F5> it would also do something different from displaying <80>k5 (exact > behavior > depends on the terminal). > > Original message:> Hello! > > A weird problem confused me for a long time, that is: when I map F5 to > > some vim cmd, but when I press F5 in vim, it just display <80>k5, and it > > won't evoke the mapped cmd, so HOW can I fix it? > > Thanks very much! > > > PS. I am using vim 7.3.35 on linux mint 11. > > > > signature.asc > < 1KViewDownload -- 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
