mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 07:48:18 +00:00
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)
74a47162a0
This commit is contained in:
@@ -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) {
|
||||
|
@@ -2696,8 +2696,6 @@ do_mouse (
|
||||
else if (((mod_mask & MOD_MASK_CTRL)
|
||||
|| (mod_mask & MOD_MASK_MULTI_CLICK) == MOD_MASK_2CLICK)
|
||||
&& bt_quickfix(curbuf)) {
|
||||
if (State & INSERT)
|
||||
stuffcharReadbuff(Ctrl_O);
|
||||
if (curwin->w_llist_ref == NULL) { // quickfix window
|
||||
do_cmdline_cmd(".cc");
|
||||
} else { // location list window
|
||||
|
Reference in New Issue
Block a user