On Thu, Mar 7, 2013 at 7:40 AM, Yu Huang wrote:
> After command Cmapkeys,
> C-P works to print variable name when in GUI mode
> but not in console mode.
>
> The error is
> (Pdb) p
> *** SyntaxError: unexpected EOF while parsing
The C-P mapping uses the Vim balloon evaluation feature and this
feature does not seem to work in console mode.
You can get the same result (except it is based on the cursor
position, and not on the mouse position) by mapping C-P this way:
:map <C-P> :exe "Cp " . expand("<cword>") <CR>
--
Xavier
Les Chemins de Lokoti: http://lokoti.alwaysdata.net
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Pyclewn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyclewn-general