Friday, March 20, 2026

Re: Ctrl+PageUp in 9.2.0204

On Fr, 20 Mär 2026, jazztickets wrote:

> For me the issue is still happening in 9.2.209 on the terminals I've
> tried: xterm, xfce, gnome console, gnome terminal. It is working
> however on Konsole, which also worked in 9.2.204.

Thanks, let me ping the author

Thanks,
Christian
--
Term, holidays, term, holidays, till we leave school, and then work, work,
work till we die.
-- C. S. Lewis

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/ab3Ifyp3iTWBoIhQ%40256bit.org.

Re: Ctrl+PageUp in 9.2.0204

On Fri, Mar 20, 2026 at 3:33 PM Christian Brabandt <cblists@256bit.org> wrote:
>
>
> On Fr, 20 Mär 2026, Gary Johnson wrote:
>
> > On 2026-03-20, Gary Johnson wrote:
> > > On 2026-03-20, jazztickets wrote:
> > > > I'm using ctrl+PageUp/ctrl+PageDown to switch between tabs but after upgrading
> > > > to vim 9.2.0204 in Arch Linux, ctrl+PageUp no longer goes to the previous tab.
> > > > Instead it's sending ctrl+e and scrolling one line down. Tested with
> > > > xfce4-terminal and gnome's terminal. Do I need to change something in the
> > > > terminal?
> > >
> > > I can verify this on Ubuntu 24.04.4. I did a git bisect and found
> > > the difference (bug?) to have been introduced at patch 9.2.0192.
> > > This behavior is not affected by "k" in 'cpoptions'. I haven't
> > > looked into it further.
> >
> > I forgot to mention that the terminal I used was xterm version 403
> > and the desktop environment was GNOME 46.0.
> >
> > However, I discovered that the issue is not present in the latest
> > Vim, 9.2.209, when using GNOME Terminal version 3.52.0.
>
> Thanks for reporting, but it's not clear to me is this issue only
> present in xterm? Or is it resolved with latest master?

For me the issue is still happening in 9.2.209 on the terminals I've
tried: xterm,
xfce, gnome console, gnome terminal. It is working however on Konsole, which
also worked in 9.2.204.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/CACRkbns1tMhnBEz2gVF1oGo%3DoOTwa0Wz01ivQaF1zTrO2OxZ_w%40mail.gmail.com.

Re: Ctrl+PageUp in 9.2.0204

On Fr, 20 Mär 2026, Gary Johnson wrote:

> On 2026-03-20, Gary Johnson wrote:
> > On 2026-03-20, jazztickets wrote:
> > > I'm using ctrl+PageUp/ctrl+PageDown to switch between tabs but after upgrading
> > > to vim 9.2.0204 in Arch Linux, ctrl+PageUp no longer goes to the previous tab.
> > > Instead it's sending ctrl+e and scrolling one line down. Tested with
> > > xfce4-terminal and gnome's terminal. Do I need to change something in the
> > > terminal?
> >
> > I can verify this on Ubuntu 24.04.4. I did a git bisect and found
> > the difference (bug?) to have been introduced at patch 9.2.0192.
> > This behavior is not affected by "k" in 'cpoptions'. I haven't
> > looked into it further.
>
> I forgot to mention that the terminal I used was xterm version 403
> and the desktop environment was GNOME 46.0.
>
> However, I discovered that the issue is not present in the latest
> Vim, 9.2.209, when using GNOME Terminal version 3.52.0.

Thanks for reporting, but it's not clear to me is this issue only
present in xterm? Or is it resolved with latest master?

Thanks,
Christian
--
Flugg's Law:
When you need to knock on wood is when you realize
that the world is composed of vinyl, naugahyde and aluminum.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/ab28rhNqM957aQsd%40256bit.org.

Re: Ctrl+PageUp in 9.2.0204

On 2026-03-20, Gary Johnson wrote:
> On 2026-03-20, jazztickets wrote:
> > I'm using ctrl+PageUp/ctrl+PageDown to switch between tabs but after upgrading
> > to vim 9.2.0204 in Arch Linux, ctrl+PageUp no longer goes to the previous tab.
> > Instead it's sending ctrl+e and scrolling one line down. Tested with
> > xfce4-terminal and gnome's terminal. Do I need to change something in the
> > terminal?
>
> I can verify this on Ubuntu 24.04.4. I did a git bisect and found
> the difference (bug?) to have been introduced at patch 9.2.0192.
> This behavior is not affected by "k" in 'cpoptions'. I haven't
> looked into it further.

I forgot to mention that the terminal I used was xterm version 403
and the desktop environment was GNOME 46.0.

However, I discovered that the issue is not present in the latest
Vim, 9.2.209, when using GNOME Terminal version 3.52.0.

Regards,
Gary

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/20260320203046.GF10946%40phoenix.

Re: Ctrl+PageUp in 9.2.0204

On 2026-03-20, jazztickets wrote:
> I'm using ctrl+PageUp/ctrl+PageDown to switch between tabs but after upgrading
> to vim 9.2.0204 in Arch Linux, ctrl+PageUp no longer goes to the previous tab.
> Instead it's sending ctrl+e and scrolling one line down. Tested with
> xfce4-terminal and gnome's terminal. Do I need to change something in the
> terminal?

I can verify this on Ubuntu 24.04.4. I did a git bisect and found
the difference (bug?) to have been introduced at patch 9.2.0192.
This behavior is not affected by "k" in 'cpoptions'. I haven't
looked into it further.

--------------------------------------------------------------------
c4d212257d61f5c2a9cd919486288c747aaaa05d is the first bad commit
commit c4d212257d61f5c2a9cd919486288c747aaaa05d
Author: AstroSnail <astrosnail@protonmail.com>
Date: Tue Mar 17 21:24:43 2026 +0000

patch 9.2.0192: not correctly recognizing raw key codes

Problem: When "k" is excluded from cpoptions, vim should be able to
recognize raw key codes in mappings and replace them with
builtin codes (e.g. ^[OA is replaced with <Up>) so that
changing the builtin code also changes the mapping to match.
Currently, this only works properly if the builtin code does
not contain modifiers (e.g. @;*).
Solution: Teach find_term_bykeys how to recognize keys with modifiers
(AstroSnail).

fixes: #19182
closes: #19643

Signed-off-by: AstroSnail <astrosnail@protonmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>

src/term.c | 93 +++++++++++++++++++++++++++++++++++++-----
src/testdir/test_termcodes.vim | 20 +++++++++
src/version.c | 2 +
3 files changed, 104 insertions(+), 11 deletions(-)
--------------------------------------------------------------------

Regards,
Gary

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/20260320194659.GE10946%40phoenix.

Ctrl+PageUp in 9.2.0204

I'm using ctrl+PageUp/ctrl+PageDown to switch between tabs but after upgrading to vim 9.2.0204 in Arch Linux, ctrl+PageUp no longer goes to the previous tab. Instead it's sending ctrl+e and scrolling one line down. Tested with xfce4-terminal and gnome's terminal. Do I need to change something in the terminal?

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/a0d10bae-cc9b-4d7d-85ab-8da124ab1e3an%40googlegroups.com.

Re: $VIMRC over .vimrc ?

On Fri, Mar 20, 2026 at 9:58 AM Christopher <crestchristopher@gmail.com> wrote:
>
>
>
> On Thursday, March 19, 2026 at 8:44:22 PM UTC-4 Marvin Renich wrote:
>
> * Christopher <crestchr...@gmail.com> [260319 19:14]:
> > On Thu, Mar 19, 2026 at 9:45 AM Marvin Renich <mr...@renich.org> wrote:
> > > The user's vimrc file _must_ be one of the files listed above, unless
> > > you specify the -u option. The only way to specify the vimrc file in an
> > > environment variable is to export VIMINT="source /path/to/your/vimrc"
> > > before (or while) starting vim.
> >
> > You mention, the only way to specify a vimrc in a environment variable; I
> > assume as in $MYVIMRC is to export VIMNT which is the source of your vimrc
> > file. If my vimrc file was located in the system path then that would be;
> > VIMINT=`/etc/vimrc and that would create the environment variable $MYVIMRC
> > ?
>
> You need to read carefully and for exact syntax and content:
>
> > > environment variable is to export VIMINT="source /path/to/your/vimrc"
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Remember that VIMINIT specifies an ex command to execute, not a file
> name. If you want to source a file using VIMINIT, you must specify the
> source command itself, not just the file name.
>
> Also, when testing this, know that :scriptnames is your friend.
>
> Also note that if your vimrc file is the system vimrc file (/etc/vimrc
> on some distributions, /etc/vim/vimrc on Debian), it is sufficient to
> use:
>
> VIMINIT=':' vim
>
> or
>
> export VIMINIT=':'
> vim
>
> as the system vimrc is sourced even if you specify a VIMINIT. Setting
> VIMINIT=':' simply disables reading of the user vimrc file, but not the
> system vimrc file. (':' is an empty ex command.)
>
> Finally, if you specify VIMINIT, MYVIMRC is _not_ set by vim.
>
> ...Marvin
>
>
> What do you mean by :scriptnames ?

":scriptnames" is an Ex command supported by Vim that announces what
scripts have been executed in the current session. (":help
:scriptnames").

> Within vim I run the command; VIMIT=: (colon) and that takes my system vimrc assigns it the variable $MYVIMRC or that has to be done after ?

I get the sense you may not be reading very carefully, but let me try
to clear up some confusion:

- "VIMINIT=: vim" is an example shell command that would disable
initializations from vimrc files other than the system vimrc.
(Notably, this does _not_ disable user-local plugins.)
- Vim will assign MYVIMRC if and when it finds and executes a user
vimrc. It never (AFAIK) assigns MYVIMRC to the path of the system
vimrc.
- The above point is moot if you set VIMINIT; then nothing sets MYVIMRC
- MYVIMRC is never _read_ by Vim to take any action (unless a plugin
or script uses it)

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/CALnO6CC33KPvhAc06k-WzcMcgvsff9mCyxjb7c4EsDKqDRr%3DOw%40mail.gmail.com.