Thanks! But it still does not work :(
I doubt if it is the ACPI problem?
I install linux mint11 on my ASUS U31SD laptop, and the function key
bindings do not work perfectly,
e.g. fn+F10(which is to mute), fn+F1(which is to sleep) don't work...


On Jul 11, 10:12 pm, ZyX <[email protected]> wrote:
> Reply to message «Re: vim map key can not work»,
> sent 11:13:00 11 July 2011, Monday
> by pelican:
>
> Yes, with partially pressed mapping it does show <80>k5. You should write
>     nnoremap <F5> :set nowrap<CR>
> (with space). `n' is here because you don't need this mapping for operator-
> pending and visual modes. `nore' because it makes you able to safely remap `:'
> and other keys present in the {rhs}: you should not use non-nore version 
> unless
> you do know that {rhs} will be remapped and do know how it is remapped 
> exactly.
>
> Original message:> 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
>
>
>
>  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

Reply via email to