Make C-y yank in eat
This commit is contained in:
		
							
								
								
									
										5
									
								
								init.el
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								init.el
									
									
									
									
									
								
							@ -1938,7 +1938,7 @@ otherwise, call `bibtex-find-text'."
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
;; yaml
 | 
					;; yaml
 | 
				
			||||||
(use-package yaml-ts-mode
 | 
					(use-package yaml-ts-mode
 | 
				
			||||||
  :hook ((yaml-ts-mode . trusted-files-eglot-ensure-if-safe)
 | 
					  :hook (;; (yaml-ts-mode . trusted-files-eglot-ensure-if-safe)
 | 
				
			||||||
         (yaml-ts-mode . my/-setup-yaml-ts-mode))
 | 
					         (yaml-ts-mode . my/-setup-yaml-ts-mode))
 | 
				
			||||||
  :init
 | 
					  :init
 | 
				
			||||||
  (add-to-list 'auto-mode-alist `("\\.clangd\\'" . yaml-ts-mode))
 | 
					  (add-to-list 'auto-mode-alist `("\\.clangd\\'" . yaml-ts-mode))
 | 
				
			||||||
@ -2438,7 +2438,8 @@ argument."
 | 
				
			|||||||
  :init
 | 
					  :init
 | 
				
			||||||
  (evil-define-key 'insert eat-semi-char-mode-map
 | 
					  (evil-define-key 'insert eat-semi-char-mode-map
 | 
				
			||||||
    (kbd "<escape>") #'eat-self-input
 | 
					    (kbd "<escape>") #'eat-self-input
 | 
				
			||||||
    (kbd "C-S-n") #'evil-normal-state)
 | 
					    (kbd "C-S-n") #'evil-normal-state
 | 
				
			||||||
 | 
					    (kbd "C-y") #'eat-yank)
 | 
				
			||||||
  :config
 | 
					  :config
 | 
				
			||||||
  ;; The below makes sure that the first time the ESC key is pressed, it does
 | 
					  ;; The below makes sure that the first time the ESC key is pressed, it does
 | 
				
			||||||
  ;; what it is supposed to
 | 
					  ;; what it is supposed to
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user