sandy

text editor
git clone git://git.suckless.org/sandy
Log | Files | Refs | README | LICENSE

commit 299a8d4b41ef44db0d85b3cea29cd0b47385f3f0
parent 98639e1b699e81febedfcacb7a7cbe121cfedad7
Author: Rafael Garcia <rafael.garcia.gallego@gmail.com>
Date:   Fri,  5 Aug 2011 01:49:29 +0200

Given ncurses inability to accept ESC and META- keybindings at the same time, M-x if the new "command line" binding. C-[ (ESC) still there.
Diffstat:
config.def.h | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/config.def.h b/config.def.h @@ -122,9 +122,10 @@ static const Key stdkeys[] = { { .keyv.c = CONTROL('W'), { t_rw, 0, 0, 0 }, f_delete, { .m = m_prevword } }, { .keyv.c = CONTROL('X'), { t_mod, 0, 0, 0 }, f_save, { 0 } }, { .keyv.c = CONTROL('X'), { 0, 0, 0, 0 }, f_toggle, { .i = S_Running } }, +{ .keyv.c = META('x'), { 0, 0, 0, 0 }, f_spawn, CMD_P }, { .keyv.c = CONTROL('Y'), { t_rw, 0, 0, 0 }, f_pipe, FROMCLIP }, { .keyv.c = CONTROL('Z'), { 0 ,0, 0, 0 }, f_suspend, { 0 } }, -{ .keyv.c = CONTROL('['), { 0, 0, 0, 0 }, f_spawn, CMD_P }, /* TODO: Sam's? */ +{ .keyv.c = CONTROL('['), { 0, 0, 0, 0 }, f_spawn, CMD_P }, { .keyv.c = CONTROL('\\'),{ 0, 0, 0, 0 }, f_spawn, PIPE }, { .keyv.c = CONTROL(']'), { 0, 0, 0, 0 }, f_extsel, { .i = ExtDefault } }, { .keyv.c = CONTROL('^'), { t_redo,t_rw, 0, 0 }, f_undo, { .i = -1 } },