-
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
add HandleCtrlBracket
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -111,7 +111,7 @@ All of these can be changed from setting menu, too. | |
|:-----|:----------|:------| | ||
|VimRestoreIME|If 1, IME status is restored at entering insert mode.|1| | ||
|VimJJ|If 1, `jj` changes mode to Normal from Insert.|0| | ||
|VimLongEscNormal|If 1, pushing escape sends escape to the underlying application, while holding escape sets normal mode.|0| | ||
|VimLongEscNormal|If 1, pushing escape/Ctrl-[ sends escape to the underlying application, while holding escape sets normal mode.|0| | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
BlueDrink9
Contributor
|
||
|VimTwoLetterEsc|A list of character pairs to press together during insert mode to get to normal mode. For example, a value of `jf` means pressing `j` and `f` at the same time will enter normal mode.|""| | ||
|VimDisableUnused|Disable level of unused keys in normal mode (see below for details).|3| | ||
|VimSetTitleMatchMode|SetTitleMatchMode: 1: Start with, 2: Contain, 3: Exact match|2| | ||
|
@@ -191,7 +191,7 @@ Here are the main modes. | |
|Visual Mode|There are three visual mode: Character-wise, Line-wise, and Block-wise. Block-wise visual mode is valid only for applications which support block-wise selection (such TeraPad).| | ||
|Command Mode|Can be used for saving file/quitting.| | ||
|
||
The initial state is `Insert Mode`, then `Esc` or `Ctrl-[` brings you to Normal Mode. | ||
The initial state is `Insert Mode`, then `ESC` or `Ctrl-[` brings you to Normal Mode. | ||
|
||
In Normal Mode, `i` is the key to be back to Insert Mode. | ||
|
||
|
@@ -212,6 +212,11 @@ ESC/Ctrl-[ switch off IME if IME is on. | |
ESC acts as ESC when IME is on and converting instructions. | ||
Ctrl-[ switches off IME and enters Normal Mode even if IME is on. | ||
|
||
Long press ESC/Ctrl-[ will send these original keys, if `VimLongEscNormal` is not enabled (0). | ||
If `VimLongEscNormal` is enabled, | ||
short press these keys will send these original | ||
and long press these keys will change the mode to the normal mode. | ||
|
||
If using a custom two-letter hotkey to enter normal mode, the two letters must be different. | ||
|
||
## Available commands in Normal Mode | ||
|
I think this is a very bad change.
The whole point of the LongEscNormal option is for people that prefer to use
<c-[>
anyway, so don't want to sacrifice the normal functionality of the escape key.Holding a key to enter normal mode is a nuisance if you use it frequently. While ESC commonly has other uses, eg in Word,
<c-[>
almost never has other uses.With this change, the only option people have is to use a twolettermap, which might not always be desirable. I think you should revert this change @rcmdnk .