Support pasting in read-expression-map
This was something small that has been slightly bothering me for a *very* long time. Now it's fixed!
This commit is contained in:
		
							parent
							
								
									d13e347b9f
								
							
						
					
					
						commit
						d5cd2719e7
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -194,6 +194,12 @@
 | 
				
			||||||
    map)
 | 
					    map)
 | 
				
			||||||
  "William Carroll's keybindings that should have the highest precedence.")
 | 
					  "William Carroll's keybindings that should have the highest precedence.")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					;; Support pasting in M-:.
 | 
				
			||||||
 | 
					(general-define-key
 | 
				
			||||||
 | 
					 :keymaps 'read-expression-map
 | 
				
			||||||
 | 
					 "C-v"   #'clipboard-yank
 | 
				
			||||||
 | 
					 "C-S-v" #'clipboard-yank)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-minor-mode wpc/kbds-minor-mode
 | 
					(define-minor-mode wpc/kbds-minor-mode
 | 
				
			||||||
  "A minor mode so that my key settings override annoying major modes."
 | 
					  "A minor mode so that my key settings override annoying major modes."
 | 
				
			||||||
  :init-value t
 | 
					  :init-value t
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue