Loading ...
Sorry, an error occurred while loading the content.

Re: Shifted Special Characters in vim-7 (mac)

Expand Messages
  • Stephen Riehm
    Hi Nico, ... erm... cvs? I used the cvs -z3 -d:pserver:anonymous@vim.cvs.sf.net:/cvsroot/vim checkout vim7 line from http://www.vim.org/cvs.php. My mbp is
    Message 1 of 4 , Apr 5, 2007
      Hi Nico,

      On 05.04.2007, at 01:16, Nicolas Weber wrote:

      >> one problem I have with vim-7 on macs is that the shifted special
      >> characters, like D-( or D-", only come through in their unshifted
      >> forms, in the previous examples D-9 and D-'. This has been my K.O.
      >> criteria for vim-7 in the past.
      > SVN version or officially released version?

      erm... cvs? I used the

      cvs -z3 -d:pserver:anonymous@...:/cvsroot/vim checkout vim7

      line from http://www.vim.org/cvs.php.
      My mbp is brand new and I'm still on holidays, so I haven't installed
      much on it yet, including svn. I'll be home next week.
      What's the preferred reference?

      >> I hunted through the code and found a line in gui_mac.c which
      >> explicitly removes the shift modifier in the mistaken belief that
      >> you would get something like shift-( if it didn't. I removed the
      >> offending code and now my macros work beautifully again (for me :-).
      > This line is there for a reason (but I don't remember the reason
      > atm :-\ ). The other guis have it, and I believe you would get
      > something like shift-( without this line. Which keyboard layout are
      > you using?

      I thought it might be :-)
      I'm using the US Keyboard layout on a US Keyboard MacBook Pro -
      nothing fancy.
      For what it's worth - what would be the problem if shift-( turned up?
      I know that on german keyboards, < and > are not shifted, while they
      are on US keyboards.
      Since only shift-, was arriving at the line I commented out - maybe
      we have a different problem (ie: why isn't < turning up instead of

      > Here's a list with some problems my keyboard patch had (some
      > problems are still there): http://macvim.blogspot.com/2006/10/
      > keyboard-handling-patch.html

      OK - I've downloaded your patch and I'll have a look at it.

      >> This is just a preliminary patch (commenting out a few lines).
      >> How can I go about having this code tested and eventually included
      >> in the CVS code?
      >> I've also included a patch to install rgb.txt on OS-X - hasn't
      >> that annoyed anyone yet?
      > This mailing list strips attachments for some reason and there
      > seems to be nobody who can fix this. So add your patches to http://
      > wiki.macvim.org/wiki/VimPatches/ and wait for feedback.

      I'll get back to you once I've checked out your patch and the
      regressions you mentioned.

    Your message has been successfully submitted and would be delivered to recipients shortly.