emacs: add describe-word alias and keybind
This commit is contained in:
		
							parent
							
								
									a589a771e1
								
							
						
					
					
						commit
						1b26366d64
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -38,6 +38,9 @@ One will be created if none exist." | ||||||
|   (find-file user-init-file)) |   (find-file user-init-file)) | ||||||
| (global-set-key (kbd "C-c e i") 'edit-init-file) | (global-set-key (kbd "C-c e i") 'edit-init-file) | ||||||
| 
 | 
 | ||||||
|  | (defalias 'describe-word 'dictionary-search) | ||||||
|  | (global-set-key (kbd "C-h w") 'describe-word) | ||||||
|  | 
 | ||||||
| ;; variables | ;; variables | ||||||
| (setq compilation-scroll-output t                ; M-x compile | (setq compilation-scroll-output t                ; M-x compile | ||||||
|       dictionary-server "dict.org"               ; M-x dictionary-search |       dictionary-server "dict.org"               ; M-x dictionary-search | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue