aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-06-30 15:56:22 +0200
committerAdrian Kummerlaender2020-06-30 15:56:22 +0200
commitdcfad9716a35242a75e2654f512383e007a03e69 (patch)
tree323c580289962fbccd5f8c8fc66f3b09dc3abfc3
parentf99b9dc8f6258c9829138441238ff39722d21532 (diff)
downloadnixos_home-dcfad9716a35242a75e2654f512383e007a03e69.tar
nixos_home-dcfad9716a35242a75e2654f512383e007a03e69.tar.gz
nixos_home-dcfad9716a35242a75e2654f512383e007a03e69.tar.bz2
nixos_home-dcfad9716a35242a75e2654f512383e007a03e69.tar.lz
nixos_home-dcfad9716a35242a75e2654f512383e007a03e69.tar.xz
nixos_home-dcfad9716a35242a75e2654f512383e007a03e69.tar.zst
nixos_home-dcfad9716a35242a75e2654f512383e007a03e69.zip
Enable password caching for Emacs tramp
-rw-r--r--gui/conf/init.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/conf/init.el b/gui/conf/init.el
index 31d1ab7..73658cb 100644
--- a/gui/conf/init.el
+++ b/gui/conf/init.el
@@ -43,6 +43,9 @@
(setq-default c-basic-offset 2)
(setq-default python-indent-offset 4)
+(setq password-cache t)
+(setq password-cache-expiry 3600)
+
(add-hook 'prog-mode-hook 'display-line-numbers-mode)
(global-set-key (kbd "<M-tab>") 'next-buffer)