Skip to content

Latest commit

 

History

History
119 lines (109 loc) · 9.26 KB

keys.md

File metadata and controls

119 lines (109 loc) · 9.26 KB

Keybindings

The following are edil's default keybindings, generated by the command edil --binds. The script doc/genkeys.sh has generated this file.

Buf mode

Key Binding Description
441 - Ctrl+A mode_mov Switch to movement mode
443 - Ctrl+C cmd_r_swap Run swap command
44b - Ctrl+K mode_kcd Switch to keycode mode
64b - Ctrl+Esc+K cmd_quit Shortcut for quit command
44c - Ctrl+L cmd_r_lineify Run lineify command
44e - Ctrl+N cmd_r_next Run next command
450 - Ctrl+P cmd_r_paste Run paste command
253 - Esc+S cmd_saveall Shortcut for saveall command
453 - Ctrl+S cmd_r_save Run save command
456 - Ctrl+V cmd_r_prev Run prev command
458 - Ctrl+X mode_cmd Open the command bar
459 - Ctrl+Y cmd_r_copy Run copy command
45a - Ctrl+Z cmd_r_snap Run snap command
261 - Esc+a cmd_load Shortcut for load command
267 - Esc+g cmd_goto Shortcut for goto command
26e - Esc+n cmd_new Shortcut for new command
273 - Esc+s cmd_save Shortcut for save command
101 - up cur_mv_u Move the cursor up
301 - Esc+up cur_rmv_u Shift the current region up
102 - down cur_mv_d Move the cursor down
302 - Esc+down cur_rmv_d Shift the current region down
103 - right cur_mv_r Move the cursor right
303 - Esc+right cur_rmv_r Shift the current region right
104 - left cur_mv_l Move the cursor left
304 - Esc+left cur_rmv_l Shift the current region left
105 - home cur_home Move the cursor to the beginning of the line
106 - end cur_end Move the cursor to the end of the line
107 - pgup cur_pgup Move the cursor to the top of the screen
108 - pgdn cur_pgdn Move the cursor to the bottom of the screen
10a - Shift+tab cmd_r_decrindent Run decrindent command
10d - tab cmd_r_incrindent Run incrindent command
30d - Esc+tab cur_ins_tab Insert a tab at the cursor position
10e - del cur_del Delete forwards at the cursor position
10f - backspace cur_back Delete backwards at the cursor position
110 - enter cur_enter Insert a newline at the current ursor
310 - Esc+enter cur_enter_line Insert a newline before the current line

Kcd mode

Key Binding Description
441 - Ctrl+A mode_buf Switch to buffer mode

Bar mode

Key Binding Description
441 - Ctrl+A mode_buf Switch to buffer mode
44b - Ctrl+K mode_kcd Switch to keycode mode
458 - Ctrl+X mode_buf Switch to buffer mode
103 - right bar_mv_r Move bar cursor right
104 - left bar_mv_l Move bar cursor left
10e - del bar_del Delete forwards in bar
10f - backspace bar_back Delete backwards in bar
110 - enter bar_enter Submit contents of bar

Mov mode

Key Binding Description
020 - space mode_buf Switch to buffer mode
03a - : mode_cmd Open the command bar
441 - Ctrl+A mode_buf Switch to buffer mode
443 - Ctrl+C cmd_r_swap Run swap command
44b - Ctrl+K mode_kcd Switch to keycode mode
64b - Ctrl+Esc+K cmd_quit Shortcut for quit command
44c - Ctrl+L cmd_r_lineify Run lineify command
44e - Ctrl+N cmd_r_next Run next command
450 - Ctrl+P cmd_r_paste Run paste command
253 - Esc+S cmd_saveall Shortcut for saveall command
453 - Ctrl+S cmd_r_save Run save command
456 - Ctrl+V cmd_r_prev Run prev command
458 - Ctrl+X mode_cmd Open the command bar
459 - Ctrl+Y cmd_r_copy Run copy command
45a - Ctrl+Z cmd_r_snap Run snap command
061 - a cur_skp_l Skip the cursor left quickly
261 - Esc+a cmd_load Shortcut for load command
064 - d cur_skp_r Skip the cursor right quickly
065 - e cur_faster Increase the skip speed
066 - f cur_pgup Move the cursor to the top of the screen
067 - g cur_pgdn Move the cursor to the bottom of the screen
267 - Esc+g cmd_goto Shortcut for goto command
068 - h cur_mv_l Move the cursor left
069 - i cur_end Move the cursor to the end of the line
06a - j cur_mv_d Move the cursor down
06b - k cur_mv_r Move the cursor right
26e - Esc+n cmd_new Shortcut for new command
071 - q cur_slower Decrease the skip speed
073 - s cur_skp_d Skip the cursor down quickly
273 - Esc+s cmd_save Shortcut for save command
075 - u cur_mv_u Move the cursor up
077 - w cur_skp_u Skip the cursor up quickly
079 - y cur_home Move the cursor to the beginning of the line
101 - up cur_skp_u Skip the cursor up quickly
301 - Esc+up cur_mv_u Move the cursor up
102 - down cur_skp_d Skip the cursor down quickly
302 - Esc+down cur_mv_d Move the cursor down
103 - right cur_skp_r Skip the cursor right quickly
303 - Esc+right cur_mv_r Move the cursor right
104 - left cur_skp_l Skip the cursor left quickly
304 - Esc+left cur_mv_l Move the cursor left
10a - Shift+tab cmd_r_decrindent Run decrindent command
10d - tab cmd_r_incrindent Run incrindent command