diff --git a/mode-customizations.el b/mode-customizations.el index fce480e..f3adf71 100644 --- a/mode-customizations.el +++ b/mode-customizations.el @@ -3,6 +3,7 @@ ;; ;; Programming languages +(load-file (config-path "mode-customizations/ack-mode.el")) (load-file (config-path "mode-customizations/coffee-mode.el")) (load-file (config-path "mode-customizations/conf-mode.el")) (load-file (config-path "mode-customizations/css-mode.el")) diff --git a/mode-customizations/ack-mode.el b/mode-customizations/ack-mode.el new file mode 100644 index 0000000..a7c47f9 --- /dev/null +++ b/mode-customizations/ack-mode.el @@ -0,0 +1,5 @@ +(defun customizations-for-ack-mode () + (interactive) + (define-key ack-mode-map (kbd "q") 'kill-this-buffer)) + +(add-hook 'ack-mode-hook 'customizations-for-ack-mode)