This commit is contained in:
parent
eb58a51bab
commit
040ffa7cb3
6 changed files with 166 additions and 182 deletions
305
elpaca.lock
305
elpaca.lock
File diff suppressed because it is too large
Load diff
|
|
@ -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
|
|
||||||
|
|
@ -2,8 +2,6 @@
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
;;; Completion framework configuration
|
;;; Completion framework configuration
|
||||||
;;; Code:
|
;;; Code:
|
||||||
(require 'icejam-blocking)
|
|
||||||
|
|
||||||
(use-package yasnippet :ensure t :defer t
|
(use-package yasnippet :ensure t :defer t
|
||||||
:hook ((elpaca-after-init . yas-global-mode))
|
:hook ((elpaca-after-init . yas-global-mode))
|
||||||
:config
|
:config
|
||||||
|
|
|
||||||
|
|
@ -86,7 +86,6 @@
|
||||||
|
|
||||||
;; General configuration files.
|
;; General configuration files.
|
||||||
(use-package icejam-keys-mode :ensure nil)
|
(use-package icejam-keys-mode :ensure nil)
|
||||||
(use-package icejam-blocking :ensure nil)
|
|
||||||
(use-package icejam-base :ensure nil)
|
(use-package icejam-base :ensure nil)
|
||||||
(use-package icejam-sys-specific :ensure nil)
|
(use-package icejam-sys-specific :ensure nil)
|
||||||
(use-package icejam-tree-sitter :ensure nil)
|
(use-package icejam-tree-sitter :ensure nil)
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
;;; Global Language Server Protocol Config
|
;;; Global Language Server Protocol Config
|
||||||
;;; Code:
|
;;; Code:
|
||||||
(require 'icejam-blocking)
|
|
||||||
|
|
||||||
;; https://emacs-lsp.github.io/lsp-mode/page/performance/#use-plists-for-deserialization
|
;; https://emacs-lsp.github.io/lsp-mode/page/performance/#use-plists-for-deserialization
|
||||||
;; This supposedly makes it faster.
|
;; This supposedly makes it faster.
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,8 @@
|
||||||
|
|
||||||
(require 'icejam-avy)
|
(require 'icejam-avy)
|
||||||
(require 'icejam-keys-mode)
|
(require 'icejam-keys-mode)
|
||||||
(require 'icejam-blocking)
|
|
||||||
|
(use-package transient :ensure (:wait t))
|
||||||
|
|
||||||
(defun icejam-mark-and-indent-whole-buffer ()
|
(defun icejam-mark-and-indent-whole-buffer ()
|
||||||
"Mark and indent whole buffer."
|
"Mark and indent whole buffer."
|
||||||
|
|
@ -96,8 +97,8 @@
|
||||||
("]" "Down" buf-move-down)]
|
("]" "Down" buf-move-down)]
|
||||||
["Jump to"
|
["Jump to"
|
||||||
("w" "Word" avy-goto-word-1)
|
("w" "Word" avy-goto-word-1)
|
||||||
("l" "Character" avy-goto-line)
|
("l" "Line" avy-goto-line)
|
||||||
("c" "Line" avy-goto-char-2)]])
|
("c" "Character" avy-goto-char-2)]])
|
||||||
|
|
||||||
(transient-define-prefix icejam-font-menu ()
|
(transient-define-prefix icejam-font-menu ()
|
||||||
"Font Commands."
|
"Font Commands."
|
||||||
|
|
@ -128,6 +129,18 @@ You can pass MAYBE-MODE to find mode explicitly."
|
||||||
(interactive)
|
(interactive)
|
||||||
(funcall (icejam-language-transient-for-mode)))
|
(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 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 c") 'icejam-code-menu)
|
||||||
(define-key icejam-keys-mode-map (kbd "C-c w") 'icejam-window-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 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 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 "C-c l") 'icejam-transient-for-lang)
|
||||||
|
(define-key icejam-keys-mode-map (kbd "H-p") 'icejam-command-palette)
|
||||||
|
|
||||||
(provide 'icejam-transient)
|
(provide 'icejam-transient)
|
||||||
;;; icejam-transient.el ends here
|
;;; icejam-transient.el ends here
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue