|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
How to use gvim with greek letters?
First of all, I didn't know in which sub-forum to put this. Hope it's the right place...
For some days now, I'm trying to find info in how to enable greek typography in gvim*. It seems now that I can write in Greek in browsers and LibreOffice after a small modification in xorg.conf under input method: Code:
Option "XkbLayout" "us, gr" Option "XkbOptions" "grp:ctrl_shift_toggle" Code:
cd /etc/X11/xkb/symbols/pc/ sudo ln -s gr el *The only reason that I say gvim and not vim, is that because as a gtk application, I suppose that it will be easier... Can someone provide more info? |
|
|||
Quote:
$ setxkbmap -layout us,gr -option grp:ctrl_shift_toggle This command translates identically to the config snippet you posted.
__________________
Many thanks to the forum regulars who put time and effort into helping others solve their problems. Last edited by backrow; 7th May 2011 at 05:39 PM. |
|
|||
Quote:
[edit]: Here's a screenshot. The first line is proper English, the second is Greek. Last edited by Daffy; 7th May 2011 at 08:24 AM. |
|
||||
I think you need to map your Greek bindings to vim functions.
If you don't want that, in insert mode you could use this: http://www.vim.org/scripts/script.php?script_id=2469 also check this out http://vimdoc.sourceforge.net/htmldo...n.html#Russian finally make sure you use UTF-8 encoding |
|
|||
Quote:
|
|
|||
Quote:
The method I posted above works for me, and I don’t know why it wouldn’t work for you. Maybe you have LC_CTYPE set incorrectly—should be “en_US.UTF-8”. Of course, you should be using “set encoding=utf-8” inside Vim. That is right.
__________________
Many thanks to the forum regulars who put time and effort into helping others solve their problems. |
Tags |
greek, gvim |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
The Ping Torture of Tantalus" - A Greek tragedy exposing ARP and DNS | J65nko | Guides | 0 | 6th May 2008 10:44 PM |