Introduction
Introduction Statistics Contact Development Disclaimer Help
tled: switch to the default keymap with ^E - neatvi - [fork] simple vi-type edi…
git clone git://src.adamsgaard.dk/neatvi
Log
Files
Refs
README
---
commit 62031568d8a420347c9be9b77bc75f80856e7281
parent 5d1137c1c1afeb12e4f583660979db5044a77065
Author: Ali Gholami Rudi <[email protected]>
Date: Wed, 6 May 2015 10:55:39 +0430
led: switch to the default keymap with ^E
Diffstat:
M led.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/led.c b/led.c
t@@ -86,7 +86,10 @@ static char *led_line(char *pref, char *post, int *key, cha…
c = term_read(-1);
switch (c) {
case TERMCTRL('f'):
- *kmap = *kmap == kmap_def ? kmap_farsi : kmap_def;
+ *kmap = kmap_farsi;
+ continue;
+ case TERMCTRL('e'):
+ *kmap = kmap_def;
continue;
case TERMCTRL('h'):
case 127:
You are viewing proxied material from mx1.adamsgaard.dk. 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.