From fbfb201f78846ae2f0443616469330b3cf1eeaeb Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Mon, 25 Dec 2023 21:49:28 +0400 Subject: [PATCH] prerty please work --- config/emacs/emacs.org | 11 +++++------ config/emacs/init.el | 11 +++++------ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index 7385247f..f6c34607 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -420,13 +420,12 @@ Should make startup faster, taken from doom-emacs ** General Leader Key #+begin_src emacs-lisp (use-package general - :demand t :config - (general-create-definer sakomacs/leader-keys - :keymaps `(normal insert visual emacs) - :prefix "SPC" - :global-prefix "C-SPC") - (sakomacs/leader-keys + ;; (general-create-definer sakomacs/leader-keys + ;; :keymaps `(normal insert visual emacs) + ;; :prefix "SPC" + ;; :global-prefix "C-SPC") + (nvmap :prefix "SPC" :global-prefix "C-SPC" ;; code "c" `(:ignore c :which-key "code") "cc" `(compile :which-key "compile") diff --git a/config/emacs/init.el b/config/emacs/init.el index 966a61b3..e0faa213 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -347,13 +347,12 @@ kept-old-versions 5) :config (delete-selection-mode +1)) (use-package general - :demand t :config - (general-create-definer sakomacs/leader-keys - :keymaps `(normal insert visual emacs) - :prefix "SPC" - :global-prefix "C-SPC") - (sakomacs/leader-keys + ;; (general-create-definer sakomacs/leader-keys + ;; :keymaps `(normal insert visual emacs) + ;; :prefix "SPC" + ;; :global-prefix "C-SPC") + (nvmap :prefix "SPC" :global-prefix "C-SPC" ;; code "c" `(:ignore c :which-key "code") "cc" `(compile :which-key "compile")