Introduction
Introduction Statistics Contact Development Disclaimer Help
tAdd catch-all to insert mode in other languages so adding text works at least …
git clone git://lumidify.org/ledit.git (fast, but not encrypted)
git clone https://lumidify.org/git/ledit.git (encrypted, but very slow)
Log
Files
Refs
README
LICENSE
---
commit 133041cbe8f5b106c95984a743b852fcdac6eda9
parent b7dc5c71dceb3a26368fc7d027053378a5828463
Author: lumidify <[email protected]>
Date: Tue, 2 Nov 2021 11:30:14 +0100
Add catch-all to insert mode in other languages so adding text works at least
Diffstat:
M .gitignore | 1 +
M keys_basic_config.h | 7 +++++--
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
t@@ -2,3 +2,4 @@ tmp
ledit
*.core
*.o
+.*.swp
diff --git a/keys_basic_config.h b/keys_basic_config.h
t@@ -133,6 +133,7 @@ static struct key keys_en[] = {
};
static struct key keys_de[] = {
+ {"", 0, 0, INSERT, KEY_ANY, KEY_ANY, &insert_mode_insert_text}
};
static struct key keys_ur[] = {
t@@ -150,7 +151,8 @@ static struct key keys_ur[] = {
{"ج", 0, 0, NORMAL, KEY_ANY, KEY_MOTION | KEY_NUMBERALLOWED, &cursor…
{"ک", 0, 0, NORMAL, KEY_ANY, KEY_MOTION | KEY_NUMBERALLOWED, &cursor…
{"0", 0, 0, NORMAL, KEY_ANY, KEY_ANY, &cursor_to_beginning},
- {"چ", ControlMask, 0, INSERT|VISUAL, KEY_ANY, KEY_ANY, &clipcopy}
+ {"چ", ControlMask, 0, INSERT|VISUAL, KEY_ANY, KEY_ANY, &clipcopy},
+ {"", 0, 0, INSERT, KEY_ANY, KEY_ANY, &insert_mode_insert_text}
};
static struct key keys_hi[] = {
t@@ -167,7 +169,8 @@ static struct key keys_hi[] = {
{"ल", 0, 0, NORMAL, KEY_ANY, KEY_MOTION | KEY_NUMBERALLOWED, &curso…
{"ज", 0, 0, NORMAL, KEY_ANY, KEY_MOTION | KEY_NUMBERALLOWED, &curso…
{"क", 0, 0, NORMAL, KEY_ANY, KEY_MOTION | KEY_NUMBERALLOWED, &curso…
- {"0", 0, 0, NORMAL, KEY_ANY, KEY_ANY, &cursor_to_beginning}
+ {"0", 0, 0, NORMAL, KEY_ANY, KEY_ANY, &cursor_to_beginning},
+ {"", 0, 0, INSERT, KEY_ANY, KEY_ANY, &insert_mode_insert_text}
};
GEN_KEY_ARRAY(struct key, keys_en, keys_de, keys_ur, keys_hi);
You are viewing proxied material from lumidify.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.