mirror of
				https://github.com/larstvei/dot-emacs.git
				synced 2025-11-04 01:20:11 +00:00 
			
		
		
		
	Visual line mode and no auto-fill with ChatGPT
This commit is contained in:
		
							parent
							
								
									a71c4f62f3
								
							
						
					
					
						commit
						eb20c2438e
					
				
							
								
								
									
										3
									
								
								init.org
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								init.org
									
									
									
									
									
								
							@ -1255,7 +1255,8 @@
 | 
				
			|||||||
  ;; Interaction mode for ChatGPT
 | 
					  ;; Interaction mode for ChatGPT
 | 
				
			||||||
  (use-package gptel
 | 
					  (use-package gptel
 | 
				
			||||||
    :defer t
 | 
					    :defer t
 | 
				
			||||||
    :hook (gptel-mode . visual-line-mode)
 | 
					    :hook ((gptel-mode . (lambda () (visual-line-mode 1)))
 | 
				
			||||||
 | 
					           (gptel-mode . (lambda () (auto-fill-mode 0))))
 | 
				
			||||||
    :init
 | 
					    :init
 | 
				
			||||||
    (setq gptel-default-mode 'org-mode
 | 
					    (setq gptel-default-mode 'org-mode
 | 
				
			||||||
          gptel-model "gpt-4"
 | 
					          gptel-model "gpt-4"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user