aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-03-05 19:03:37 -0500
committerJustin M. Keyes <justinkz@gmail.com>2015-03-05 19:03:37 -0500
commita06186de41d4051c0fffbb936ae91238ee6c4169 (patch)
treeb0bb27feca64e5c1bff821225c642c42bd94122a /src/nvim/ex_getln.c
parent0dd1ad0760ecdbfeef94da4ef33d71e66eab35b3 (diff)
parent117bf11e19bc0b23fb8baf79acc44ece9fcc8f2b (diff)
downloadrneovim-a06186de41d4051c0fffbb936ae91238ee6c4169.tar.gz
rneovim-a06186de41d4051c0fffbb936ae91238ee6c4169.tar.bz2
rneovim-a06186de41d4051c0fffbb936ae91238ee6c4169.zip
Merge #2011 'Macro cleanup'
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index 3dffb1f1d3..a7bb4afa70 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -291,9 +291,6 @@ getcmdline (
redir_off = TRUE; /* Don't redirect the typed command.
Repeated, because a ":redir" inside
completion may switch it on. */
-#ifdef USE_ON_FLY_SCROLL
- dont_scroll = FALSE; /* allow scrolling here */
-#endif
quit_more = FALSE; /* reset after CTRL-D which had a more-prompt */
cursorcmd(); /* set the cursor on the right spot */
@@ -904,9 +901,6 @@ getcmdline (
goto returncmd; /* back to cmd mode */
case Ctrl_R: /* insert register */
-#ifdef USE_ON_FLY_SCROLL
- dont_scroll = TRUE; /* disallow scrolling here */
-#endif
putcmdline('"', TRUE);
++no_mapping;
i = c = plain_vgetc(); /* CTRL-R <char> */
@@ -1270,9 +1264,6 @@ getcmdline (
case Ctrl_K:
ignore_drag_release = TRUE;
putcmdline('?', TRUE);
-#ifdef USE_ON_FLY_SCROLL
- dont_scroll = TRUE; /* disallow scrolling here */
-#endif
c = get_digraph(TRUE);
if (c != NUL)
break;