Remove my transient keymap

With which-key it’s no longer needed.
This commit is contained in:
Gergely Polonkai 2023-10-20 11:39:41 +02:00
parent 5f08005ef2
commit 354d1ea52d
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4
1 changed files with 0 additions and 66 deletions

View File

@ -2727,12 +2727,6 @@ accompanying function will be added to ~mu4e-view-mode-hook~.
("C-c o" . ciel-co)))
#+END_SRC
** Transient for creating beautiful command menus
#+BEGIN_SRC emacs-lisp
(use-package transient)
#+END_SRC
** Speed bar in the same frame
#+BEGIN_SRC emacs-lisp
@ -4053,65 +4047,6 @@ directory. It is available from [[http://plantuml.com/download][here]].
* Last, but not least, key bindings!
** TODO My own, personal, Magit-popup! :experimental:
With the new Transient package it will be easier. I just dont know how to use it yet.
#+BEGIN_SRC emacs-lisp
(transient-define-prefix gpolonkai/clock-menu ()
[("I" "Clock in to last clocked task" org-clock-in-last)
("g" "Go to the currently clocked task" org-clock-goto)
("i" "Clock in here" org-clock-in)
("o" "Clock out" org-clock-out)])
(transient-define-prefix gpolonkai/special-files-menu ()
[("i" "My Emacs init file" gpolonkai/visit-init-file)
("o" "My main Org file" gpolonkai/visit-org-index)])
(transient-define-prefix gpolonkai/git-menu ()
[("g" "Update Git gutter everywhere" git-gutter:update-all-windows)
("m" "Show the origin of this line" git-messenger:popup-message)
("n" "Next hunk" git-gutter:next-hunk)
("p" "Previous hunk" git-gutter:previous-hunk)])
(transient-define-prefix gpolonkai/mail-menu ()
[("c" "Compose mail" mu4e-compose-new)
("i" "Jump to folder" mu4e~headers-jump-to-maildir)
("m" "Mu4e main screen" mu4e)
("s" "Mu4e search" mu4e-headers-search)])
(transient-define-prefix gpolonkai/sx-menu ()
[("i" "Inbox" sx-inbox)
("s" "Search" sx-search)])
(transient-define-prefix gpolonkai/zone-menu ()
[("i" "Enable zone on idle" gpolonkai/zone-enable)
("q" "Disable zone on idle" zone-leave-me-alone)])
(transient-define-prefix gpolonkai/python-menu ()
[("p" "Poetry" poetry)])
(transient-define-prefix gpolonkai/menu ()
[("a" "My agenda" gpolonkai/org-agenda-list)
("b" "Where has my cursor gone?" beacon-blink)
("C" "Capture" org-capture)
("c" "Clocking…" gpolonkai/clock-menu)
("M-C" "Clean up old buffers" clean-buffer-list)
("e" "EShell" eshell)
("g" "Git…" gpolonkai/git-menu)
("h" "Hide mode-line" hidden-mode-line-mode)
("l" "Store Org link" org-store-link)
("m" "Mail…" gpolonkai/mail-menu)
("o" "Special files…" gpolonkai/special-files-menu)
("p" "Python…" gpolonkai/python-menu)
("q" "Stack Exchange…" gpolonkai/sx-menu)
("r" "Show a random TODO" org-random-todo)
("u" "Open URL" browse-url-at-point)
("w" "Clean up whitespace problems" whitespace-cleanup)
("x" "Expand region" er/expand-region)
("z" "Zone…" gpolonkai/zone-menu)])
#+END_SRC
** The actual key bindings
#+begin_src emacs-lisp
@ -4164,7 +4099,6 @@ With the new Transient package it will be easier. I just dont know how to us
("<C-return>" . isearch-exit-other-end)
("<S-return>" . isearch-exit-mark-match)
:map gpolonkai/pers-map
("C-t" . gpolonkai/menu)
("h" . hidden-mode-line-mode)
("C-i e" . "gergely@polonkai.eu")
("C-i w" . "http://gergely.polonkai.eu/")