Some buffer and performance changes. Spiffed up ibuffer.
This commit is contained in:
@@ -100,16 +100,23 @@ There are a lot of solutions for editing files, and projects remotely. At the m
|
||||
#+begin_src emacs-lisp
|
||||
(use-feature tramp
|
||||
:config
|
||||
(setq tramp-ssh-controlmaster-options
|
||||
(concat
|
||||
"-o ControlPath=/tmp/ssh-ControlPath-%%r@%%h:%%p "
|
||||
"-o ControlMaster=auto -o ControlPersist=yes"))
|
||||
;; Enable full-featured Dirvish over TRAMP on ssh connections
|
||||
;; https://www.gnu.org/software/tramp/#Improving-performance-of-asynchronous-remote-processes
|
||||
(connection-local-set-profile-variables
|
||||
'remote-direct-async-process
|
||||
'((tramp-direct-async-process . t)))
|
||||
(connection-local-set-profiles
|
||||
'(:application tramp :protocol "ssh")
|
||||
'(:application tramp :protocol "rsync")
|
||||
'remote-direct-async-process)
|
||||
(setq magit-tramp-pipe-stty-settings 'pty)
|
||||
(with-eval-after-load 'compile
|
||||
(remove-hook 'compilation-mode-hook #'tramp-compile-disable-ssh-controlmaster-options))
|
||||
;; Tips to speed up connections
|
||||
(setq tramp-verbose 0)
|
||||
(setq tramp-chunksize 2000)
|
||||
(setq tramp-ssh-controlmaster-options nil))
|
||||
(setq tramp-copy-size-limit nil))
|
||||
#+end_src
|
||||
|
||||
Reference in New Issue
Block a user