Re: disable é map in tex-suite

2007-01-23 Thread A.J.Mechelynck

neolistic wrote:

Hello

I use the tex-suite with VIM7.0 and it's very useful but tex-suite have a
auto-defined insert-map for the key é and I don't want to use this map, I
want that when I'm in insert mode and I press the key é, vim insert the
character é

Does anyone know how to do that?

Tanks


You should be able to unmap it. Try

:unmap! é
or
:iunmap é

Note that é is probably synonymous with Alt-i -- by unmapping the one you will 
probably lose the other.


Once you find the right command, you can place it in a script, which (in order 
for it to work) must be sourced after the TeX suite: see :help after-directory.



Best regards,
Tony.


Re: disable é map in tex-suite

2007-01-23 Thread neolistic

I think this solution can work but I don't have the perms for the plugin
direcory, is there a solution to unmap or surmap the é?

Jean-Rene David-2 wrote:
 
 * neolistic [2007.01.23 09:15]:
 I use the tex-suite with VIM7.0 and it's very useful but tex-suite have a
 auto-defined insert-map for the key é and I don't want to use this map, I
 want that when I'm in insert mode and I press the key é, vim insert the
 character é
 
 This is probably the most frequently asked
 question on the latex-suite mailing list.
 
 See here for a possible solution:
 
 http://vim-latex.sourceforge.net/index.php?subject=faqtitle=FAQ#faq-e-acute
 
 -- 
 JR
 
 

-- 
View this message in context: 
http://www.nabble.com/disable-%C3%A9-map-in-tex-suite-tf3064330.html#a8523478
Sent from the Vim - General mailing list archive at Nabble.com.



Re: disable é map in tex-suite

2007-01-23 Thread neolistic

It don't works, I tried
iunmap é
iunmap M-i

and I can see the map with :imap
i  é@PlugTex_InsertItemOnThisLine


A.J.Mechelynck wrote:
 
 neolistic wrote:
 Hello
 
 I use the tex-suite with VIM7.0 and it's very useful but tex-suite have a
 auto-defined insert-map for the key é and I don't want to use this map, I
 want that when I'm in insert mode and I press the key é, vim insert the
 character é
 
 Does anyone know how to do that?
 
 Tanks
 
 You should be able to unmap it. Try
 
   :unmap! é
 or
   :iunmap é
 
 Note that é is probably synonymous with Alt-i -- by unmapping the one you
 will 
 probably lose the other.
 
 Once you find the right command, you can place it in a script, which (in
 order 
 for it to work) must be sourced after the TeX suite: see :help
 after-directory.
 
 
 Best regards,
 Tony.
 
 

-- 
View this message in context: 
http://www.nabble.com/disable-%C3%A9-map-in-tex-suite-tf3064330.html#a8523573
Sent from the Vim - General mailing list archive at Nabble.com.



Re: disable é map in tex-suite

2007-01-23 Thread Jürgen Krämer

Hi,

neolistic wrote:

 It don't works, I tried
 iunmap é
 iunmap M-i
 
 and I can see the map with :imap
 i  é@PlugTex_InsertItemOnThisLine

from :help map-listing

| When listing mappings the characters in the first two columns are:
|
|   CHAR  MODE~
|  SpaceNormal, Visual and Operator-pending
| n   Normal
| v   Visual
| o   Operator-pending
| !   Insert and Command-line
| i   Insert
| l   :lmap mappings for Insert, Command-line and Lang-Arg
| c   Command-line
|
| Just before the {rhs} a special character can appear:
| *   indicates that it is not remappable
|indicates that only script-local mappings are remappable
| @   indicates a buffer-local mapping

Note the last line. To unmap this buffer-local mapping you should use

  :iunmap buffer é

or

  :iunmap buffer M-i

Regards,
Jürgen

-- 
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us. (Calvin)


Re: disable é map in tex-suite

2007-01-23 Thread Albie Janse van Rensburg

neolistic wrote:

It don't works, I tried
iunmap é
iunmap M-i

and I can see the map with :imap
i  é@PlugTex_InsertItemOnThisLine
  
you will notice an @ in the mapping {rhs}.  This indicates that the 
mapping was defined for the buffer only.  Try:


iunmap buffer é

instead, and see if that works.


A.J.Mechelynck wrote:
  

neolistic wrote:


Hello

I use the tex-suite with VIM7.0 and it's very useful but tex-suite have a
auto-defined insert-map for the key é and I don't want to use this map, I
want that when I'm in insert mode and I press the key é, vim insert the
character é

Does anyone know how to do that?

Tanks
  

You should be able to unmap it. Try

:unmap! é
or
:iunmap é

Note that é is probably synonymous with Alt-i -- by unmapping the one you
will 
probably lose the other.


Once you find the right command, you can place it in a script, which (in
order 
for it to work) must be sourced after the TeX suite: see :help

after-directory.


Best regards,
Tony.





  



--
Albie Janse van Rensburg (neonpill)

Registered Linux User 438873 | http://counter.li.org


Re: disable é map in tex-suite

2007-01-23 Thread neolistic

Thanks you very much!!

It works perfectly it was the buffer in the command which miss:
: iunmap buffer é
Thanks again


neolistic wrote:
 
 Hello
 
 I use the tex-suite with VIM7.0 and it's very useful but tex-suite have a
 auto-defined insert-map for the key é and I don't want to use this map, I
 want that when I'm in insert mode and I press the key é, vim insert the
 character é
 
 Does anyone know how to do that?
 
 Tanks
 

-- 
View this message in context: 
http://www.nabble.com/disable-%C3%A9-map-in-tex-suite-tf3064330.html#a8524567
Sent from the Vim - General mailing list archive at Nabble.com.