@@ -90,11 +90,12 @@ pub enum TutorialStep {
9090 TutorialsTutorial ,
9191 RecommendedSettings ,
9292 MouseMode ,
93- AgentMode ,
9493 FuzzyHistorySearch ,
95- Autocompletions ,
94+ AutoSuggestions ,
95+ TabSuggestions ,
9696 AutoClosing ,
9797 FineGrainDeletion ,
98+ AgentMode ,
9899 ThemeColours ,
99100 CursorStyleEffects ,
100101 Keybindings ,
@@ -386,6 +387,26 @@ pub fn generate_tutorial_text(
386387 ] ) ) ;
387388 }
388389 }
390+ TutorialStep :: AutoSuggestions => {
391+ lines. push ( tl ( Span :: styled ( "Auto Suggestions" , heading_style) ) ) ;
392+ lines. push ( empty ( ) ) ;
393+ lines. push ( tl ( Span :: styled (
394+ "As you type, flyline shows Intellisense style auto-suggestions based on Bash tab completions." ,
395+ text_style,
396+ ) ) ) ;
397+ lines. push ( empty ( ) ) ;
398+ lines. push ( tl ( Span :: styled (
399+ "You can disable these auto-suggestions by running:" ,
400+ text_style,
401+ ) ) ) ;
402+ lines. push ( TaggedLine :: from ( vec ! [
403+ TaggedSpan :: new( Span :: styled( " " , text_style) , Tag :: Tutorial ) ,
404+ ts_copiable(
405+ "flyline suggestions --auto-suggest false" . to_string( ) ,
406+ ClipboardTypes :: TutorialAutoSuggest ,
407+ ) ,
408+ ] ) ) ;
409+ }
389410 TutorialStep :: FuzzyHistorySearch => {
390411 lines. push ( tl ( Span :: styled ( "Fuzzy History Search" , heading_style) ) ) ;
391412 lines. push ( empty ( ) ) ;
@@ -462,8 +483,8 @@ pub fn generate_tutorial_text(
462483 ) ,
463484 ] ) ) ;
464485 }
465- TutorialStep :: Autocompletions => {
466- lines. push ( tl ( Span :: styled ( "Fuzzy Autocompletions " , heading_style) ) ) ;
486+ TutorialStep :: TabSuggestions => {
487+ lines. push ( tl ( Span :: styled ( "Fuzzy Completions " , heading_style) ) ) ;
467488 lines. push ( empty ( ) ) ;
468489 lines. push ( TaggedLine :: from ( vec ! [
469490 TaggedSpan :: new( Span :: styled( "Type " , text_style) , Tag :: Tutorial ) ,
@@ -473,7 +494,7 @@ pub fn generate_tutorial_text(
473494 ) ,
474495 ts_text( " and press " ) ,
475496 ts_key( "Tab" ) ,
476- ts_text( " to trigger autocompletions . If nothing comes up, first set normal Bash completions (" ) ,
497+ ts_text( " to trigger completions . If nothing comes up, first set normal Bash completions (" ) ,
477498 ts_copiable(
478499 "https://github.com/scop/bash-completion" . to_string( ) ,
479500 ClipboardTypes :: TutorialBashCompletion ,
0 commit comments