Remove icejam-blocking file
Some checks failed
/ Test config on 20 (push) Failing after 42s

This commit is contained in:
Maciej 2025-01-15 14:40:46 +02:00
parent eb58a51bab
commit 040ffa7cb3
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
6 changed files with 166 additions and 182 deletions

View file

@ -1,19 +0,0 @@
;;; icejam-blocking.el --- summary
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk
;; Version: 0.1-snapshot
;;; Commentary:
;; These packages are foundational dependency and possibly can be blocking.
;;; Code:
;; Nice menus
(use-package transient :ensure t)
;; Finally, wait for installation of these four packages.
(if (fboundp 'elpaca-wait)
(elpaca-wait))
(provide 'icejam-blocking)
;;; icejam-blocking.el ends here

View file

@ -2,8 +2,6 @@
;;; Commentary:
;;; Completion framework configuration
;;; Code:
(require 'icejam-blocking)
(use-package yasnippet :ensure t :defer t
:hook ((elpaca-after-init . yas-global-mode))
:config

View file

@ -86,7 +86,6 @@
;; General configuration files.
(use-package icejam-keys-mode :ensure nil)
(use-package icejam-blocking :ensure nil)
(use-package icejam-base :ensure nil)
(use-package icejam-sys-specific :ensure nil)
(use-package icejam-tree-sitter :ensure nil)

View file

@ -2,7 +2,6 @@
;;; Commentary:
;;; Global Language Server Protocol Config
;;; Code:
(require 'icejam-blocking)
;; https://emacs-lsp.github.io/lsp-mode/page/performance/#use-plists-for-deserialization
;; This supposedly makes it faster.

View file

@ -5,7 +5,8 @@
(require 'icejam-avy)
(require 'icejam-keys-mode)
(require 'icejam-blocking)
(use-package transient :ensure (:wait t))
(defun icejam-mark-and-indent-whole-buffer ()
"Mark and indent whole buffer."
@ -96,8 +97,8 @@
("]" "Down" buf-move-down)]
["Jump to"
("w" "Word" avy-goto-word-1)
("l" "Character" avy-goto-line)
("c" "Line" avy-goto-char-2)]])
("l" "Line" avy-goto-line)
("c" "Character" avy-goto-char-2)]])
(transient-define-prefix icejam-font-menu ()
"Font Commands."
@ -128,6 +129,18 @@ You can pass MAYBE-MODE to find mode explicitly."
(interactive)
(funcall (icejam-language-transient-for-mode)))
(transient-define-prefix icejam-command-palette ()
"All transient menus in one place."
[""
["The thing you are editing"
("p" "Project" icejam-project-menu)
("c" "Code" icejam-code-menu)
("l" "Language" icejam-transient-for-lang)]
["The editor itself"
("w" "Window" icejam-window-menu)
("s" "History" icejam-history-menu)
("f" "Font" icejam-font-menu)]])
(define-key icejam-keys-mode-map (kbd "C-c p") 'icejam-project-menu)
(define-key icejam-keys-mode-map (kbd "C-c c") 'icejam-code-menu)
(define-key icejam-keys-mode-map (kbd "C-c w") 'icejam-window-menu)
@ -135,6 +148,7 @@ You can pass MAYBE-MODE to find mode explicitly."
(define-key icejam-keys-mode-map (kbd "C-c f") 'icejam-font-menu)
(define-key icejam-keys-mode-map (kbd "C-c m") 'icejam-move-menu)
(define-key icejam-keys-mode-map (kbd "C-c l") 'icejam-transient-for-lang)
(define-key icejam-keys-mode-map (kbd "H-p") 'icejam-command-palette)
(provide 'icejam-transient)
;;; icejam-transient.el ends here