Files
dot-emacs/lisp/init-shellscript.el
2026-09-14 20:49:31 +02:00

14 lines
320 B
EmacsLisp

;; -*- lexical-binding: nil; -*-
;; *** Shell-Script Mode
;; C-c C-c [un-]comments everywhere, force in shell-script-mode as well
(add-hook
'sh-mode-hook
(function
(lambda()
(local-set-key (kbd "C-c C-c") 'comment-or-uncomment-region-or-line))))
(provide 'init-shellscript)
;;; init-shellscript.el ends here