-
Notifications
You must be signed in to change notification settings - Fork 4
/
bindings.4coder
141 lines (137 loc) · 7.23 KB
/
bindings.4coder
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
keys_global = {
{ "keyboard_macro_start_recording", "U", "Control" },
{ "keyboard_macro_finish_recording", "U", "Control", "Shift" },
{ "keyboard_macro_replay", "U", "Alt" },
{ "change_active_panel", "Comma", "Control" },
{ "change_active_panel", "Period", "Control" },
{ "change_active_panel_backwards", "Comma", "Control", "Shift" },
{ "interactive_new", "N", "Control" },
{ "interactive_open_or_new", "O", "Control" },
{ "open_in_other", "O", "Alt" },
{ "interactive_kill_buffer", "K", "Control" },
{ "interactive_switch_buffer", "I", "Control" },
{ "project_go_to_root_directory", "H", "Control" },
{ "save_all_dirty_buffers", "S", "Control", "Shift" },
{ "change_to_build_panel", "Period", "Alt" },
{ "close_build_panel", "Comma", "Alt" },
{ "goto_next_jump", "N", "Alt" },
{ "goto_prev_jump", "N", "Alt", "Shift" },
{ "build_in_build_panel", "M", "Alt" },
{ "goto_first_jump", "M", "Alt", "Shift" },
{ "toggle_filebar", "B", "Alt" },
{ "execute_any_cli", "Z", "Alt" },
{ "execute_previous_cli", "Z", "Alt", "Shift" },
{ "command_lister", "X", "Alt" },
{ "project_command_lister", "X", "Alt", "Shift" },
{ "quick_swap_buffer", "P", "Alt" },
{ "jump_to_last_point", "P", "Control" },
{ "list_all_functions_current_buffer_lister", "I", "Control", "Shift" },
{ "exit_4coder", "F4", "Alt" },
{ "project_fkey_command", "F1" },
{ "project_fkey_command", "F2" },
{ "project_fkey_command", "F3" },
{ "project_fkey_command", "F4" },
{ "project_fkey_command", "F5" },
{ "project_fkey_command", "F6" },
{ "project_fkey_command", "F7" },
{ "project_fkey_command", "F8" },
{ "project_fkey_command", "F9" },
{ "project_fkey_command", "F10" },
{ "project_fkey_command", "F11" },
{ "project_fkey_command", "F12" },
{ "project_fkey_command", "F13" },
{ "project_fkey_command", "F14" },
{ "project_fkey_command", "F15" },
{ "project_fkey_command", "F16" },
};
keys_file = {
{ "delete_char", "Delete" },
{ "backspace_char", "Backspace" },
{ "move_up", "Up" },
{ "move_down", "Down" },
{ "move_left", "Left" },
{ "move_right", "Right" },
{ "seek_end_of_line", "End" },
{ "seek_beginning_of_line", "Home" },
{ "page_up", "PageUp" },
{ "page_down", "PageDown" },
{ "goto_beginning_of_file", "PageUp", "Control" },
{ "goto_end_of_file", "PageDown", "Control" },
{ "move_up_to_blank_line_end", "Up", "Control" },
{ "move_down_to_blank_line_end", "Down", "Control" },
{ "move_left_whitespace_boundary", "Left", "Control" },
{ "move_right_whitespace_boundary", "Right", "Control" },
{ "move_line_up", "Up", "Alt" },
{ "move_line_down", "Down", "Alt" },
{ "backspace_alpha_numeric_boundary", "Backspace", "Control" },
{ "delete_alpha_numeric_boundary", "Delete", "Control" },
{ "snipe_backward_whitespace_or_token_boundary", "Backspace", "Alt" },
{ "snipe_forward_whitespace_or_token_boundary", "Delete", "Alt" },
{ "set_mark", "Space", "Control" },
{ "replace_in_range", "A", "Control" },
{ "copy", "C", "Control" },
{ "delete_range", "D", "Control" },
{ "delete_line", "D", "Control", "Shift" },
{ "center_view", "E", "Control" },
{ "left_adjust_view", "E", "Control", "Shift" },
{ "search", "F", "Control" },
{ "list_all_locations", "F", "Control", "Shift" },
{ "list_all_substring_locations_case_insensitive", "F", "Alt" },
{ "goto_line", "G", "Control" },
{ "list_all_locations_of_selection", "G", "Control", "Shift" },
{ "snippet_lister", "J", "Control" },
{ "kill_buffer", "K", "Control", "Shift" },
{ "duplicate_line", "L", "Control" },
{ "cursor_mark_swap", "M", "Control" },
{ "reopen", "O", "Control", "Shift" },
{ "query_replace", "Q", "Control" },
{ "query_replace_identifier", "Q", "Control", "Shift" },
{ "query_replace_selection", "Q", "Alt" },
{ "reverse_search", "R", "Control" },
{ "save", "S", "Control" },
{ "save_all_dirty_buffers", "S", "Control", "Shift" },
{ "search_identifier", "T", "Control" },
{ "list_all_locations_of_identifier", "T", "Control", "Shift" },
{ "paste_and_indent", "V", "Control" },
{ "paste_next_and_indent", "V", "Control", "Shift" },
{ "cut", "X", "Control" },
{ "redo", "Y", "Control" },
{ "undo", "Z", "Control" },
{ "view_buffer_other_panel", "1", "Control" },
{ "swap_panels", "2", "Control" },
{ "if_read_only_goto_position", "Return" },
{ "if_read_only_goto_position_same_panel", "Return", "Shift" },
{ "view_jump_list_with_lister", "Period", "Control", "Shift" },
};
keys_code = {
{ "move_left_alpha_numeric_boundary", "Left", "Control" },
{ "move_right_alpha_numeric_boundary", "Right", "Control" },
{ "move_left_alpha_numeric_or_camel_boundary", "Left", "Alt" },
{ "move_right_alpha_numeric_or_camel_boundary", "Right", "Alt" },
{ "comment_line_toggle", "W", "Alt" },
{ "word_complete", "Tab" },
{ "auto_indent_range", "Tab", "Control" },
{ "auto_indent_line_at_cursor", "Tab", "Shift" },
{ "word_complete_drop_down", "Tab", "Shift", "Control" },
{ "write_block", "R", "Alt" },
{ "write_todo", "T", "Alt" },
{ "write_note", "Y", "Alt" },
{ "list_all_locations_of_type_definition", "D", "Alt" },
{ "list_all_locations_of_type_definition_of_identifier", "T", "Alt", "Shift" },
{ "open_long_braces", "LeftBracket", "Control" },
{ "open_long_braces_semicolon", "LeftBracket", "Control", "Shift" },
{ "open_long_braces_break", "RightBracket", "Control", "Shift" },
{ "select_surrounding_scope", "LeftBracket", "Alt" },
{ "select_surrounding_scope_maximal", "LeftBracket", "Alt", "Shift" },
{ "select_prev_scope_absolute", "RightBracket", "Alt" },
{ "select_prev_top_most_scope", "RightBracket", "Alt", "Shift" },
{ "select_next_scope_absolute", "Quote", "Alt" },
{ "select_next_scope_after_current", "Quote", "Alt", "Shift" },
{ "place_in_scope", "ForwardSlash", "Alt" },
{ "delete_current_scope", "Minus", "Alt" },
{ "if0_off", "I", "Alt" },
{ "open_file_in_quotes", "1", "Alt" },
{ "open_matching_file_cpp", "2", "Alt" },
// { "write_zero_struct", "0", "Control" },
{ "jump_to_definition_at_cursor", "W", "Control" },
};