Mercurial > vim
comparison src/ex_cmds.c @ 17809:59f8948b7590 v8.1.1901
patch 8.1.1901: the +insert_expand feature is not always available
Commit: https://github.com/vim/vim/commit/e2c453d38f6512ac4cff7cd26aa7780b4e2534d7
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 21 14:37:09 2019 +0200
patch 8.1.1901: the +insert_expand feature is not always available
Problem: The +insert_expand feature is not always available.
Solution: Graduate the +insert_expand feature.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 21 Aug 2019 14:45:04 +0200 |
parents | 0f7ae8010787 |
children | e8a7029efa40 |
comparison
equal
deleted
inserted
replaced
17808:42561b61bfd8 | 17809:59f8948b7590 |
---|---|
4389 if (typed == 'a') | 4389 if (typed == 'a') |
4390 { | 4390 { |
4391 subflags.do_ask = FALSE; | 4391 subflags.do_ask = FALSE; |
4392 break; | 4392 break; |
4393 } | 4393 } |
4394 #ifdef FEAT_INS_EXPAND | |
4395 if (typed == Ctrl_E) | 4394 if (typed == Ctrl_E) |
4396 scrollup_clamp(); | 4395 scrollup_clamp(); |
4397 else if (typed == Ctrl_Y) | 4396 else if (typed == Ctrl_Y) |
4398 scrolldown_clamp(); | 4397 scrolldown_clamp(); |
4399 #endif | |
4400 } | 4398 } |
4401 State = save_State; | 4399 State = save_State; |
4402 #ifdef FEAT_MOUSE | 4400 #ifdef FEAT_MOUSE |
4403 setmouse(); | 4401 setmouse(); |
4404 #endif | 4402 #endif |