diff options
author | sabetts <sabetts> | 2000-12-13 08:19:11 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2000-12-13 08:19:11 +0000 |
commit | c814e891b0e52cd588d2644374d72895ffb2d46b (patch) | |
tree | 9be174cfd5a3d7e14e6f49b6c82ddb74ce5ec495 /src/actions.c | |
parent | 6eb8f2a4f20a82a719fec33ecf29d7382794c796 (diff) | |
download | ratpoison-c814e891b0e52cd588d2644374d72895ffb2d46b.zip |
removed gross tabs from key_actions definition. Add
C-t space to go to next window.
Diffstat (limited to 'src/actions.c')
-rw-r--r-- | src/actions.c | 51 |
1 files changed, 26 insertions, 25 deletions
diff --git a/src/actions.c b/src/actions.c index 5bb0964..b41aff3 100644 --- a/src/actions.c +++ b/src/actions.c @@ -8,31 +8,32 @@ #include "ratpoison.h" /* Initialization of the key structure */ -rp_action key_actions[] = { {KEY_PREFIX, 0, 0, generate_prefix}, - {XK_c, -1, "xterm", spawn}, - {XK_e, -1, "emacs", spawn}, - {XK_p, -1, 0, prev_window}, - {XK_n, -1, 0, next_window}, - {XK_colon, 0, 0, execute_command}, - {KEY_PREFIX, -1, 0, last_window}, - {XK_w, -1, 0, toggle_bar}, - {XK_K, 0, 0, kill_window}, - {XK_k, 0, 0, delete_window}, - {XK_quoteright, -1, 0, goto_win_by_name}, - {XK_a, -1, 0, rename_current_window}, - {XK_g, ControlMask, 0, abort_keypress}, - {XK_0, -1, 0, goto_window_0}, - {XK_1, -1, 0, goto_window_1}, - {XK_2, -1, 0, goto_window_2}, - {XK_3, -1, 0, goto_window_3}, - {XK_4, -1, 0, goto_window_4}, - {XK_5, -1, 0, goto_window_5}, - {XK_6, -1, 0, goto_window_6}, - {XK_7, -1, 0, goto_window_7}, - {XK_8, -1, 0, goto_window_8}, - {XK_9, -1, 0, goto_window_9}, - {XK_m, -1, 0, maximize}, - { 0, 0, 0, 0 } }; +rp_action key_actions[] = { {KEY_PREFIX, 0, 0, generate_prefix}, + {XK_c, -1, "xterm", spawn}, + {XK_e, -1, "emacs", spawn}, + {XK_p, -1, 0, prev_window}, + {XK_n, -1, 0, next_window}, + {XK_space, -1, 0, next_window}, + {XK_colon, 0, 0, execute_command}, + {KEY_PREFIX, -1, 0, last_window}, + {XK_w, -1, 0, toggle_bar}, + {XK_K, 0, 0, kill_window}, + {XK_k, 0, 0, delete_window}, + {XK_quoteright, -1, 0, goto_win_by_name}, + {XK_a, -1, 0, rename_current_window}, + {XK_g, ControlMask, 0, abort_keypress}, + {XK_0, -1, 0, goto_window_0}, + {XK_1, -1, 0, goto_window_1}, + {XK_2, -1, 0, goto_window_2}, + {XK_3, -1, 0, goto_window_3}, + {XK_4, -1, 0, goto_window_4}, + {XK_5, -1, 0, goto_window_5}, + {XK_6, -1, 0, goto_window_6}, + {XK_7, -1, 0, goto_window_7}, + {XK_8, -1, 0, goto_window_8}, + {XK_9, -1, 0, goto_window_9}, + {XK_m, -1, 0, maximize}, + { 0, 0, 0, 0 } }; void prev_window (void *data) |