Advertisement
zqso

init-transient.el

Jul 17th, 2023
948
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 1.52 KB | None | 0 0
  1. (transient-define-prefix transient-map-general ()
  2.   "Leader key of transient."
  3.   ["----------------------------------------"
  4.    ["QWERT"
  5.     ("q" "query     " transient-map-search-replace)
  6.     ("w" "window    " transient-map-window)
  7.     ("e" "eval      " transient-map-eval)
  8.     ("r" "ripgrep   " transient-map-ripgrep)
  9.     ("t" "text      " transient-map-text)
  10.     ]
  11.    ["YUIOP"
  12.     ""
  13.     ""
  14.     ""
  15.     ("o" "org       " transient-map-org)
  16.     ("p" "project   " transient-map-project)
  17.     ""
  18.     ""
  19.     ""
  20.     ]]
  21.  
  22.   ["----------------------------------------"
  23.    ["ASDFG"
  24.     ("a" "ai        " transient-map-ai)
  25.     ("s" "sql       " transient-map-sql)
  26.     ("d" "dev       " transient-map-dev)
  27.     ("f" "file      " transient-map-file)
  28.     ""
  29.     ]
  30.    ["HJKL;'"
  31.     ("h" "help      " im/transient-help)
  32.     ("j" "jump      " transient-map-jump)
  33.     ("k" "ekg       " transient-map-ekg)
  34.     ("l" "link      " transient-map-link)
  35.     ""
  36.     ""
  37.     ]]
  38.   ["----------------------------------------"
  39.    ["ZXCVB"
  40.     ("z" "undo      " undo)
  41.     ""
  42.     ("c" "consult   " transient-map-consult)
  43.     ("v" "vulpea    " transient-map-vulpea)
  44.     ("b" "buffer    " transient-map-buffer)
  45.     ]
  46.    ["NM,./"
  47.     ""
  48.     ("m" "magit     " transient-map-magit-dispatch) ; not magit-dispatch
  49.     ("," "minor     " transient-map-toggle-minor-mode)
  50.     ("." "major     " transient-map-toggle-major-mode)
  51.     ""
  52.     ]]
  53.  
  54.   ["----------------------------------------"
  55.    [("M-x" "M-x     " execute-extended-command)]
  56.    [("SPC" "mode specific" transient-map-mode-specific)]
  57.    ])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement