File tree 3 files changed +12
-6
lines changed
3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,8 @@ impl InputSource {
42
42
pub fn put_skim_command_selector ( & mut self , context_manager : Arc < ContextManager > , tool_names : Vec < String > ) {
43
43
if let inner:: Inner :: Readline ( rl) = & mut self . 0 {
44
44
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
47
47
} ;
48
48
rl. bind_sequence (
49
49
KeyEvent :: ctrl ( key_char) ,
Original file line number Diff line number Diff line change @@ -214,14 +214,14 @@ const GREETING_BREAK_POINT: usize = 67;
214
214
215
215
const POPULAR_SHORTCUTS : & str = color_print:: cstr! { "
216
216
<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
218
218
</black!>" } ;
219
219
220
220
const SMALL_SCREEN_POPULAR_SHORTCUTS : & str = color_print:: cstr! { "
221
221
<black!>
222
222
<green!>/help</green!> all commands
223
223
<green!>ctrl + j</green!> new lines
224
- <green!>ctrl + k </green!> fuzzy search
224
+ <green!>ctrl + s </green!> fuzzy search
225
225
</black!>
226
226
" } ;
227
227
const HELP_TEXT : & str = color_print:: cstr! { "
@@ -269,7 +269,7 @@ const HELP_TEXT: &str = color_print::cstr! {"
269
269
<cyan,em>Tips:</cyan,em>
270
270
<em>!{command}</em> <black!>Quickly execute a command in your current session</black!>
271
271
<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!>
273
273
<black!>Change the keybind to ctrl+x with: q settings chat.skimCommandKey x (where x is any key)</black!>
274
274
275
275
" } ;
Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ pub const COMMANDS: &[&str] = &[
50
50
"/profile" ,
51
51
"/profile help" ,
52
52
"/profile list" ,
53
- "/profile add" ,
54
53
"/profile create" ,
55
54
"/profile delete" ,
56
55
"/profile rename" ,
@@ -64,6 +63,13 @@ pub const COMMANDS: &[&str] = &[
64
63
"/context rm --global" ,
65
64
"/context clear" ,
66
65
"/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" ,
67
73
"/compact" ,
68
74
"/compact help" ,
69
75
"/usage" ,
You can’t perform that action at this time.
0 commit comments