diff options
author | Martin Polden <mpolden@mpolden.no> | 2024-05-08 22:20:55 +0200 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2024-05-08 22:21:59 +0200 |
commit | 1a31551e4e430f4daa61a286a01e9c9dd5b78d5d (patch) | |
tree | 10e288d12a7f681ab6347e119b03672a9e968f9d /lisp | |
parent | 9d6fd4902bec08a35da2fe6b5178bfa7c24dbe0b (diff) |
editing: remove unnecessary crux package
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-editing.el | 17 | ||||
-rw-r--r-- | lisp/init-vertico.el | 1 |
2 files changed, 9 insertions, 9 deletions
diff --git a/lisp/init-editing.el b/lisp/init-editing.el index 9ba858a..ae58858 100644 --- a/lisp/init-editing.el +++ b/lisp/init-editing.el @@ -15,15 +15,14 @@ (use-package calc :bind ("C-c @" . quick-calc)) -(use-package crux - :ensure t - :bind (("M-j" . crux-top-join-line) - ("C-c n" . crux-rename-file-and-buffer) - ("C-c w" . crux-kill-buffer-truename) - ("C-c d" . crux-duplicate-current-line-or-region) - ("C-c C-o" . crux-open-with) - ("C-x C-r" . crux-recentf-find-file) - ("C-x C-o" . crux-recentf-find-directory))) +;; M-j joins line +(global-set-key (kbd "M-j") 'join-line) + +;; C-c d duplicates the current line or region +(global-set-key (kbd "C-c d") 'duplicate-dwim) + +;; C-c n renames visited file +(global-set-key (kbd "C-c n") 'rename-visited-file) ;; C-x k kills current buffer (global-set-key (kbd "C-x k") 'kill-current-buffer) diff --git a/lisp/init-vertico.el b/lisp/init-vertico.el index b3266f7..36046fd 100644 --- a/lisp/init-vertico.el +++ b/lisp/init-vertico.el @@ -27,6 +27,7 @@ remote projects." :bind (("C-x b" . consult-buffer) ("C-c i" . consult-imenu) ("C-c m" . consult-flymake) + ("C-x C-r" . consult-recent-file) ("M-g M-g" . consult-goto-line))) ;; show rich annotations in the minibuffer |