Merge branch 'master'

This commit is contained in:
2021-03-05 17:33:09 +01:00
9 changed files with 2462 additions and 144 deletions

View File

@@ -163,18 +163,14 @@ already exists in the home directory."
but it's REALLY SLOW when you have buffers that are visiting
remote files. And despite its documentation, it does NOT ignore
those files, if you're using windows, and the file name begins
with a drive letter and a colon.")
)
(setq global-auto-revert-non-file-buffers t)
)
)
with a drive letter and a colon."))
(setq global-auto-revert-non-file-buffers t)))
(setq revert-without-query '(".*"))
(use-package uniquify
:defer t
:config
(setq uniquify-buffer-name-style 'forward) ;; forward: bar/mumble/name insead of post-forward-angle-brackets: name<bar/mumble>
)
(setq uniquify-buffer-name-style 'forward)) ;; forward: bar/mumble/name insead of post-forward-angle-brackets: name<bar/mumble>
;; overwrite selected text
(delete-selection-mode t)
@@ -228,6 +224,16 @@ with a drive letter and a colon.")
;; gravatars from magit use this to store their cache
(setq url-configuration-directory (concat user-cache-directory "url/"))
;; https://adam.kruszewski.name/2017/09/emacs-in-wsl-and-opening-links/
;; For WSL open links in Windows web browser of choice
(when running-on-windows-wsl
(let ((cmd-exe "/mnt/c/Windows/System32/cmd.exe")
(cmd-args '("/c" "start")))
(when (file-exists-p cmd-exe)
(setq browse-url-generic-program cmd-exe
browse-url-generic-args cmd-args
browse-url-browser-function 'browse-url-generic))))
(setq bookmark-default-file (concat user-cache-directory "bookmarks"))
(use-package transient