diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2016-03-14 23:58:47 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2018-03-23 14:01:49 +0100 |
commit | d407a48665d8f8e1e42eb1060ea245d979419605 (patch) | |
tree | e9e69777347e92618603f3d0d8bc54f81486a663 /src/nvim/ex_docmd.c | |
parent | ce3bc12e25f19d29c74e53a8a7f92079b1ccfcbf (diff) | |
download | rneovim-d407a48665d8f8e1e42eb1060ea245d979419605.tar.gz rneovim-d407a48665d8f8e1e42eb1060ea245d979419605.tar.bz2 rneovim-d407a48665d8f8e1e42eb1060ea245d979419605.zip |
getchar: implement <Cmd> key to invoke command in any mode
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r-- | src/nvim/ex_docmd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index e1d28b4a9c..95920acddc 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -8156,6 +8156,10 @@ static void ex_startinsert(exarg_T *eap) restart_edit = 'i'; curwin->w_curswant = 0; /* avoid MAXCOL */ } + + if (VIsual_active) { + showmode(); + } } /* |