summaryrefslogtreecommitdiff
path: root/src/actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c51
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)