Compare commits
3 commits
0c1a3ac5c5
...
2ed5d59eae
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2ed5d59eae | ||
|
|
3e3bc2baba | ||
|
|
154e911afb |
2 changed files with 38 additions and 6 deletions
|
|
@ -159,10 +159,14 @@
|
||||||
;; Modeline format:
|
;; Modeline format:
|
||||||
(display-time-mode -1)
|
(display-time-mode -1)
|
||||||
|
|
||||||
(setq vc-ignore-dir-regexp
|
;; 2025-07-09 I used to have this set to make emacs faster and not do vc
|
||||||
(format "\\(%s\\)\\|\\(%s\\)"
|
;; stuff over tramp but that breaks remote eglot because it breaks remote
|
||||||
vc-ignore-dir-regexp
|
;; project, so we can't do that.
|
||||||
tramp-file-name-regexp))
|
;;
|
||||||
|
;; (setq vc-ignore-dir-regexp
|
||||||
|
;; (format "\\(%s\\)\\|\\(%s\\)"
|
||||||
|
;; vc-ignore-dir-regexp
|
||||||
|
;; tramp-file-name-regexp))
|
||||||
|
|
||||||
;; ================================================================
|
;; ================================================================
|
||||||
;; Fonts and windows and the like, only if graphics.
|
;; Fonts and windows and the like, only if graphics.
|
||||||
|
|
@ -1247,6 +1251,31 @@ Or, uh, Objective C, I guess."
|
||||||
;; Let tramp search $PATH as given to the $USER on the remote machine
|
;; Let tramp search $PATH as given to the $USER on the remote machine
|
||||||
;; (necessary to find 'hphpd' for instance)
|
;; (necessary to find 'hphpd' for instance)
|
||||||
(add-to-list 'tramp-remote-path 'tramp-own-remote-path)
|
(add-to-list 'tramp-remote-path 'tramp-own-remote-path)
|
||||||
|
|
||||||
|
;; All of this configuration comes from this guide here:
|
||||||
|
;; https://coredumped.dev/2025/06/18/making-tramp-go-brrrr./
|
||||||
|
(setq remote-file-name-inhibit-locks t
|
||||||
|
tramp-use-scp-direct-remote-copying t
|
||||||
|
remote-file-name-inhibit-auto-save-visited t
|
||||||
|
tramp-copy-size-limit (* 1024 1024) ;; 1MB
|
||||||
|
tramp-verbose 2)
|
||||||
|
|
||||||
|
(connection-local-set-profile-variables
|
||||||
|
'remote-direct-async-process
|
||||||
|
'((tramp-direct-async-process . nil))) ;; NOTE: t here breaks eglot :(
|
||||||
|
|
||||||
|
;; (connection-local-get-profile-variables 'remote-direct-async-process)
|
||||||
|
|
||||||
|
(connection-local-set-profiles
|
||||||
|
'(:application tramp :machine "arca.ssh")
|
||||||
|
'remote-direct-async-process)
|
||||||
|
|
||||||
|
(setq magit-tramp-pipe-stty-settings 'pty)
|
||||||
|
|
||||||
|
(with-eval-after-load 'tramp
|
||||||
|
(with-eval-after-load 'compile
|
||||||
|
(remove-hook 'compilation-mode-hook #'tramp-compile-disable-ssh-controlmaster-options)))
|
||||||
|
|
||||||
;; Use putty on windows
|
;; Use putty on windows
|
||||||
(when (eq window-system 'w32)
|
(when (eq window-system 'w32)
|
||||||
(setq tramp-default-method "plink")))
|
(setq tramp-default-method "plink")))
|
||||||
|
|
@ -1408,7 +1437,8 @@ Do this when you edit your project view."
|
||||||
;; =================================================================
|
;; =================================================================
|
||||||
;; Jsonnet
|
;; Jsonnet
|
||||||
;; =================================================================
|
;; =================================================================
|
||||||
(use-package jsonnet-mode :ensure t)
|
(use-package jsonnet-mode :ensure t
|
||||||
|
:mode "\\.jsonnet\\(\\.TEMPLATE\\)?\\'")
|
||||||
|
|
||||||
;; =================================================================
|
;; =================================================================
|
||||||
;; Fish shell
|
;; Fish shell
|
||||||
|
|
|
||||||
|
|
@ -212,7 +212,9 @@ Example:
|
||||||
:confirm nil
|
:confirm nil
|
||||||
:include t))
|
:include t))
|
||||||
|
|
||||||
(doty-tools-register-mappers)
|
(condition-case nil
|
||||||
|
(doty-tools-register-mappers)
|
||||||
|
(error nil))
|
||||||
|
|
||||||
(provide 'doty-tools-buffer-map)
|
(provide 'doty-tools-buffer-map)
|
||||||
;;; doty-tools-buffer-map.el ends here
|
;;; doty-tools-buffer-map.el ends here
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue