From e28b563d449939ce53b9492960d36239e500a7d9 Mon Sep 17 00:00:00 2001 From: Philip Ye Date: Thu, 22 Aug 2024 10:09:58 +0800 Subject: [PATCH] fix sh enter indent issue --- phye-lisp/phye-init-key.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/phye-lisp/phye-init-key.el b/phye-lisp/phye-init-key.el index 4d3331506..db70a1574 100644 --- a/phye-lisp/phye-init-key.el +++ b/phye-lisp/phye-init-key.el @@ -259,6 +259,10 @@ :keymaps 'bookmark-minibuffer-read-name-map "C-w" 'evil-delete-backward-word) +(general-define-key + :keymaps 'sh-mode-map + "" 'newline) + ;; evil-matchit (defun evilmi-customize-keybinding () (evil-define-key 'normal evil-matchit-mode-map