Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #16115 (assigned defect)

Opened 2 months ago

Last modified 3 days ago

vim-app 7.1.330 does not receive Ctrl-^

Reported by: pub1@… Owned by: raimue@…
Priority: Normal Milestone: Port Bugs
Component: ports Version: 1.6.0
Keywords: Cc: pub1@…
Port: vim-app

Description

I often use Ctrl-^ to switch to the previous window in vim. In command line version distributed on this site, this works, but not in vim-app. There is only flashing up a 6 for a second in the status bar, but nothing happens.

Ctrl-^ is described in the vim manual in usr_7.txt

*07.3*	Jumping from file to file

To quickly jump between two files, press CTRL-^ (on English-US keyboards the ^
is above the 6 key).  Example: >

	:args one.c two.c three.c

You are now in one.c. >

	:next

Now you are in two.c.  Now use CTRL-^ to go back to one.c.  Another CTRL-^ and
you are back in two.c.  Another CTRL-^ and you are in one.c again.  If you now
do: >

	:next

You are in three.c.  Notice that the CTRL-^ command does not change the idea
of where you are in the list of files.  Only commands like ":next" and
":previous" do that.

I tried this with packages vim and vim-app, both on the newest version from macports and both using the same .vimrc on a macbook running OS X 10.5.4 and US Keyboard Layout.

Thanks a lot!

Change History

Changed 2 months ago by pub1@…

  • cc pub1@… added

Cc Me!

Changed 2 months ago by blb@…

  • owner changed from macports-tickets@… to raimue@…
  • milestone set to Port Bugs

Assigning to maintainer.

Changed 2 months ago by raimue@…

  • status changed from new to assigned

On a US layout, neither Ctrl+6 nor Ctrl+Shift+6 does work in Vim.app. I am using a german keyboard layout by default with which Ctrl+ works, but not Ctrl+6.

I found this thread/message on vim-mac. It says that Ctrl+6 never worked in Vim.app. Unfortunately the server of the linked patch only returns a 500 error.

The thread also contains some workarounds for the problem, maybe one of them suites your needs.

There seems to be a general problem with Ctrl+6 on the Mac, see also :help *mac-lack.

Changed 3 days ago by raimue@…

  • port set to vim-app
Note: See TracTickets for help on using tickets.