mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
chore(lang): Set RET key for sh-mode-map with use-package
This commit is contained in:
@@ -15,6 +15,10 @@
|
||||
"zshenv\\'"
|
||||
"zshrc\\'"
|
||||
|
||||
:bind
|
||||
(:map sh-mode-map
|
||||
("RET" . newline-and-indent))
|
||||
|
||||
:hook
|
||||
(sh-mode . siren-sh-mode-setup)
|
||||
|
||||
@@ -25,8 +29,7 @@
|
||||
sh-indentation 2
|
||||
whitespace-action '(auto-cleanup))
|
||||
|
||||
(subword-mode +1)
|
||||
(define-key sh-mode-map (kbd "RET") 'newline-and-indent)))
|
||||
(subword-mode +1)x))
|
||||
|
||||
(provide 'siren-sh)
|
||||
;;; siren-sh.el ends here
|
||||
|
||||
Reference in New Issue
Block a user