Compare commits
3 Commits
1ec3748fc4
...
400faebf40
| Author | SHA1 | Date | |
|---|---|---|---|
| 400faebf40 | |||
| f8deccc5fe | |||
| df70776a8b |
76
init.el
76
init.el
@ -1630,31 +1630,34 @@ Note that this workaround is incomplete, as explained in this comment."
|
||||
magit-list-repositories)
|
||||
|
||||
:init (progn
|
||||
(setq magit-diff-refine-hunk nil
|
||||
magit-commit-show-diff nil
|
||||
magit-repository-directories '(("~/" . 0)
|
||||
("~/.emacs.d" . 0)
|
||||
("~/Documents/" . 3)
|
||||
("~/.local/share/dotfiles" . 0))
|
||||
magit-repolist-columns '(("Name" 20 magit-repolist-column-ident
|
||||
())
|
||||
("S" 1 magit-repolist-column-flag
|
||||
())
|
||||
("B<U" 3 magit-repolist-column-unpulled-from-upstream
|
||||
((:right-align t)
|
||||
(:sort <)))
|
||||
("B>U" 3 magit-repolist-column-unpushed-to-upstream
|
||||
((:right-align t)
|
||||
(:sort <)))
|
||||
("Version" 35 magit-repolist-column-version
|
||||
((:sort magit-repolist-version<)))
|
||||
("Path" 99 magit-repolist-column-path
|
||||
())))
|
||||
(setopt magit-diff-refine-hunk nil
|
||||
magit-commit-show-diff nil
|
||||
|
||||
magit-repository-directories '(("~/" . 0)
|
||||
("~/.emacs.d" . 0)
|
||||
("~/Documents/" . 3)
|
||||
("~/.local/share/dotfiles" . 0))
|
||||
|
||||
magit-repolist-columns '(("Name" 20 magit-repolist-column-ident
|
||||
())
|
||||
("S" 1 magit-repolist-column-flag
|
||||
())
|
||||
("B<U" 3 magit-repolist-column-unpulled-from-upstream
|
||||
((:right-align t)
|
||||
(:sort <)))
|
||||
("B>U" 3 magit-repolist-column-unpushed-to-upstream
|
||||
((:right-align t)
|
||||
(:sort <)))
|
||||
("Version" 35 magit-repolist-column-version
|
||||
((:sort magit-repolist-version<)))
|
||||
("Path" 99 magit-repolist-column-path
|
||||
()))
|
||||
|
||||
magit-branch-direct-configure nil)
|
||||
|
||||
(when on-windows
|
||||
;; Experimental: on Windows, do not refresh magit-status-buffers
|
||||
;; that are not selected, to increase performance.
|
||||
(setq magit-refresh-status-buffer nil)))
|
||||
;; Increase performance by not automatically refreshing status buffers
|
||||
(setopt magit-refresh-status-buffer nil)))
|
||||
|
||||
:config (progn
|
||||
(when (fboundp 'global-magit-file-mode)
|
||||
@ -2318,9 +2321,27 @@ Note that this workaround is incomplete, as explained in this comment."
|
||||
:commands (turn-on-gnus-dired-mode))
|
||||
|
||||
(use-package tramp
|
||||
:init (setq tramp-default-method (if on-windows "pscp" "scp")
|
||||
tramp-completion-use-auth-sources nil
|
||||
tramp-histfile-override "~/.tramp_history"))
|
||||
:init (setopt tramp-default-method (if on-windows "pscp" "scp")
|
||||
tramp-completion-use-auth-sources nil
|
||||
tramp-histfile-override "~/.tramp_history"
|
||||
tramp-use-scp-direct-remote-copying t
|
||||
tramp-verbose 2)
|
||||
:config (progn
|
||||
|
||||
;; Use direct async processes for creating processes; see
|
||||
;; https://coredumped.dev/2025/06/18/making-tramp-go-brrrr./#use-direct-async.
|
||||
|
||||
(connection-local-set-profile-variables
|
||||
'remote-direct-async-process
|
||||
'((tramp-direct-async-process . t)))
|
||||
|
||||
(connection-local-set-profiles
|
||||
'(:application tramp :protocol "scp")
|
||||
'remote-direct-async-process)
|
||||
|
||||
(connection-local-set-profiles
|
||||
'(:application tramp :protocol "pscp")
|
||||
'remote-direct-async-process)))
|
||||
|
||||
(use-package trashed
|
||||
;; A simple dired-like interface to the system trash bin
|
||||
@ -3118,7 +3139,8 @@ eventuelly be set to nil, however)."
|
||||
(bind-key "<f5>" #'project-find-regexp)
|
||||
(bind-key "<f6>" #'text-scale-adjust)
|
||||
(bind-key "<f7>" #'dictcc)
|
||||
(bind-key "<f9>" #'hydra-org-linking/body)
|
||||
(bind-key "<f8>" #'hydra-org-linking/body)
|
||||
(bind-key "<f9>" #'magit-dispatch)
|
||||
(bind-key "<f10>" #'magit-status)
|
||||
(bind-key "C-," #'mc/skip-to-previous-like-this)
|
||||
(bind-key "C-." #'mc/skip-to-next-like-this)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user