Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   map doesn't work (vim) (http://www.linux-archive.org/debian-user/500293-map-doesnt-work-vim.html)

wolf python london 03-12-2011 01:51 AM

map doesn't work (vim)
 
hey , there,

I come across a weird problem in vim.

Today , I plan to read the source code in vim in virtual console
(<A-C-F1 ---F6), but it seems
"map" doesn't work .

map <C-F12> :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q . <CR>
"doesn't work

However I try another case :
map <F12> i#include<stdio.h> "it works
imap myemail lyh19901223@gmail.com "it works too

And all of the above can work if I use vim in gnome-terminal .

any clue/tips?


--
________________________
wolf python london(WPL)
Do as you soul should do !
________________________


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTimxAjpx-j9RvsyB__5yk6YVoSRggBEOcJj49cWL@mail.gmail.com">ht tp://lists.debian.org/AANLkTimxAjpx-j9RvsyB__5yk6YVoSRggBEOcJj49cWL@mail.gmail.com

wolf python london 03-12-2011 01:54 AM

map doesn't work (vim)
 
On 12 March 2011 10:51, wolf python london <lyh19901223@gmail.com> wrote:
> hey , there,
>
> I come across a weird problem *in vim.
>
> Today , I plan to read the source code in vim in virtual console
> (<A-C-F1 ---F6), but it seems
> "map" doesn't work .
>
> *map <C-F12> :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q . <CR>
> * "doesn't work
>
> However I try another case :
> map <F12> *i#include<stdio.h> * * * * * * * * * * "it works
> imap myemail lyh19901223@gmail.com * * * * "it works too
>
> And all of the above can work if I use vim in gnome-terminal .
>
> any clue/tips?
>
>
oh , I leave out a message:

my box is Debian Squeeze,
vim 7.2
> --
> ________________________
> wolf python london(WPL)
> Do as you soul should do !
> ________________________
>



--
________________________
wolf python london(WPL)
Do as you soul should do !
________________________


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTikcJjzD1e3Z-4hQ9=N=hKtUGK0jW5sZ8Ap0wjdm@mail.gmail.com">http://lists.debian.org/AANLkTikcJjzD1e3Z-4hQ9=N=hKtUGK0jW5sZ8Ap0wjdm@mail.gmail.com

Chris Bannister 03-12-2011 09:43 AM

map doesn't work (vim)
 
On Sat, Mar 12, 2011 at 10:51:30AM +0800, wolf python london wrote:
> hey , there,
>
> I come across a weird problem in vim.
>
> Today , I plan to read the source code in vim in virtual console
> (<A-C-F1 ---F6), but it seems
> "map" doesn't work .
>
> map <C-F12> :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q . <CR>
> "doesn't work
>
> However I try another case :
> map <F12> i#include<stdio.h> "it works
> imap myemail lyh19901223@gmail.com "it works too
>
> And all of the above can work if I use vim in gnome-terminal .
>
> any clue/tips?

Questions regarding the usage of vim should be directed to the vim-use
group. See http://groups.google.com/group/vim_use/web/vim-information

--
"Religion is excellent stuff for keeping common people quiet."
-- Napoleon Bonaparte


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110312104328.GC3436@fischer">http://lists.debian.org/20110312104328.GC3436@fischer

wolf python london 03-12-2011 11:17 AM

map doesn't work (vim)
 
On 12 March 2011 18:43, Chris Bannister <mockingbird@earthlight.co.nz> wrote:
> On Sat, Mar 12, 2011 at 10:51:30AM +0800, wolf python london wrote:
>> hey , there,
>>
>> I come across a weird problem *in vim.
>>
>> Today , I plan to read the source code in vim in virtual console
>> (<A-C-F1 ---F6), but it seems
>> "map" doesn't work .
>>
>> *map <C-F12> :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q . <CR>
>> * *"doesn't work
>>
>> However I try another case :
>> map <F12> *i#include<stdio.h> * * * * * * * * * * "it works
>> imap myemail lyh19901223@gmail.com * * * * "it works too
>>
>> And all of the above can work if I use vim in gnome-terminal .
>>
>> any clue/tips?
>
> Questions regarding the usage of vim should be directed to the vim-use
> group. See http://groups.google.com/group/vim_use/web/vim-information
>
it's Debian that the problem occurs , isn't it?
some bugs are not resulted by the software itself , but the
environment it's deployed in ,
even though I'm not sure why it happens .

And vim is modified by the packagers, how do I know when this
bug(problem) was introduced ?

> --
> "Religion is excellent stuff for keeping common people quiet."
> * -- Napoleon Bonaparte
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/20110312104328.GC3436@fischer
>
>



--
________________________
wolf python london(WPL)
Do as you soul should do !
________________________


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTikTFxVtL_r_p8PMm2-j-QHMgGhMOZC=VPzzpe4m@mail.gmail.com">http://lists.debian.org/AANLkTikTFxVtL_r_p8PMm2-j-QHMgGhMOZC=VPzzpe4m@mail.gmail.com


All times are GMT. The time now is 06:48 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.