feat: Add multiple keyboard bindings and UI improvements
- Add `my-denote-open-metanote` function and keybinding - Add `discomfort` and `xdg-launcher-run-app` bindings for Linux - Add `mc/add-cursor-on-click` binding - Add `guix` package - Fix pixel-scroll-precision - Add terminal UI theme improvements for xref and match faces - Rename functions to `my-` prefix for consistency - Reorganize org agenda priority grouping - Switch EMMS default player to VLC
This commit is contained in:
@@ -71,11 +71,11 @@
|
||||
:prefix "C-x p"
|
||||
"b" 'consult-project-buffer
|
||||
"E" 'eat-project
|
||||
"r" 'consult-ripgrep-project
|
||||
"r" 'my-consult-ripgrep-project
|
||||
"R" 'project-query-replace-regexp
|
||||
"v" 'magit-project-status
|
||||
"V" 'project-vc-dir
|
||||
"a" 'gptel-agent-project)
|
||||
"a" 'my-gptel-agent-project)
|
||||
|
||||
;; g for magit
|
||||
(general-unbind "C-x g")
|
||||
@@ -107,7 +107,8 @@
|
||||
"v" 'my-blog-preview
|
||||
"d" 'denote
|
||||
"r" 'denote-rename-file-date
|
||||
"R" 'denote-rename-file)
|
||||
"R" 'denote-rename-file
|
||||
"m" 'my-denote-open-metanote)
|
||||
|
||||
;; q for org-ql
|
||||
(general-def
|
||||
@@ -142,7 +143,8 @@
|
||||
"h" 'dirvish-history-menu
|
||||
"f" 'dirvish-fd
|
||||
"F" 'dirvish-fd-switches-menu
|
||||
"t" 'trashed)
|
||||
"t" 'trashed
|
||||
"d" 'discomfort)
|
||||
|
||||
;; scratch buffer
|
||||
(if *is-mac*
|
||||
@@ -172,7 +174,7 @@
|
||||
|
||||
(general-def (dired-mode-map dirvish-mode-map)
|
||||
:prefix "C-c d"
|
||||
"d" 'dirvish-setup-menu
|
||||
"u" 'dirvish-setup-menu
|
||||
"r" 'dirvish-renaming-menu
|
||||
"v" 'dirvish-vc-menu
|
||||
"m" 'dirvish-mark-menu
|
||||
@@ -244,7 +246,8 @@
|
||||
"<left>" 'org-tree-slide-move-previous-tree
|
||||
"<right>" 'org-tree-slide-move-next-tree
|
||||
"C-c o t" 'my-org-tree-slide-stop
|
||||
"ESC" 'my-org-tree-slide-stop)
|
||||
"ESC" 'my-org-tree-slide-stop
|
||||
"q" 'my-org-tree-slide-stop)
|
||||
|
||||
;; hs-hide-mode
|
||||
(general-def hs-minor-mode-map
|
||||
@@ -346,6 +349,7 @@
|
||||
"M-B" 'drag-stuff-left
|
||||
"C-M-SPC" 'er/mark-symbol
|
||||
"M-@" 'er/mark-word
|
||||
"C-S-<mouse-1>" 'mc/add-cursor-on-click
|
||||
|
||||
;; undo
|
||||
"C-/" 'undo-fu-only-undo
|
||||
@@ -381,9 +385,14 @@
|
||||
"C-x v =" 'magit-diff-buffer-file
|
||||
"C-;" 'embark-act)
|
||||
|
||||
(when *is-android*
|
||||
(cond
|
||||
(*is-android*
|
||||
(general-def
|
||||
"C-M-w" 'popper-toggle-type-delete-other-window))
|
||||
(*is-linux*
|
||||
(general-def
|
||||
"M-S-SPC" 'xdg-launcher-run-app))
|
||||
(t nil))
|
||||
|
||||
;; expand region
|
||||
(setq expand-region-reset-fast-key "r")
|
||||
|
||||
Reference in New Issue
Block a user