From 637c153de30ae718508640dcd82f512d33e11706 Mon Sep 17 00:00:00 2001 From: TingPing Date: Wed, 28 May 2014 01:39:45 -0400 Subject: Use newer format for default keybindings This uses the proper bindings on OS X --- src/fe-gtk/fkeys.c | 74 +++++++++++++++++++++++++++--------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) (limited to 'src') diff --git a/src/fe-gtk/fkeys.c b/src/fe-gtk/fkeys.c index fad52dce..59086a5e 100644 --- a/src/fe-gtk/fkeys.c +++ b/src/fe-gtk/fkeys.c @@ -170,43 +170,43 @@ static const struct key_action key_actions[KEY_MAX_ACTIONS + 1] = { }; #define default_kb_cfg \ - "C\nPrior\nChange Page\nD1:-1\nD2:Relative\n\n"\ - "C\nNext\nChange Page\nD1:1\nD2:Relative\n\n"\ - "A\n9\nChange Page\nD1:9\nD2!\n\n"\ - "A\n8\nChange Page\nD1:8\nD2!\n\n"\ - "A\n7\nChange Page\nD1:7\nD2!\n\n"\ - "A\n6\nChange Page\nD1:6\nD2!\n\n"\ - "A\n5\nChange Page\nD1:5\nD2!\n\n"\ - "A\n4\nChange Page\nD1:4\nD2!\n\n"\ - "A\n3\nChange Page\nD1:3\nD2!\n\n"\ - "A\n2\nChange Page\nD1:2\nD2!\n\n"\ - "A\n1\nChange Page\nD1:1\nD2!\n\n"\ - "A\ngrave\nChange Page\nD1:auto\nD2!\n\n"\ - "C\no\nInsert in Buffer\nD1:\nD2!\n\n"\ - "C\nb\nInsert in Buffer\nD1:\nD2!\n\n"\ - "C\nk\nInsert in Buffer\nD1:\nD2!\n\n"\ - "C\ni\nInsert in Buffer\nD1:\nD2!\n\n"\ - "C\nu\nInsert in Buffer\nD1:\nD2!\n\n"\ - "S\nNext\nChange Selected Nick\nD1!\nD2!\n\n"\ - "S\nPrior\nChange Selected Nick\nD1:Up\nD2!\n\n"\ - "None\nNext\nScroll Page\nD1:Down\nD2!\n\n"\ - "C\nHome\nScroll Page\nD1:Top\nD2!\n\n"\ - "C\nEnd\nScroll Page\nD1:Bottom\nD2!\n\n"\ - "None\nPrior\nScroll Page\nD1:Up\nD2!\n\n"\ - "S\nDown\nScroll Page\nD1:+1\nD2!\n\n"\ - "S\nUp\nScroll Page\nD1:-1\nD2!\n\n"\ - "None\nDown\nNext Command\nD1!\nD2!\n\n"\ - "None\nUp\nLast Command\nD1!\nD2!\n\n"\ - "None\nTab\nComplete nick/command\nD1!\nD2!\n\n"\ - "None\nspace\nCheck For Replace\nD1!\nD2!\n\n"\ - "None\nReturn\nCheck For Replace\nD1!\nD2!\n\n"\ - "None\nKP_Enter\nCheck For Replace\nD1!\nD2!\n\n"\ - "C\nTab\nComplete nick/command\nD1:Up\nD2!\n\n"\ - "A\nLeft\nMove front tab left\nD1!\nD2!\n\n"\ - "A\nRight\nMove front tab right\nD1!\nD2!\n\n"\ - "CS\nPrior\nMove tab family left\nD1!\nD2!\n\n"\ - "CS\nNext\nMove tab family right\nD1!\nD2!\n\n"\ - "None\nF9\nRun Command\nD1:/GUI MENU TOGGLE\nD2!\n\n" + "ACCEL=Page_Up\nChange Page\nD1:-1\nD2:Relative\n\n"\ + "ACCEL=Page_Down\nChange Page\nD1:1\nD2:Relative\n\n"\ + "ACCEL=9\nChange Page\nD1:9\nD2!\n\n"\ + "ACCEL=8\nChange Page\nD1:8\nD2!\n\n"\ + "ACCEL=7\nChange Page\nD1:7\nD2!\n\n"\ + "ACCEL=6\nChange Page\nD1:6\nD2!\n\n"\ + "ACCEL=5\nChange Page\nD1:5\nD2!\n\n"\ + "ACCEL=4\nChange Page\nD1:4\nD2!\n\n"\ + "ACCEL=3\nChange Page\nD1:3\nD2!\n\n"\ + "ACCEL=2\nChange Page\nD1:2\nD2!\n\n"\ + "ACCEL=1\nChange Page\nD1:1\nD2!\n\n"\ + "ACCEL=grave\nChange Page\nD1:auto\nD2!\n\n"\ + "ACCEL=o\nInsert in Buffer\nD1:\nD2!\n\n"\ + "ACCEL=b\nInsert in Buffer\nD1:\nD2!\n\n"\ + "ACCEL=k\nInsert in Buffer\nD1:\nD2!\n\n"\ + "ACCEL=i\nInsert in Buffer\nD1:\nD2!\n\n"\ + "ACCEL=u\nInsert in Buffer\nD1:\nD2!\n\n"\ + "ACCEL=Page_Down\nChange Selected Nick\nD1!\nD2!\n\n"\ + "ACCEL=Page_Up\nChange Selected Nick\nD1:Up\nD2!\n\n"\ + "ACCEL=Page_Down\nScroll Page\nD1:Down\nD2!\n\n"\ + "ACCEL=Home\nScroll Page\nD1:Top\nD2!\n\n"\ + "ACCEL=End\nScroll Page\nD1:Bottom\nD2!\n\n"\ + "ACCEL=Page_Up\nScroll Page\nD1:Up\nD2!\n\n"\ + "ACCEL=Down\nScroll Page\nD1:+1\nD2!\n\n"\ + "ACCEL=Up\nScroll Page\nD1:-1\nD2!\n\n"\ + "ACCEL=Down\nNext Command\nD1!\nD2!\n\n"\ + "ACCEL=Up\nLast Command\nD1!\nD2!\n\n"\ + "ACCEL=Tab\nComplete nick/command\nD1!\nD2!\n\n"\ + "ACCEL=space\nCheck For Replace\nD1!\nD2!\n\n"\ + "ACCEL=Return\nCheck For Replace\nD1!\nD2!\n\n"\ + "ACCEL=KP_Enter\nCheck For Replace\nD1!\nD2!\n\n"\ + "ACCEL=Tab\nComplete nick/command\nD1:Up\nD2!\n\n"\ + "ACCEL=Left\nMove front tab left\nD1!\nD2!\n\n"\ + "ACCEL=Right\nMove front tab right\nD1!\nD2!\n\n"\ + "ACCEL=Page_Up\nMove tab family left\nD1!\nD2!\n\n"\ + "ACCEL=Page_Down\nMove tab family right\nD1!\nD2!\n\n"\ + "ACCEL=F9\nRun Command\nD1:/GUI MENU TOGGLE\nD2!\n\n" void key_init () -- cgit 1.4.1