We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 213109a commit 1ead1b5Copy full SHA for 1ead1b5
runtime/doc/intro.txt
@@ -1,4 +1,4 @@
1
-*intro.txt* For Vim version 9.1. Last change: 2025 Nov 01
+*intro.txt* For Vim version 9.1. Last change: 2025 Oct 12
2
3
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -450,8 +450,6 @@ notation meaning equivalent decimal value(s) ~
450
<Del> delete 127
451
<CSI> command sequence intro ALT-Esc 155 *<CSI>*
452
<xCSI> CSI when typed in the GUI *<xCSI>*
453
-<OSC> operating system command 157 *<OSC>*
454
-<xOSC> finished OSC response *<xOSC>*
455
456
<EOL> end-of-line (can be <CR>, <NL> or <CR><NL>,
457
depends on system and 'fileformat') *<EOL>*
runtime/doc/tags
@@ -3841,7 +3841,6 @@ $quote eval.txt /*$quote*
3841
<NL> motion.txt /*<NL>*
3842
<Nop> map.txt /*<Nop>*
3843
<Nul> intro.txt /*<Nul>*
3844
-<OSC> intro.txt /*<OSC>*
3845
<PageDown> scroll.txt /*<PageDown>*
3846
<PageUp> scroll.txt /*<PageUp>*
3847
<Plug> map.txt /*<Plug>*
@@ -3962,7 +3961,6 @@ $quote eval.txt /*$quote*
3962
3961
<xHome> term.txt /*<xHome>*
3963
<xHome>-xterm term.txt /*<xHome>-xterm*
3964
<xLeft> term.txt /*<xLeft>*
3965
-<xOSC> intro.txt /*<xOSC>*
3966
<xRight> term.txt /*<xRight>*
3967
<xUp> term.txt /*<xUp>*
3968
= change.txt /*=*
src/keymap.h
@@ -280,7 +280,6 @@ enum key_extra
280
, KE_SID = 106 // <SID> special key, followed by {nr};
281
, KE_ESC = 107 // used for K_ESC
282
, KE_WILD = 108 // triggers wildmode completion
283
- , KE_OSC = 109 // OSC sequence
284
};
285
286
/*
@@ -479,7 +478,6 @@ enum key_extra
479
478
#define K_MOUSERIGHT TERMCAP2KEY(KS_EXTRA, KE_MOUSERIGHT)
480
481
#define K_CSI TERMCAP2KEY(KS_EXTRA, KE_CSI)
482
-#define K_OSC TERMCAP2KEY(KS_EXTRA, KE_OSC)
483
#define K_SNR TERMCAP2KEY(KS_EXTRA, KE_SNR)
484
#define K_PLUG TERMCAP2KEY(KS_EXTRA, KE_PLUG)
485
#define K_CMDWIN TERMCAP2KEY(KS_EXTRA, KE_CMDWIN)
src/misc2.c
@@ -1053,7 +1053,6 @@ static struct key_name_entry
1053
{TRUE, NL, STRING_INIT("NewLine"), TRUE},
1054
{TRUE, NL, STRING_INIT("NL"), FALSE},
1055
{TRUE, K_ZERO, STRING_INIT("Nul"), FALSE},
1056
- {TRUE, OSC, STRING_INIT("OSC"), FALSE},
1057
{TRUE, K_PAGEDOWN, STRING_INIT("PageDown"), FALSE},
1058
{TRUE, K_PAGEUP, STRING_INIT("PageUp"), FALSE},
1059
{TRUE, K_PE, STRING_INIT("PasteEnd"), FALSE},
@@ -1112,7 +1111,6 @@ static struct key_name_entry
1112
1111
{TRUE, K_XF4, STRING_INIT("xF4"), FALSE},
1113
{TRUE, K_XHOME, STRING_INIT("xHome"), FALSE},
1114
{TRUE, K_XLEFT, STRING_INIT("xLeft"), FALSE},
1115
- {TRUE, K_OSC, STRING_INIT("xOSC"), FALSE},
1116
{TRUE, K_XRIGHT, STRING_INIT("xRight"), FALSE},
1117
{TRUE, K_XUP, STRING_INIT("xUp"), FALSE},
1118
{TRUE, K_ZEND, STRING_INIT("zEnd"), FALSE},
src/term.c
@@ -5933,6 +5933,7 @@ handle_osc(char_u *tp, int len, char_u *key_name, int *slen)
5933
last_char = ((char_u *)osc_state.buf.ga_data)[osc_state.buf.ga_len - 1];
5934
5935
key_name[0] = (int)KS_EXTRA;
5936
+ key_name[1] = (int)KE_IGNORE;
5937
5938
// Read data and append to buffer. If we reach a terminator, then
5939
// finally set the vim var.
@@ -5944,8 +5945,6 @@ handle_osc(char_u *tp, int len, char_u *key_name, int *slen)
5944
5945
{
5946
osc_state.processing = FALSE;
5947
- key_name[1] = (int)KE_OSC;
5948
-
5949
ga_concat_len(&osc_state.buf, tp, i + 1 + (tp[i] == ESC));
5950
ga_append(&osc_state.buf, NUL);
5951
*slen = i + 1 + (tp[i] == ESC);
@@ -5963,8 +5962,6 @@ handle_osc(char_u *tp, int len, char_u *key_name, int *slen)
5963
5962
return OK;
5964
}
5965
5966
- key_name[1] = (int)KE_IGNORE;
5967
5968
#ifdef ELAPSED_FUNC
5969
if (ELAPSED_FUNC(osc_state.start_tv) >= p_ost)
5970
src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
729
730
static int included_patches[] =
731
{ /* Add new patch number below this line */
732
+/**/
733
+ 1896,
734
/**/
735
1895,
736
0 commit comments