l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
October 20: Web Application Hacking: How to Make and Break Security on the Web
Next Installfest:
TBD
Latest News:
Oct. 10: LUGOD Installfests coming again soon
Page last updated:
2002 Aug 12 14:08

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] a vim question (and german)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] a vim question (and german)



On Sat, Aug 10, 2002 at 01:43:06PM -0700, Ryan wrote:
> On Saturday 10 August 2002 01:01 pm, Peter Jay Salzman wrote:
> > i have vim open in an xterm right this second, and want an umlat in my
> > document.
> >
> > what should i type?
> 
> compose " [a|o|u]
> 
> � � �
> 
> compose is shift-menu on my keyboard, and X calls it MultiKey. You'll 
> probably have to map it.
> 
> It's usualy just menu on ttys.

You can also use vim's digraph feature, which is independant of the
terminal's eight-bit input mode. Hit control-k u : (letter u, colon) to get
�. The ex command :digraphs (with no args) should show you a list of
available digraphs.

NB. If your mail client (which I know to be mutt ;-) ) does not display the
umlauted characters above, you need to change your locate to something other
than 'C'. (The locale is determined by the contents of the LANG environment
variable, except that you cannot choose an arbitrary locale, only one that
you have generated. See below.)

Assuming that you do not want your program output to appear in Germa, a good
choice of locale is en_US.ISO-8859-1, which is English language, USA variant,
Latin-1 charset. To generate the locale on Debian, edit /etc/locale.gen to
add the following line:

	en_US ISO-8859-1

then run locale-gen. Alternately, run dpkg-reconfigure locales and follow the
instructions.

Thereafter, it is as simple as putting 'export LANG=en_US.ISO-8859-1' in your
bash profile. Warning: the locale collates upper and lowercase letters
together---generally a Good Thing---but with the result that shell globs are
case-insensitive. For example, 'rm [A-Z]*' is equivalent to 'rm [A-z]*'. Be
careful.

-- 
Henry House
The attached file is a digital signature. See <http://romana.hajhouse.org/pgp>
for information.  My OpenPGP key: <http://romana.hajhouse.org/hajhouse.asc>.

Attachment: pgp00002.pgp
Description: PGP signature



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.