Loading mail settings if they exist \nProper up/down history movement in nrepl
This commit is contained in:
		
							parent
							
								
									867a87387c
								
							
						
					
					
						commit
						a7e4801f3b
					
				
					 4 changed files with 15 additions and 2 deletions
				
			
		| 
						 | 
					@ -16,6 +16,7 @@
 | 
				
			||||||
   (quote
 | 
					   (quote
 | 
				
			||||||
    (capitalized-words-mode turn-on-haskell-decl-scan turn-on-haskell-doc turn-on-hi2)))
 | 
					    (capitalized-words-mode turn-on-haskell-decl-scan turn-on-haskell-doc turn-on-hi2)))
 | 
				
			||||||
 '(it-mode-google-cmd "/usr/local/bin/google")
 | 
					 '(it-mode-google-cmd "/usr/local/bin/google")
 | 
				
			||||||
 | 
					 '(mu4e-use-fancy-chars t)
 | 
				
			||||||
 '(ns-alternate-modifier (quote none))
 | 
					 '(ns-alternate-modifier (quote none))
 | 
				
			||||||
 '(ns-command-modifier (quote meta))
 | 
					 '(ns-command-modifier (quote meta))
 | 
				
			||||||
 '(require-final-newline (quote visit-save)))
 | 
					 '(require-final-newline (quote visit-save)))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -27,11 +27,18 @@
 | 
				
			||||||
;; Use ac-nrepl for completion
 | 
					;; Use ac-nrepl for completion
 | 
				
			||||||
(add-hook 'nrepl-mode-hook 'ac-nrepl-setup)
 | 
					(add-hook 'nrepl-mode-hook 'ac-nrepl-setup)
 | 
				
			||||||
(add-hook 'nrepl-interaction-mode-hook 'ac-nrepl-setup)
 | 
					(add-hook 'nrepl-interaction-mode-hook 'ac-nrepl-setup)
 | 
				
			||||||
(eval-after-load "auto-complete"
 | 
					
 | 
				
			||||||
   '(add-to-list 'ac-modes 'nrepl-mode))
 | 
					;; I want history up/down without modifiers
 | 
				
			||||||
 | 
					(define-key nrepl-mode-map (kbd "<up>") 'nrepl-backward-input)
 | 
				
			||||||
 | 
					(define-key nrepl-mode-map (kbd "<down>") 'nrepl-forward-input)
 | 
				
			||||||
 | 
					(define-key nrepl-mode-map (kbd "C-<up>") 'previous-line)
 | 
				
			||||||
 | 
					(define-key nrepl-mode-map (kbd "C-<down>") 'next-line)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-key nrepl-interaction-mode-map (kbd "C-c C-d") 'ac-nrepl-popup-doc)
 | 
					(define-key nrepl-interaction-mode-map (kbd "C-c C-d") 'ac-nrepl-popup-doc)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(eval-after-load "auto-complete"
 | 
				
			||||||
 | 
					   '(add-to-list 'ac-modes 'nrepl-mode))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
;; Paredit in clojure
 | 
					;; Paredit in clojure
 | 
				
			||||||
(add-hook 'clojure-mode-hook 'paredit-mode)
 | 
					(add-hook 'clojure-mode-hook 'paredit-mode)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -9,6 +9,8 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
;;; Code:
 | 
					;;; Code:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(add-to-list 'load-path "/usr/local/share/emacs/site-lisp/mu4e")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(add-to-list 'exec-path "/usr/local/bin")
 | 
					(add-to-list 'exec-path "/usr/local/bin")
 | 
				
			||||||
(add-to-list 'exec-path (expand-file-name "~/bin"))
 | 
					(add-to-list 'exec-path (expand-file-name "~/bin"))
 | 
				
			||||||
(add-to-list 'exec-path "/Applications/Racket/bin")
 | 
					(add-to-list 'exec-path "/Applications/Racket/bin")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										3
									
								
								init.el
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								init.el
									
										
									
									
									
								
							| 
						 | 
					@ -70,6 +70,9 @@
 | 
				
			||||||
;; Actual servers and such are loaded from irc.el
 | 
					;; Actual servers and such are loaded from irc.el
 | 
				
			||||||
(load-file-if-exists "~/.emacs.d/init-irc.el")
 | 
					(load-file-if-exists "~/.emacs.d/init-irc.el")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					;; Mail configuration (mu4e && mbsync)
 | 
				
			||||||
 | 
					(load-file-if-exists "~/.emacs.d/init-mail.el")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
;; Load magnars' string manipulation library
 | 
					;; Load magnars' string manipulation library
 | 
				
			||||||
(require 's)
 | 
					(require 's)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue