mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
Remove unused code.
This commit is contained in:
@@ -5087,13 +5087,6 @@ static struct initmap
|
||||
#if defined(MSDOS) || defined(MSWIN) || defined(OS2)
|
||||
/* Use the Windows (CUA) keybindings. */
|
||||
# ifdef FEAT_GUI
|
||||
# if 0 /* These are now used to move tab pages */
|
||||
{(char_u *)"<C-PageUp> H", NORMAL+VIS_SEL},
|
||||
{(char_u *)"<C-PageUp> <C-O>H",INSERT},
|
||||
{(char_u *)"<C-PageDown> L$", NORMAL+VIS_SEL},
|
||||
{(char_u *)"<C-PageDown> <C-O>L<C-O>$", INSERT},
|
||||
# endif
|
||||
|
||||
/* paste, copy and cut */
|
||||
{(char_u *)"<S-Insert> \"*P", NORMAL},
|
||||
{(char_u *)"<S-Insert> \"-d\"*P", VIS_SEL},
|
||||
@@ -5104,12 +5097,6 @@ static struct initmap
|
||||
{(char_u *)"<C-X> \"*d", VIS_SEL},
|
||||
/* Missing: CTRL-C (cancel) and CTRL-V (block selection) */
|
||||
# else
|
||||
# if 0 /* These are now used to move tab pages */
|
||||
{(char_u *)"\316\204 H", NORMAL+VIS_SEL}, /* CTRL-PageUp is "H" */
|
||||
{(char_u *)"\316\204 \017H",INSERT}, /* CTRL-PageUp is "^OH"*/
|
||||
{(char_u *)"\316v L$", NORMAL+VIS_SEL}, /* CTRL-PageDown is "L$" */
|
||||
{(char_u *)"\316v \017L\017$", INSERT}, /* CTRL-PageDown ="^OL^O$"*/
|
||||
# endif
|
||||
{(char_u *)"\316w <C-Home>", NORMAL+VIS_SEL},
|
||||
{(char_u *)"\316w <C-Home>", INSERT+CMDLINE},
|
||||
{(char_u *)"\316u <C-End>", NORMAL+VIS_SEL},
|
||||
@@ -5119,7 +5106,7 @@ static struct initmap
|
||||
# ifdef FEAT_CLIPBOARD
|
||||
# ifdef DJGPP
|
||||
{(char_u *)"\316\122 \"*P", NORMAL}, /* SHIFT-Insert is "*P */
|
||||
{(char_u *)"\316\122 \"-d\"*P", VIS_SEL}, /* SHIFT-Insert is "-d"*P */
|
||||
{(char_u *)"\316\122 \"-d\"*P", VIS_SEL}, /* SHIFT-Insert is "-d"*P */
|
||||
{(char_u *)"\316\122 \022\017*", INSERT}, /* SHIFT-Insert is ^R^O* */
|
||||
{(char_u *)"\316\222 \"*y", VIS_SEL}, /* CTRL-Insert is "*y */
|
||||
# if 0 /* Shift-Del produces the same code as Del */
|
||||
@@ -5129,7 +5116,7 @@ static struct initmap
|
||||
{(char_u *)"\030 \"-d", VIS_SEL}, /* CTRL-X is "-d */
|
||||
# else
|
||||
{(char_u *)"\316\324 \"*P", NORMAL}, /* SHIFT-Insert is "*P */
|
||||
{(char_u *)"\316\324 \"-d\"*P", VIS_SEL}, /* SHIFT-Insert is "-d"*P */
|
||||
{(char_u *)"\316\324 \"-d\"*P", VIS_SEL}, /* SHIFT-Insert is "-d"*P */
|
||||
{(char_u *)"\316\324 \022\017*", INSERT}, /* SHIFT-Insert is ^R^O* */
|
||||
{(char_u *)"\316\325 \"*y", VIS_SEL}, /* CTRL-Insert is "*y */
|
||||
{(char_u *)"\316\327 \"*d", VIS_SEL}, /* SHIFT-Del is "*d */
|
||||
|
Reference in New Issue
Block a user