summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/emacs.el
diff options
context:
space:
mode:
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