commit ef5d883cad082af249521441e30abe1fe8074255 from: Omar Polo date: Sat Jan 15 21:06:14 2022 UTC move aliases at the top of the completions it's easier to match them this way commit - ab251513680a7c02b5bc403602d6ed73a680181e commit + ef5d883cad082af249521441e30abe1fe8074255 blob - 272e2191c1ae4e6924992ef1e882b9d670c56b35 blob + 938d50e17d8dbedd9806dd5e4859b059c0a1b99b --- cmd.h +++ cmd.h @@ -3,6 +3,12 @@ struct buffer; #define CMD(fnname, descr) void fnname(struct buffer *) #define DEFALIAS(s, d) /* nothing */ +DEFALIAS(q, cmd_kill_telescope) +DEFALIAS(tabn, cmd_tab_next) +DEFALIAS(tabnew, cmd_tab_new) +DEFALIAS(tabp, cmd_tab_previous) +DEFALIAS(wq, cmd_kill_telescope) + CMD(cmd_backward_char, "Move point one character backward."); CMD(cmd_backward_paragraph, "Move point on paragraph backward."); CMD(cmd_beginning_of_buffer, "Move point to the beginning of the buffer."); @@ -69,9 +75,3 @@ CMD(cmd_toc, "Jump to a heading using the minibuffer CMD(cmd_toggle_downloads, "Toggle the downloads side window."); CMD(cmd_toggle_help, "Toggle side window with help."); CMD(cmd_toggle_pre_wrap, "Toggle the wrapping of preformatted blocks."); - -DEFALIAS(q, cmd_kill_telescope) -DEFALIAS(tabn, cmd_tab_next) -DEFALIAS(tabnew, cmd_tab_new) -DEFALIAS(tabp, cmd_tab_previous) -DEFALIAS(wq, cmd_kill_telescope)