summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/emacs.el
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-05-26 13:58:07 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2022-05-26 13:58:07 +0200
commitfc6cf6169868e60c189e4b243330c3717ff159f3 (patch)
tree3f6dea9c1420e23756257b5abea27ec9ed92d58a /accounts/gkleen@sif/emacs.el
parent84f2affd66a0ff3947b91a30308cb8e6a8ff7594 (diff)
downloadnixos-fc6cf6169868e60c189e4b243330c3717ff159f3.tar
nixos-fc6cf6169868e60c189e4b243330c3717ff159f3.tar.gz
nixos-fc6cf6169868e60c189e4b243330c3717ff159f3.tar.bz2
nixos-fc6cf6169868e60c189e4b243330c3717ff159f3.tar.xz
nixos-fc6cf6169868e60c189e4b243330c3717ff159f3.zip
...
Diffstat (limited to 'accounts/gkleen@sif/emacs.el')
-rw-r--r--accounts/gkleen@sif/emacs.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/accounts/gkleen@sif/emacs.el b/accounts/gkleen@sif/emacs.el
index d4b1a092..1a7cb863 100644
--- a/accounts/gkleen@sif/emacs.el
+++ b/accounts/gkleen@sif/emacs.el
@@ -16,6 +16,8 @@
16(require 'evil) 16(require 'evil)
17(evil-mode 1) 17(evil-mode 1)
18 18
19(editorconfig-mode 1)
20
19(require 'edit-server) 21(require 'edit-server)
20(edit-server-start) 22(edit-server-start)
21 23
@@ -25,6 +27,8 @@
25 (define-key mediawiki-mode-map (kbd "<C-left>") nil) 27 (define-key mediawiki-mode-map (kbd "<C-left>") nil)
26 (define-key mediawiki-mode-map (kbd "<C-right>") nil))) 28 (define-key mediawiki-mode-map (kbd "<C-right>") nil)))
27 29
30(require 'typescript-mode)
31
28(global-subword-mode) 32(global-subword-mode)
29(global-undo-tree-mode) 33(global-undo-tree-mode)
30(global-fira-code-mode) 34(global-fira-code-mode)
@@ -144,6 +148,8 @@
144 148
145(setq direnv-enabled-hosts '("uni2work-dev1")) 149(setq direnv-enabled-hosts '("uni2work-dev1"))
146 150
151(setq auth-sources '("secrets:Login"))
152
147(defun tramp-sh-handle-start-file-process@my-direnv (args) 153(defun tramp-sh-handle-start-file-process@my-direnv (args)
148 "Enable Direnv for hosts in `direnv-enabled-hosts'." 154 "Enable Direnv for hosts in `direnv-enabled-hosts'."
149 (with-parsed-tramp-file-name (expand-file-name default-directory) nil 155 (with-parsed-tramp-file-name (expand-file-name default-directory) nil