Move eshell configuration to use-package
This commit is contained in:
		
							
								
								
									
										9
									
								
								init.el
									
									
									
									
									
								
							
							
						
						
									
										9
									
								
								init.el
									
									
									
									
									
								
							@@ -219,6 +219,11 @@
 | 
			
		||||
         ("C-<" . mc/mark-previous-like-this)
 | 
			
		||||
         ("C-c C-<" . mc/mark-all-like-this)))
 | 
			
		||||
 | 
			
		||||
(use-package eshell
 | 
			
		||||
  :config
 | 
			
		||||
  (add-hook 'eshell-mode-hook
 | 
			
		||||
            (lambda () (local-set-key (kbd "C-d") #'eshell-C-d))))
 | 
			
		||||
 | 
			
		||||
;; Save place
 | 
			
		||||
(use-package saveplace
 | 
			
		||||
  :config
 | 
			
		||||
@@ -428,10 +433,6 @@
 | 
			
		||||
       (187 171)    ; »«
 | 
			
		||||
      ))
 | 
			
		||||
 | 
			
		||||
;; Setup eshell
 | 
			
		||||
(add-hook 'eshell-mode-hook
 | 
			
		||||
          (lambda () (local-set-key (kbd "C-d") #'eshell-C-d)))
 | 
			
		||||
 | 
			
		||||
;; Stuff to do after initialization is done
 | 
			
		||||
 | 
			
		||||
;; TODO: Unordered stuff
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user