summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2023-08-20 06:52:48 +0200
committerAlan Pearce2023-08-20 06:52:48 +0200
commita1e7e0bc3e2cf040d24580ecfe3f73899b358aa1 (patch)
tree5bd05f75c23c3d1e069849c2e8f858acfbb90883 /user/emacs
parenta0c89188898a79599f83a83297946631fb78bf9b (diff)
downloadnixfiles-a1e7e0bc3e2cf040d24580ecfe3f73899b358aa1.tar.lz
nixfiles-a1e7e0bc3e2cf040d24580ecfe3f73899b358aa1.tar.zst
nixfiles-a1e7e0bc3e2cf040d24580ecfe3f73899b358aa1.zip
fish: port functions and more aliases
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 9b136bce..f5729f21 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -763,6 +763,11 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 
 (add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
 
+(use-package fish-mode
+  :mode (("\\.fish\\'" . fish-mode))
+  :config (progn
+            (setq fish-enable-auto-indent t)))
+
 ;;;; make
 (general-add-hook 'makefile-mode-hook
                   (lambda ()