diff --git a/oni-core.el b/oni-core.el index 9ba6943..8bf8f7e 100644 --- a/oni-core.el +++ b/oni-core.el @@ -397,15 +397,17 @@ _s_: String list" ;;; Consult -(global-set-key [remap switch-to-buffer] 'consult-buffer) -(global-set-key [remap projectile-switch-to-buffer] 'consult-project-buffer) -(global-set-key [remap project-switch-to-buffer] 'consult-project-buffer) -(global-set-key [remap bookmark-jump] 'consult-bookmark) -(global-set-key [remap yank-pop] 'consult-yank-pop) -(global-set-key [remap goto-line] 'consult-goto-line) -(global-set-key (kbd "M-g m") '("Jump to a mark" . consult-mark)) +(global-set-key (kbd "C-c w d") '("Delete a window" . ace-delete-window)) +(global-set-key (kbd "C-c w k") '("Keep a single window" . ace-delete-other-windows)) (global-set-key (kbd "M-g M") '("Jump to a mark anywhere" . consult-global-mark)) +(global-set-key (kbd "M-g m") '("Jump to a mark" . consult-mark)) +(global-set-key [remap bookmark-jump] 'consult-bookmark) +(global-set-key [remap goto-line] 'consult-goto-line) (global-set-key [remap imenu] 'consult-imenu) +(global-set-key [remap project-switch-to-buffer] 'consult-project-buffer) +(global-set-key [remap projectile-switch-to-buffer] 'consult-project-buffer) +(global-set-key [remap switch-to-buffer] 'consult-buffer) +(global-set-key [remap yank-pop] 'consult-yank-pop) (defun oni-core-related-files () "Return a list of files related to the current buffer."