Fix vertico hotkeys
This commit is contained in:
		
							parent
							
								
									27e65e61ab
								
							
						
					
					
						commit
						1d7e47eb72
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								init.el
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								init.el
									
										
									
									
									
								
							| 
						 | 
					@ -129,8 +129,8 @@
 | 
				
			||||||
  (dotimes (i 9)
 | 
					  (dotimes (i 9)
 | 
				
			||||||
    (keymap-set vertico-map (format "M-%d" (+ i 1))
 | 
					    (keymap-set vertico-map (format "M-%d" (+ i 1))
 | 
				
			||||||
                `(lambda () (interactive)
 | 
					                `(lambda () (interactive)
 | 
				
			||||||
                   (let ((current-prefix-arg (+ ,i 1)))
 | 
					                   (setq vertico--index ,i)
 | 
				
			||||||
                     (call-interactively #'vertico-exit)))))
 | 
					                   (vertico-exit))))
 | 
				
			||||||
  (vertico-indexed-mode))
 | 
					  (vertico-indexed-mode))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
;; Editorconfig support
 | 
					;; Editorconfig support
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue