aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/globals.h
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2015-09-10 09:22:59 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2015-09-18 14:35:26 -0300
commit1b1716477cfdb81735d95c4201c59f9176845f54 (patch)
tree43688d1b83bdc18f720adacd6c1dd30e02e9cdcb /src/nvim/globals.h
parentb7dab423ef9b4b8b4493a519b6b715e826b6fbc8 (diff)
downloadrneovim-1b1716477cfdb81735d95c4201c59f9176845f54.tar.gz
rneovim-1b1716477cfdb81735d95c4201c59f9176845f54.tar.bz2
rneovim-1b1716477cfdb81735d95c4201c59f9176845f54.zip
terminal: Don't enter terminal mode from `:normal`
Ref: https://github.com/junegunn/fzf.vim/issues/8#issuecomment-139209765
Diffstat (limited to 'src/nvim/globals.h')
-rw-r--r--src/nvim/globals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h
index 183e8fcff2..60d03cec0c 100644
--- a/src/nvim/globals.h
+++ b/src/nvim/globals.h
@@ -823,6 +823,8 @@ EXTERN int no_u_sync INIT(= 0); /* Don't call u_sync() */
EXTERN int u_sync_once INIT(= 0); /* Call u_sync() once when evaluating
an expression. */
+EXTERN bool force_restart_edit INIT(= false); // force restart_edit after
+ // ex_normal returns
EXTERN int restart_edit INIT(= 0); /* call edit when next cmd finished */
EXTERN int arrow_used; /* Normally FALSE, set to TRUE after
* hitting cursor key in insert mode.