File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed
Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,8 @@ impl InputSource {
4242 pub fn put_skim_command_selector ( & mut self , context_manager : Arc < ContextManager > , tool_names : Vec < String > ) {
4343 if let inner:: Inner :: Readline ( rl) = & mut self . 0 {
4444 let key_char = match fig_settings:: settings:: get_string_opt ( "chat.skimCommandKey" ) . as_deref ( ) {
45- Some ( key) if key. len ( ) == 1 => key. chars ( ) . next ( ) . unwrap_or ( 'k ' ) ,
46- _ => 'k ' , // Default to 'k ' if setting is missing or invalid
45+ Some ( key) if key. len ( ) == 1 => key. chars ( ) . next ( ) . unwrap_or ( 's ' ) ,
46+ _ => 's ' , // Default to 's ' if setting is missing or invalid
4747 } ;
4848 rl. bind_sequence (
4949 KeyEvent :: ctrl ( key_char) ,
Original file line number Diff line number Diff line change @@ -214,14 +214,14 @@ const GREETING_BREAK_POINT: usize = 67;
214214
215215const POPULAR_SHORTCUTS : & str = color_print:: cstr! { "
216216<black!>
217- <green!>/help</green!> all commands <em>•</em> <green!>ctrl + j</green!> new lines <em>•</em> <green!>ctrl + k </green!> fuzzy search
217+ <green!>/help</green!> all commands <em>•</em> <green!>ctrl + j</green!> new lines <em>•</em> <green!>ctrl + s </green!> fuzzy search
218218</black!>" } ;
219219
220220const SMALL_SCREEN_POPULAR_SHORTCUTS : & str = color_print:: cstr! { "
221221<black!>
222222<green!>/help</green!> all commands
223223<green!>ctrl + j</green!> new lines
224- <green!>ctrl + k </green!> fuzzy search
224+ <green!>ctrl + s </green!> fuzzy search
225225</black!>
226226" } ;
227227const HELP_TEXT : & str = color_print:: cstr! { "
@@ -269,7 +269,7 @@ const HELP_TEXT: &str = color_print::cstr! {"
269269<cyan,em>Tips:</cyan,em>
270270<em>!{command}</em> <black!>Quickly execute a command in your current session</black!>
271271<em>Ctrl(^) + j</em> <black!>Insert new-line to provide multi-line prompt. Alternatively, [Alt(⌥) + Enter(⏎)]</black!>
272- <em>Ctrl(^) + k </em> <black!>Fuzzy search commands and context files. Use Tab to select multiple items.</black!>
272+ <em>Ctrl(^) + s </em> <black!>Fuzzy search commands and context files. Use Tab to select multiple items.</black!>
273273 <black!>Change the keybind to ctrl+x with: q settings chat.skimCommandKey x (where x is any key)</black!>
274274
275275" } ;
Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ pub const COMMANDS: &[&str] = &[
5050 "/profile" ,
5151 "/profile help" ,
5252 "/profile list" ,
53- "/profile add" ,
5453 "/profile create" ,
5554 "/profile delete" ,
5655 "/profile rename" ,
@@ -64,6 +63,13 @@ pub const COMMANDS: &[&str] = &[
6463 "/context rm --global" ,
6564 "/context clear" ,
6665 "/context clear --global" ,
66+ "/context hooks help" ,
67+ "/context hooks add" ,
68+ "/context hooks rm" ,
69+ "/context hooks enable" ,
70+ "/context hooks disable" ,
71+ "/context hooks enable-all" ,
72+ "/context hooks disable-all" ,
6773 "/compact" ,
6874 "/compact help" ,
6975 "/usage" ,
You can’t perform that action at this time.
0 commit comments