mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Customize ack-mode to enable "q" keybinding to close result buffer
This commit is contained in:
@@ -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"))
|
||||
|
||||
5
mode-customizations/ack-mode.el
Normal file
5
mode-customizations/ack-mode.el
Normal file
@@ -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)
|
||||
Reference in New Issue
Block a user