New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #24889 (closed defect: wontfix)

Opened 3 years ago

Last modified 3 years ago

MacVim keyboard layout is driving me insane

Reported by: krischik@… Owned by: raimue@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: MacVim, vim-app

Description

Hello,

since vim-app won't compile with 10.6 I am forced to use MacVim. And it is driving me insane. The reason is that MacVim is changing the keyboard layout. But I am used to the Vim layout. I use it on several operating systems - nut just Mac OS X.

I have some of my own mapping. But even my own mapping disappear because they are set in .vimrc (so it's valid for Terminal and GUI use) and MacVim screws everything up in gvimrc.

Please, Please do us hardcore vim-ers a favour: Either fix vim-app of give us a "g:macvim-leave-my-setup-alone" or "$macvim-leave-my-setup-alone" option.

Thanks

Martin

PS: I do like the mvim script. That actually is cool.

Change History

comment:1 Changed 3 years ago by krischik@…

Hi,

I now found the macvim_skip_cmd_opt_movement and macvim_hig_shift_movement options. I like to point out that having one option activating and the other deactivating hat me confused for a while.

comment:2 Changed 3 years ago by jmr@…

  • Keywords Vim removed
  • Owner changed from raimue to raimue@…
  • Type changed from request to defect

Owner needs to be a complete email address.

comment:3 Changed 3 years ago by raimue@…

  • Status changed from new to assigned

Not sure what you are asking for. MacVim loads keybindings from my .vimrc on my machine. I do not have a separate .gvimrc.

If you want to set specific options in your .vimrc for MacVim only, you can use the following snippet:

if has("gui_macvim")
    let macvim_hig_shift_movement = 1
endif

comment:4 Changed 3 years ago by krischik@…

MacVim loads keybindings from my .vimrc on my machine.

That's what I have as well. But MacVim's $VIM/gvimrc changes them which I don't want. Well I found the macvim_skip_cmd_opt_movement option now and it seems to work as expected - so all that is left is better documentation so we hard-core-vim-ers find macvim_skip_cmd_opt_movement quicker.

comment:5 Changed 3 years ago by raimue@…

  • Status changed from assigned to closed
  • Resolution set to wontfix

It's documented in :help macvim-shortcuts and/or :help cmd-movement.

I don't think there is anything MacPorts can do about this, so please file an issue upstream with the developers of MacVim.

Note: See TracTickets for help on using tickets.