edenzik / macvim

Automatically exported from code.google.com/p/macvim
0 stars 0 forks source link

Dvorak Bépo keyboard, in mvim, I can't type "_" character #211

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I have a Dvorak Bépo keyboard (http://bepo.fr/wiki/Mac_OS_X). In mvim, I
can't type "_" character.

In all other application, I haven't this issue, example in terminal…

Thanks for your help,
Stephane

Original issue reported on code.google.com by klein.stephane on 31 Aug 2009 at 10:28

GoogleCodeExporter commented 9 years ago
Have you gone through the steps on the ReportingBugs wiki page?  If not, please 
do
(_carefully_) before reporting back.

You need to provide more information that that if I am to be able to give you 
any
help at all.  Tell me step-by-step what you do, what you expect, what actually
happens.  The more details the better.  Take into consideration that I have no 
idea
what your keyboard layout looks like.  (I do not understand French so the link 
you
provided isn't terribly useful to me.)

Original comment by bjorn.winckler@gmail.com on 1 Sep 2009 at 12:44

GoogleCodeExporter commented 9 years ago
Hi,

With a dvorak bépo keyboard, the «_» character is obtained with alt+space.

Only with mac vim, type alt+space make a space and not an underscore.

Yet, I have a keyboard shortcuts that adds a _. This is not very practical.

Thanks for find a good solution :-)

Original comment by a.pult...@gmail.com on 19 Dec 2009 at 12:01

GoogleCodeExporter commented 9 years ago
I _think_ that this is because the keyboard layout you are using is incorrect.  
I've seen other people using custom 
keyboard layouts with similar problems and the cause has always been the 
keyboard layout itself.

How can I install this layout to test it myself (without any installer programs 
please).  Again, I don't understand 
French so please give me instructions in English.  If I could try the layout 
myself I could potentially try to debug 
the problem.

Original comment by bjorn.winckler@gmail.com on 23 Dec 2009 at 5:12

GoogleCodeExporter commented 9 years ago
Download this:
http://download.tuxfamily.org/dvorak/macosx/fr-dvorak-bepo-macosx-1.0rc2.dmg 
and copy
fr-dvorak-bepo.bundle into ~/Library/Keyboard Layouts. Then choose the "Dvorak
français" layout from the keyboard layout menu on System Preferences. The 
layout
should be installed now. You can try typing '_' by using altgr + space, on any
program except MacVim, where it doesn't work at all (it outputs a space).

Please, correct this problem quickly. Please note vim cli has not this bug.

Original comment by thys...@gmail.com on 2 Jan 2010 at 2:17

GoogleCodeExporter commented 9 years ago
I think I've written everything that is required for you to install and test the
keyboard. Unfortunately, the problem has not been yet solved. Although I use 
`imap
<M-Space> _` as a workaround, it still does not work for the search option, for
example. Please fix this. By the way, cli vim does not have this problem.

Original comment by thys...@gmail.com on 31 Jan 2010 at 8:19

GoogleCodeExporter commented 9 years ago
Yes, thank you for the instructions.  However, the problem is most likely the 
keymap itself (like I mentioned 
before) so you should take a look at it and see if you can figure out what is 
wrong with it.  Unfortunately I cannot 
help with fixing the keymap.

Original comment by bjorn.winckler@gmail.com on 31 Jan 2010 at 12:15

GoogleCodeExporter commented 9 years ago
I found the problem and fixed it.  The fix will be included in the next 
snapshot (52).

It is possible to fix this "manually" however as follows:

1. Open up MacVim and enter

:e $VIM/../KeyBinding.plist

2. In the file that opens delete two lines containing the following

    <key>~ </key>
    <string>keySpace:</string>

(It _should_ be lines 32-33.)

3.  Quit and restart MacVim.

That should do it!

Original comment by bjorn.winckler@gmail.com on 13 Feb 2010 at 11:46

GoogleCodeExporter commented 9 years ago
Thanks for the fix.

Original comment by a.pult...@gmail.com on 14 Feb 2010 at 9:46

GoogleCodeExporter commented 9 years ago

Original comment by bjorn.winckler@gmail.com on 1 Mar 2010 at 7:22