Loading ...
Sorry, an error occurred while loading the content.
 

[solved] Re: Can't get é w hen editing *tex-files using latex-suite

Expand Messages
  • Søren Christensen
    ... Well, sorry for asking stupid questions, it does actually work the way it should. Thank for your kind help, it has really been helpfull. /Søren
    Message 1 of 8 , Feb 28, 2006
      On Tue, Feb 28, 2006 at 11:49:18AM +0100, Søren Christensen wrote:
      > On Mon, Feb 27, 2006 at 06:25:31PM +0100, A. J. Mechelynck wrote:
      > > Søren Christensen wrote:
      > > > On Mon, Feb 27, 2006 at 09:56:17AM +0100, Christian Ebert wrote:
      > > >> * Søren Christensen on Monday, February 27, 2006 at 09:11:52 +0100:
      > > >>> I have a little problem. When using latex-suite for *tex I cannot write
      > > >>> é -- first time it moves the cursor back, the next time I press it
      > > >>> doesn't do anything.
      > > >>>
      > > >>> There is no problem writing á í.
      > > >> I stumbled over that faq too:
      > > >>
      > > >> <http://vim-latex.sourceforge.net/index.php?subject=faq&title=FAQ#faq-e-acute>
      > > >>
      > > >
      > > > Thank you very much, I think I should take a closer look at that faq.
      > > >
      > > > Now é works. But I'm not that strong in vim.setup.
      > > >
      > > > The faq says:
      > > > ========================
      > > > Insert the following line in your ~/.vim/ftplugin/tex.vim file:
      > > >
      > > > imap <buffer> <leader>it <Plug>Tex_InsertItemOnThisLine
      > > >
      > > > Replace <leader>it with any other key-sequence. This will make
      > > > <leader>it key insert an \item command corresponding to the last opened
      > > > environment in the current line in insert mode. The <M-i> key which is
      > > > used for inserting the e-acute character will remain unmapped.
      > > > ========================
      > > >
      > > > Would this be correct:
      > > >
      > > > imap <buffer> <M-j>it <Plug>Tex_InsertItemOnThisLine ?
      > > >
      > > > Well, I guess not, since pressing Alt-j still gives ê in latex.
      > > >
      > > > What should I put in the <leader>?
      > > >
      > > > /Søren
      > > >
      > > >
      > > >
      > >
      > > The problem with many meta-keys is that they clash with accented keys in
      > > the 2nd half of the ASCII table (0x80 to 0xFF). Rather than meta-i or
      > > meta-j, can you use a function key (F1 to F12, shift-F1 to shift-F12,
      > > ctrl-F1 to ctrl-F12, etc., to alt-ctrl-shift-F12)?
      > >
      >
      > Thanks, but can anyone explain me /how/ I do this remapping, I can't
      > make it work. I would like to map for example Shift-F12 to the
      > latex-suite-function Tex_InsertItemOnThisLine.

      Well, sorry for asking stupid questions, it does actually work the way
      it should.

      Thank for your kind help, it has really been helpfull.

      /Søren
    Your message has been successfully submitted and would be delivered to recipients shortly.