Dear Maintainer, it happened recently in sid (don't know exaclty when, but I'd say less than two weeks): if I open more files simultaneously with the -p option, the Ctrl+PgUp (and Down) key sequence does not switch between tabs anymore. Regards, Alberto --- real paths of main Vim binaries --- /usr/bin/vi is /usr/bin/vim.gtk /usr/bin/vim is /usr/bin/vim.gtk /usr/bin/gvim is /usr/bin/vim.gtk
I'm not able to reproduce this. I ran “vim -p …” with 10+ files and Ctrl+PgUp/PgDown work fine. What terminal are you using? Did you happen to start using a different terminal when this started happening? Cheers,
/etc/alternatives/x-terminal-emulator I just tried: opened 7 files (verified .vimrc not containing any remap): Ctrl+PgUp/PgDown does nothing. Also verified that "Ctrl" is not captured by WM: Ctrl+V enters the visual block as it should. I think I never changed my terminal but, I'm afraid, I cannot be 100% sure. However, I tried also with xterm and /usr/bin/xfce4-terminal.wrapper and nothing changes. Best, Alberto
Hmm. I thought gnome-terminal captured <C-PgUp>/<C-PgDown>, but I know xterm doesn't. Can you try with "vim -u NONE -N -p ..." and see if that works? Cheers,
True (I didn't know). I tried and, when I realized that without vimrc it worked, I started playing with my (bare) .vimrc and I found that I did place a "colorscheme" setting __before__ the "syntax on". Swapping them makes Ctrl+PgUp||PGDown working (in xterm). I know my settings din't make any sense and I'm sorry for the inconvenience. However, this side-effect looks a bit awkward. Do you think it deserves some attention? Cheers, Alberto
I have "colorscheme" before "syntax on" in my vimrc, and those keys work fine. Can you put "echom &term" in your vimrc after the "colorscheme" command and after the "syntax on" command and see if anything changes, for both scenarios? ":messages" will show the output of the commands, in case they get lost during startup. Cheers,