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 @@ -917,6 +917,14 @@ export type KeybindsConfig = {
917917 * Previous recently used model
918918 */
919919 model_cycle_recent_reverse ?: string
920+ /**
921+ * Next favorite model
922+ */
923+ model_cycle_favorite ?: string
924+ /**
925+ * Previous favorite model
926+ */
927+ model_cycle_favorite_reverse ?: string
920928 /**
921929 * List available commands
922930 */
Original file line number Diff line number Diff line change 71697169 "default" : " shift+f2" ,
71707170 "type" : " string"
71717171 },
7172+ "model_cycle_favorite" : {
7173+ "description" : " Next favorite model" ,
7174+ "default" : " none" ,
7175+ "type" : " string"
7176+ },
7177+ "model_cycle_favorite_reverse" : {
7178+ "description" : " Previous favorite model" ,
7179+ "default" : " none" ,
7180+ "type" : " string"
7181+ },
71727182 "command_list" : {
71737183 "description" : " List available commands" ,
71747184 "default" : " ctrl+p" ,
You can’t perform that action at this time.
0 commit comments