refactor(kbd): Remove mwim, simplify keybindings
This commit is contained in:
@@ -46,9 +46,6 @@
|
|||||||
;; drag-stuff,拖动字符
|
;; drag-stuff,拖动字符
|
||||||
(use-package drag-stuff)
|
(use-package drag-stuff)
|
||||||
|
|
||||||
;; mwim,更聪明的beginning/end of line
|
|
||||||
(use-package mwim)
|
|
||||||
|
|
||||||
;; undo-fu,撤回增强和跨会话历史
|
;; undo-fu,撤回增强和跨会话历史
|
||||||
(use-package undo-fu
|
(use-package undo-fu
|
||||||
:config
|
:config
|
||||||
|
|||||||
@@ -242,8 +242,6 @@
|
|||||||
"C-c o L" 'denote-org-link-to-heading
|
"C-c o L" 'denote-org-link-to-heading
|
||||||
"C-c o b" 'denote-backlinks
|
"C-c o b" 'denote-backlinks
|
||||||
"C-c o B" 'denote-org-backlinks-for-heading
|
"C-c o B" 'denote-org-backlinks-for-heading
|
||||||
"C-a" 'mwim-beginning
|
|
||||||
"C-e" 'mwim-end
|
|
||||||
"C-c o t" 'my-org-tree-slide-start)
|
"C-c o t" 'my-org-tree-slide-start)
|
||||||
|
|
||||||
;; org-tree-slide-mode
|
;; org-tree-slide-mode
|
||||||
@@ -342,7 +340,6 @@
|
|||||||
"M-u" 'upcase-dwim
|
"M-u" 'upcase-dwim
|
||||||
"M-l" 'downcase-dwim
|
"M-l" 'downcase-dwim
|
||||||
"C-," 'crux-duplicate-current-line-or-region
|
"C-," 'crux-duplicate-current-line-or-region
|
||||||
"C-k" 'crux-smart-kill-line
|
|
||||||
"C-<backspace>" 'crux-kill-line-backwards
|
"C-<backspace>" 'crux-kill-line-backwards
|
||||||
"M-y" 'consult-yank-from-kill-ring
|
"M-y" 'consult-yank-from-kill-ring
|
||||||
"C-c <backspace>" 'hungry-delete-backward
|
"C-c <backspace>" 'hungry-delete-backward
|
||||||
@@ -361,8 +358,6 @@
|
|||||||
"C-x u" 'vundo
|
"C-x u" 'vundo
|
||||||
|
|
||||||
;; navigate
|
;; navigate
|
||||||
"C-a" 'mwim-beginning
|
|
||||||
"C-e" 'mwim-end
|
|
||||||
"M-p" 'backward-paragraph
|
"M-p" 'backward-paragraph
|
||||||
"M-n" 'forward-paragraph
|
"M-n" 'forward-paragraph
|
||||||
"<mouse-2>" 'xref-find-definitions-at-mouse
|
"<mouse-2>" 'xref-find-definitions-at-mouse
|
||||||
|
|||||||
@@ -63,8 +63,6 @@
|
|||||||
"C-M-_" 'undo-redo
|
"C-M-_" 'undo-redo
|
||||||
|
|
||||||
;; navigate
|
;; navigate
|
||||||
"C-a" 'mwim-beginning
|
|
||||||
"C-e" 'mwim-end
|
|
||||||
"M-p" 'backward-paragraph
|
"M-p" 'backward-paragraph
|
||||||
"M-n" 'forward-paragraph
|
"M-n" 'forward-paragraph
|
||||||
|
|
||||||
|
|||||||
@@ -71,9 +71,6 @@
|
|||||||
:config
|
:config
|
||||||
(setq expand-region-smart-cursor t))
|
(setq expand-region-smart-cursor t))
|
||||||
|
|
||||||
;; mwim,更聪明的beginning/end of line
|
|
||||||
(use-package mwim)
|
|
||||||
|
|
||||||
;; 启用savehist,保存命令顺序
|
;; 启用savehist,保存命令顺序
|
||||||
(use-package savehist
|
(use-package savehist
|
||||||
:init
|
:init
|
||||||
|
|||||||
Reference in New Issue
Block a user