diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-08-08 16:38:42 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-08-08 16:38:42 +0200 |
commit | 09092155a66388bbd7be8d16debb35abfcfae700 (patch) | |
tree | 4cbe7f4f0d5c763405f721f7f5dba08864e53ef3 /src/getchar.c | |
parent | 83687a72155c70c062c689a9c545b5cdf5ebd0b4 (diff) | |
download | vim-git-09092155a66388bbd7be8d16debb35abfcfae700.tar.gz |
Remove unused code.
Diffstat (limited to 'src/getchar.c')
-rw-r--r-- | src/getchar.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/src/getchar.c b/src/getchar.c index f1a4dda06..c892b4645 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -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 */ |