mirror of
				https://github.com/larstvei/dot-emacs.git
				synced 2025-11-04 01:20:11 +00:00 
			
		
		
		
	Disable corfu-mode when multiple cursors are enabled
This commit is contained in:
		
							parent
							
								
									3d0031251b
								
							
						
					
					
						commit
						d51878b743
					
				
							
								
								
									
										2
									
								
								init.org
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								init.org
									
									
									
									
									
								
							@ -1285,6 +1285,8 @@
 | 
				
			|||||||
  ;; Multiple cursors for Emacs
 | 
					  ;; Multiple cursors for Emacs
 | 
				
			||||||
  (use-package multiple-cursors
 | 
					  (use-package multiple-cursors
 | 
				
			||||||
    :defer t
 | 
					    :defer t
 | 
				
			||||||
 | 
					    :hook ((multiple-cursors-mode-enabled-hook . (lambda () (corfu-mode -1)))
 | 
				
			||||||
 | 
					           (multiple-cursors-mode-disabled-hook . (lambda () (corfu-mode 1))))
 | 
				
			||||||
    :bind (:map custom-bindings-map
 | 
					    :bind (:map custom-bindings-map
 | 
				
			||||||
                ("C-c e" . mc/edit-lines)
 | 
					                ("C-c e" . mc/edit-lines)
 | 
				
			||||||
                ("C-c a" . mc/mark-all-like-this)
 | 
					                ("C-c a" . mc/mark-all-like-this)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user