sponsor Vim development Vim logo Vim Book Ad

dks-il2+tex.vim : Mapping deadkeys (accents)

 script karma  Rating 0/0, Downloaded by 704  Comments, bugs, improvements  Vim wiki

created by
Milan Berta
 
script type
utility
 
description
Central European chars in latin2 (cp1250, pl2) and TeX encoding

The most of Central European accented characters are defined,
also in TeX encoding. Changing encoding between these codes. I used to work
with:

- 'digraphs', but not all CTRL-K {char1} {char2} work the way that I want;
  it does not work in command-line mode and in search also.
- 'keymap' (see 'loadkeymap') but it does not works to me anyway, and in
  $vim/keymap/accents.vim there are no all CZ, HU and SK chars from
  mentioned encodings (I think there are just East European characters).
  
This 'keymap' shows more MSWord "compatibility" for Central Europe (I
think), for those who works half-time with Word it is very useful :-)

Usage: Use [=+:;.,^] + <char> to write an accented character: <char> with
acute, ve, etc.

- <leader>at - convert the file from accents to TeX and map TeX deadkeys
- <leader>ta - convert the file from TeX to accents and map accent dedakeys
- <leader>da - map accent dedakeys
- <leader>dt - map TeX deadkeys
- <leader>du - unmap deadkeys

<leader> is usually a '\'
 
install details
Put one of the files into $HOME/.vim/plugin/.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
dks-accents+tex-v2.0.tgz 2.0 2004-03-27 6.0 Milan Berta In single file: mapping encoding (latin2, win, or pl2) and TeX, copnvert current file between them.
dks.vim.tgz 1.0 2003-10-30 6.0 Milan Berta Initial upload
ip used for rating: 3.144.33.41

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github