Date: Thu, 15 May 2008 00:51:24 +0100 From: Frank Shute <frank@shute.org.uk> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: interrobang and other fun characters Message-ID: <20080514235124.GA37470@melon.esperance-linux.co.uk> In-Reply-To: <20080514042537.GA91250@demeter.hydra> References: <20080514042537.GA91250@demeter.hydra>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 13, 2008 at 10:25:37PM -0600, Chad Perrin wrote: > > I'm looking for an easier way to insert interrobangs and other non-ASCII > characters (em-dashes, et cetera) into text on my FreeBSD laptop than by > way of copy/paste. Any recommendations? A hunt-and-select clicky GUI > probably wouldn't be any better than just copy/paste, but something like > holding down Alt while typing 8253 might be an improvement. > You can get multibyte characters in vim, if $TERM is something sensible like xterm and you use a font with the characters in it. See: :help dig in vim. E.g: ^k DG -> ° (degree) ^k Cu -> € (euro) (in: iso8859-15) ^k Co -> © (company) ^k o: -> ö (o umlaut) You can also call them by number but I find the 2 characters easier to remember. Use xfd(1) and xlsfonts(1) to see which fonts have which characters. I always use an iso8859-15 font because it's got the Euro. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080514235124.GA37470>