diff options
author | James McCoy <jamessan@jamessan.com> | 2017-02-26 14:09:25 -0500 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2017-02-26 14:20:54 -0500 |
commit | 69bfe14b79fc1a141ef13b89fdacbec8e7459e33 (patch) | |
tree | dec60f9a3106c59927fa5733695147f65cfc15c8 /src/nvim/edit.c | |
parent | 7ea81fe443369382b3ec8c9cfb5a80bcbcbe40bd (diff) | |
download | rneovim-69bfe14b79fc1a141ef13b89fdacbec8e7459e33.tar.gz rneovim-69bfe14b79fc1a141ef13b89fdacbec8e7459e33.tar.bz2 rneovim-69bfe14b79fc1a141ef13b89fdacbec8e7459e33.zip |
vim-patch:8.0.0379
Problem: CTRL-Z and mouse click use CTRL-O unnecessary.
Solution: Remove stuffing CTRL-O. (James McCoy, closes vim/vim#1453)
https://github.com/vim/vim/commit/74a47162a07fddb532f4bead212f6c80ef474ae7
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r-- | src/nvim/edit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c index 73d8793a84..ecc794fb14 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -801,8 +801,8 @@ static int insert_handle_key(InsertState *s) goto normalchar; // insert CTRL-Z as normal char } do_cmdline_cmd("stop"); - s->c = Ctrl_O; - // FALLTHROUGH + ui_cursor_shape(); // may need to update cursor shape + break; case Ctrl_O: // execute one command if (ctrl_x_mode == CTRL_X_OMNI) { |