File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -297,6 +297,24 @@ function App() {
297297 local . model . cycle ( - 1 )
298298 } ,
299299 } ,
300+ {
301+ title : "Favorite cycle" ,
302+ value : "model.cycle_favorite" ,
303+ keybind : "model_cycle_favorite" ,
304+ category : "Agent" ,
305+ onSelect : ( ) => {
306+ local . model . cycleFavorite ( 1 )
307+ } ,
308+ } ,
309+ {
310+ title : "Favorite cycle reverse" ,
311+ value : "model.cycle_favorite_reverse" ,
312+ keybind : "model_cycle_favorite_reverse" ,
313+ category : "Agent" ,
314+ onSelect : ( ) => {
315+ local . model . cycleFavorite ( - 1 )
316+ } ,
317+ } ,
300318 {
301319 title : "Switch agent" ,
302320 value : "agent.list" ,
Original file line number Diff line number Diff line change @@ -460,6 +460,8 @@ export namespace Config {
460460 model_list : z . string ( ) . optional ( ) . default ( "<leader>m" ) . describe ( "List available models" ) ,
461461 model_cycle_recent : z . string ( ) . optional ( ) . default ( "f2" ) . describe ( "Next recently used model" ) ,
462462 model_cycle_recent_reverse : z . string ( ) . optional ( ) . default ( "shift+f2" ) . describe ( "Previous recently used model" ) ,
463+ model_cycle_favorite : z . string ( ) . optional ( ) . default ( "none" ) . describe ( "Next favorite model" ) ,
464+ model_cycle_favorite_reverse : z . string ( ) . optional ( ) . default ( "none" ) . describe ( "Previous favorite model" ) ,
463465 command_list : z . string ( ) . optional ( ) . default ( "ctrl+p" ) . describe ( "List available commands" ) ,
464466 agent_list : z . string ( ) . optional ( ) . default ( "<leader>a" ) . describe ( "List agents" ) ,
465467 agent_cycle : z . string ( ) . optional ( ) . default ( "tab" ) . describe ( "Next agent" ) ,
Original file line number Diff line number Diff line change @@ -920,6 +920,14 @@ export type KeybindsConfig = {
920920 * Previous recently used model
921921 */
922922 model_cycle_recent_reverse ?: string
923+ /**
924+ * Next favorite model
925+ */
926+ model_cycle_favorite ?: string
927+ /**
928+ * Previous favorite model
929+ */
930+ model_cycle_favorite_reverse ?: string
923931 /**
924932 * List available commands
925933 */
Original file line number Diff line number Diff line change 71797179 "default" : " shift+f2" ,
71807180 "type" : " string"
71817181 },
7182+ "model_cycle_favorite" : {
7183+ "description" : " Next favorite model" ,
7184+ "default" : " none" ,
7185+ "type" : " string"
7186+ },
7187+ "model_cycle_favorite_reverse" : {
7188+ "description" : " Previous favorite model" ,
7189+ "default" : " none" ,
7190+ "type" : " string"
7191+ },
71827192 "command_list" : {
71837193 "description" : " List available commands" ,
71847194 "default" : " ctrl+p" ,
You can’t perform that action at this time.
0 commit comments