Move all configuration to subfolder
This commit is contained in:
		
							parent
							
								
									10057a887b
								
							
						
					
					
						commit
						1f70abb176
					
				
					 10 changed files with 14 additions and 39 deletions
				
			
		
							
								
								
									
										4
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							|  | @ -3,8 +3,8 @@ | ||||||
| auto-save-list/ | auto-save-list/ | ||||||
| clones/ | clones/ | ||||||
| elpa/ | elpa/ | ||||||
| init-irc.el | irc.el | ||||||
| init-local.el | local.el | ||||||
| other/ | other/ | ||||||
| scripts/ | scripts/ | ||||||
| themes/ | themes/ | ||||||
|  |  | ||||||
							
								
								
									
										23
									
								
								init-evil.el
									
										
									
									
									
								
							
							
						
						
									
										23
									
								
								init-evil.el
									
										
									
									
									
								
							|  | @ -1,23 +0,0 @@ | ||||||
| ; Basic vim emulation |  | ||||||
| 
 |  | ||||||
| (evil-mode t) |  | ||||||
| ; (global-evil-tabs-mode 1) |  | ||||||
| 
 |  | ||||||
| (evil-ex-define-cmd "Exp[lore]" 'dired-jump) |  | ||||||
| (evil-ex-define-cmd "color[scheme]" 'customize-themes) |  | ||||||
| 
 |  | ||||||
| (evil-define-key 'normal global-map |  | ||||||
|   "\\\\w" 'evil-ace-jump-word-mode) |  | ||||||
| 
 |  | ||||||
| (evil-define-key 'normal clojure-mode-map |  | ||||||
|   "\M-q" 'paredit-reindent-defun |  | ||||||
|   "gK" 'nrepl-src |  | ||||||
|   "K"  'ac-nrepl-popup-doc) |  | ||||||
| 
 |  | ||||||
| (setq evil-default-cursor '("#ffdd33")) |  | ||||||
| 
 |  | ||||||
| ;;; Uncomment these key-chord lines if you like that "remap 'jk' to ESC" trick. |  | ||||||
| ;; (key-chord-mode t) |  | ||||||
| ;; (key-chord-define evil-insert-state-map "jk" 'evil-normal-state) |  | ||||||
| 
 |  | ||||||
| (provide 'init-evil) |  | ||||||
							
								
								
									
										14
									
								
								init.el
									
										
									
									
									
								
							
							
						
						
									
										14
									
								
								init.el
									
										
									
									
									
								
							|  | @ -85,18 +85,16 @@ | ||||||
| 
 | 
 | ||||||
| (add-to-list 'load-path user-emacs-directory) | (add-to-list 'load-path user-emacs-directory) | ||||||
| 
 | 
 | ||||||
| (mapc 'require '(init-functions | (mapc 'require '(functions | ||||||
|                  init-settings |                  settings | ||||||
|                  init-modes |                  modes | ||||||
|                  init-bindings |                  bindings | ||||||
|                  init-eshell)) |                  eshell-setup)) | ||||||
| 
 | 
 | ||||||
| (when is-vim-mode | (when is-vim-mode | ||||||
|   (require 'init-evil)) |   (require 'init-evil)) | ||||||
| 
 | 
 | ||||||
| (add-to-list 'load-path "~/.emacs.d/scripts/") | (setq custom-file (concat user-emacs-directory "init/custom.el")) | ||||||
| 
 |  | ||||||
| (setq custom-file "~/.emacs.d/init-custom.el") |  | ||||||
| (load custom-file) | (load custom-file) | ||||||
| 
 | 
 | ||||||
| ;; A file with machine specific settings. | ;; A file with machine specific settings. | ||||||
|  |  | ||||||
|  | @ -72,4 +72,4 @@ | ||||||
| ;; Org-mode agenda keys | ;; Org-mode agenda keys | ||||||
| (global-set-key (kbd "C-c a") 'org-agenda) | (global-set-key (kbd "C-c a") 'org-agenda) | ||||||
| 
 | 
 | ||||||
| (provide 'init-bindings) | (provide 'bindings) | ||||||
|  | @ -89,4 +89,4 @@ | ||||||
|   (let ((inhibit-read-only t)) |   (let ((inhibit-read-only t)) | ||||||
|     (erase-buffer))) |     (erase-buffer))) | ||||||
| 
 | 
 | ||||||
| (provide 'init-eshell) | (provide 'eshell-setup) | ||||||
|  | @ -99,4 +99,4 @@ Including indent-buffer, which should not be called automatically on save." | ||||||
|       (find-file (concat "/sudo:root@localhost:" (ido-read-file-name "File: "))) |       (find-file (concat "/sudo:root@localhost:" (ido-read-file-name "File: "))) | ||||||
|     (find-alternate-file (concat "/sudo:root@localhost:" buffer-file-name)))) |     (find-alternate-file (concat "/sudo:root@localhost:" buffer-file-name)))) | ||||||
| 
 | 
 | ||||||
| (provide 'init-functions) | (provide 'functions) | ||||||
|  | @ -6,4 +6,4 @@ | ||||||
| ;; Use aspell for spell checking: brew install aspell --lang=en | ;; Use aspell for spell checking: brew install aspell --lang=en | ||||||
| (setq ispell-program-name "/usr/local/bin/aspell") | (setq ispell-program-name "/usr/local/bin/aspell") | ||||||
| 
 | 
 | ||||||
| (provide 'init-misc) | (provide 'misc) | ||||||
|  | @ -77,4 +77,4 @@ | ||||||
| ;; Transparently open compressed files | ;; Transparently open compressed files | ||||||
| (auto-compression-mode t) | (auto-compression-mode t) | ||||||
| 
 | 
 | ||||||
| (provide 'init-modes) | (provide 'modes) | ||||||
|  | @ -240,4 +240,4 @@ | ||||||
| (setq lpr-command "xpp") | (setq lpr-command "xpp") | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| (provide 'init-settings) | (provide 'settings) | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue