Enable global-visual-line-mode

Remove directory-abbrev-alist
This commit is contained in:
Evie Litherland-Smith 2025-02-07 11:47:26 +00:00
parent a4abc89184
commit 96d0fca74b

View file

@ -126,6 +126,7 @@
(which-func-modes '(prog-mode))) (which-func-modes '(prog-mode)))
(global-so-long-mode +1) (global-so-long-mode +1)
(global-visual-line-mode +1)
(use-package visual-fill-column (use-package visual-fill-column
:if (package-installed-p 'visual-fill-column) :if (package-installed-p 'visual-fill-column)
@ -140,14 +141,10 @@
split-width-threshold 160) split-width-threshold 160)
(setq tab-always-indent 'complete (setq tab-always-indent 'complete
tab-first-completion 'word
completion-cycle-threshold nil completion-cycle-threshold nil
completions-detailed t) completions-detailed t)
(add-to-list 'directory-abbrev-alist
'("^/ndrive" . "/smb:elitherl%ccfepc@msrv-cfshare.ccfepc.ccfe.ac.uk:/NDrive/"))
(add-to-list 'directory-abbrev-alist
'("^/tdrive" . "/smb:elitherl%ccfepc@msrv-cfshare.ccfepc.ccfe.ac.uk:/NewT/"))
(use-package tramp (use-package tramp
:defines (tramp-remote-path tramp-default-proxies-alist) :defines (tramp-remote-path tramp-default-proxies-alist)
:custom :custom
@ -161,7 +158,7 @@
(add-to-list 'tramp-remote-path "~/.local/bin/") (add-to-list 'tramp-remote-path "~/.local/bin/")
(add-to-list 'tramp-remote-path "~/bin") (add-to-list 'tramp-remote-path "~/bin")
(add-to-list 'tramp-default-proxies-alist (add-to-list 'tramp-default-proxies-alist
'("legion" "\\`root\\'" "/ssh:%h:"))) '("legion" "\\`root\\'" "/sshx:%h:")))
(connection-local-set-profile-variables (connection-local-set-profile-variables
'remote-no-corfu-auto 'remote-no-corfu-auto