summaryrefslogtreecommitdiff
path: root/src/edit.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-04-30 18:18:47 +0200
committerBram Moolenaar <Bram@vim.org>2012-04-30 18:18:47 +0200
commit8320da42bc443fa5c76710d331f6b8c3cfc2981e (patch)
tree90c57ec9d2bf3814e6e7159fda58676956afea8c /src/edit.c
parentb41d9689f1bec8434bb400b344b249180ac47668 (diff)
downloadvim-git-8320da42bc443fa5c76710d331f6b8c3cfc2981e.tar.gz
updated for version 7.3.513v7.3.513
Problem: Cannot use CTRL-E and CTRL-Y with "r". Solution: Make CTRL-E and CTRL-Y work like in Insert mode. (Christian Brabandt)
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/edit.c b/src/edit.c
index c8320a6e2..17bbc6f2e 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -253,7 +253,6 @@ static int ins_eol __ARGS((int c));
#ifdef FEAT_DIGRAPHS
static int ins_digraph __ARGS((void));
#endif
-static int ins_copychar __ARGS((linenr_T lnum));
static int ins_ctrl_ey __ARGS((int tc));
#ifdef FEAT_SMARTINDENT
static void ins_try_si __ARGS((int c));
@@ -9899,7 +9898,7 @@ ins_digraph()
* Handle CTRL-E and CTRL-Y in Insert mode: copy char from other line.
* Returns the char to be inserted, or NUL if none found.
*/
- static int
+ int
ins_copychar(lnum)
linenr_T lnum;
{