mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2026-08-23 21:24:18 +02:00
fix kab, upd magit config
This commit is contained in:
@@ -348,7 +348,7 @@ Version 2015-04-09"
|
||||
(global-set-key (kbd "C-c C-p") 'copy-buffer-read-only) ; make read-only buffer copy
|
||||
|
||||
;; --------------------------------------------------------------------------------
|
||||
;; ** Cleanup, close all windows and kill all buffers
|
||||
;; ** Cleanup, close all windows and kill all buffers and processes
|
||||
|
||||
;; From time to time I get annoyed by the many dozen buffers
|
||||
;; opened. In such cases I like to close them all at once.
|
||||
@@ -364,6 +364,8 @@ Version 2015-04-09"
|
||||
(clean-buffer-list)
|
||||
(dolist (buffer (buffer-list))
|
||||
(kill-buffer buffer))
|
||||
(dolist (process (list-processes))
|
||||
(kill-process process))
|
||||
(delete-minibuffer-contents)
|
||||
(if (fboundp 'tramp-cleanup-all-connections)
|
||||
(tramp-cleanup-all-connections))
|
||||
|
||||
@@ -55,10 +55,10 @@
|
||||
("C-c D" . tvd-lsp-doc-toggle))
|
||||
|
||||
:init
|
||||
(setq lsp-ui-doc-enable t ;; enable on the fly with "C-c D"
|
||||
(setq lsp-ui-doc-enable nil ;; enable on the fly with "C-c D"
|
||||
lsp-ui-doc-use-webkit nil
|
||||
lsp-ui-doc-header t
|
||||
lsp-ui-doc-delay 0.2
|
||||
lsp-ui-doc-delay 1.0
|
||||
lsp-ui-doc-position 'top
|
||||
lsp-ui-doc-side 'right
|
||||
lsp-ui-doc-include-signature t
|
||||
@@ -72,7 +72,7 @@
|
||||
lsp-ui-peek-peek-height 40
|
||||
|
||||
;; FIXME: maybe this is too much, check at work
|
||||
lsp-ui-sideline-enable t
|
||||
lsp-ui-sideline-enable nil
|
||||
lsp-ui-sideline-update-mode 'point
|
||||
lsp-ui-sideline-show-code-actions nil
|
||||
lsp-ui-sideline-show-hover t
|
||||
|
||||
@@ -156,7 +156,14 @@
|
||||
(setq blamer-bindings '(("<mouse-1>" . blamer-callback-show-commit-diff))))
|
||||
|
||||
(use-package forge
|
||||
:after magit)
|
||||
:after magit
|
||||
|
||||
:config
|
||||
(push '("git.f-i-ts.de" ; GITHOST
|
||||
"git.f-i-ts.de/api/v4" ; APIHOST
|
||||
"git.f-i-ts.de" ; WEBHOST and INSTANCE-ID
|
||||
forge-gitlab-repository) ; CLASS
|
||||
forge-alist))
|
||||
|
||||
(use-package sqlite3
|
||||
:defer nil)
|
||||
@@ -190,5 +197,7 @@
|
||||
(interactive)
|
||||
(tvd-switch-to-repo (completing-read "select git repo> " (tvd-list-git-repos))))
|
||||
|
||||
(setq auth-sources '("~/.authinfo"))
|
||||
|
||||
(provide 'init-magit)
|
||||
;;; init-magit.el ends here
|
||||
|
||||
Reference in New Issue
Block a user