diff options
| author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-11-25 22:13:19 +0100 |
|---|---|---|
| committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-11-25 22:13:19 +0100 |
| commit | 3c99be68e8d3c4d67b2db54b8650bf55d769b98e (patch) | |
| tree | 7d248e2e98bd3c86b69f602d236b838b06fbc5b5 /st.info | |
| parent | Fix value of ka1 terminfo capability (diff) | |
| download | st-3c99be68e8d3c4d67b2db54b8650bf55d769b98e.tar.gz st-3c99be68e8d3c4d67b2db54b8650bf55d769b98e.zip | |
Add support for insert key
Insert key stands for a key which allows enter or leaves insert mode, so let
it generates the correct sequence to change between these modes:
- Insert: Enter in insert mode.
- Shift + Insert: Leave insert mode (replace mode).
- Control + Insert: Insert a blank line.
Like Shift + Insert also paste text, if a user want this feature be full
functional he has to modify such shortcut.
---
config.def.h | 16 ++++++++++++----
st.info | 3 +++
2 files changed, 15 insertions(+), 4 deletions(-)
Diffstat (limited to '')
| -rw-r--r-- | st.info | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -138,6 +138,9 @@ st| simpleterm, | |||
| 138 | kf62=\E[1;4Q, | 138 | kf62=\E[1;4Q, |
| 139 | kf63=\E[1;4R, | 139 | kf63=\E[1;4R, |
| 140 | khome=\E[1~, | 140 | khome=\E[1~, |
| 141 | kil1=\E[2;5~, | ||
| 142 | krmir=\E[2;2~, | ||
| 143 | kich1=\E[2~, | ||
| 141 | knp=\E[6~, | 144 | knp=\E[6~, |
| 142 | kmous=\E[M, | 145 | kmous=\E[M, |
| 143 | kpp=\E[5~, | 146 | kpp=\E[5~, |
