From: Michael D. Lowis Date: Thu, 9 May 2019 03:11:02 +0000 (-0400) Subject: move some functions from common keyboard section to keyboard/tag section X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=69e62893e0cfc46dbaac29a3df5a7f21cb27aac5;p=projs%2Ftide.git move some functions from common keyboard section to keyboard/tag section --- diff --git a/src/tide.c b/src/tide.c index 11cfc8d..da35809 100644 --- a/src/tide.c +++ b/src/tide.c @@ -559,11 +559,6 @@ static void select_prev(char* arg) { view_selprev(win_view(FOCUSED)); } -static void change_focus(char* arg) { - (void)arg; - win_togglefocus(); -} - static void undo(char* arg) { (void)arg; view_undo(win_view(FOCUSED)); @@ -574,14 +569,18 @@ static void redo(char* arg) { view_redo(win_view(FOCUSED)); } +/* Keyboard and Tag Handlers + ******************************************************************************/ +static void change_focus(char* arg) { + (void)arg; + win_togglefocus(); +} + static void quit(char* arg) { (void)arg; win_quit(); } -/* Keyboard and Tag Handlers - ******************************************************************************/ - static void put(char* arg) { Buf* buf = win_buf(EDIT); if (buf_save(buf, arg) == NORMAL) {