summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/init.el b/init.el index af17081..ac830c2 100644 --- a/init.el +++ b/init.el
@@ -1140,6 +1140,14 @@ if ripgrep is installed, otherwise `consult-grep'."
1140 (paredit-newline) 1140 (paredit-newline)
1141 (electric-newline-and-maybe-indent))))) 1141 (electric-newline-and-maybe-indent)))))
1142 1142
1143(setup (:straight ssh-config-mode)
1144 (dolist (spec '(("/\\.ssh/config\\'" . ssh-config-mode)
1145 ("/sshd?_config\\'" . ssh-config-mode)
1146 ("/knownhosts\\'" . ssh-known-hosts-mode)
1147 ("/authorized_keys2?\\'" . ssh-authorized-keys-mode)))
1148 (add-to-list 'auto-mode-alist spec))
1149 (add-hook 'ssh-config-mode-hook #'turn-on-font-lock))
1150
1143(setup (:straight undo-fu) 1151(setup (:straight undo-fu)
1144 (:global "C-/" undo-fu-only-undo 1152 (:global "C-/" undo-fu-only-undo
1145 "C-?" undo-fu-only-redo)) 1153 "C-?" undo-fu-only-redo))