~estraw/.emacs.d

c72ecd5bd0c2e398a6527eaa752b82804a182fcd — Evan Straw a month ago 012358d master
Misc formatting and other changes
2 files changed, 9 insertions(+), 3 deletions(-)

M modules/module-lang-general.el
M modules/module-misc.el
M modules/module-lang-general.el => modules/module-lang-general.el +4 -3
@@ 55,14 55,15 @@
  (sp-with-modes '(java-mode c++-mode c-mode go-mode groovy-mode arduino-mode)
    (sp-local-pair "{" nil :post-handlers '(("||\n[i]" "RET")))
    (sp-local-pair "/**" "*/" :post-handlers '(("| " "SPC")
     					       (" ||\n[i]" "RET"))))
     										   (" ||\n[i]" "RET")))
	(sp-local-pair "'" "'"))
  (sp-with-modes '(css-mode js2-mode js-mode)
    (sp-local-pair "{" nil :post-handlers '(("||\n[i]" "RET")))
    (sp-local-pair "/**" "*/" :post-handlers '(("| " "SPC")
     					       (" ||\n[i]" "RET"))))
     										   (" ||\n[i]" "RET"))))
  (sp-with-modes '(tuareg-mode utop-mode)
    (sp-local-pair "(*" "*)" :post-handlers '(("| " "SPC")
					      (" ||\n[i]" "RET")))))
											  (" ||\n[i]" "RET")))))

;; ---------------
;; Generic configuration for all languages

M modules/module-misc.el => modules/module-misc.el +5 -0
@@ 12,6 12,9 @@
(use-package debbugs
  :commands (debbugs-gnu))

(use-package disk-usage
  :commands (disk-usage disk-usage-here))

(use-package ace-window
  :commands (ace-window
	     ace-window-display-mode)


@@ 74,5 77,7 @@
  (let ((process-environment tramp-remote-process-environment))
    (setenv "ENV" "$HOME/.profile")
    (setq tramp-remote-process-environment process-environment)))

(global-set-key (kbd "C-x <f5>") #'revert-buffer)
  
(provide 'module-misc)