1
0
Fork 0

[oni-core] Sort keybindings, add ace window keybindingss

This commit is contained in:
Tom Willemse 2023-01-24 10:04:39 -08:00
parent 37fe64b4d8
commit 5d7b20598b

View file

@ -397,15 +397,17 @@ _s_: String list"
;;; Consult ;;; Consult
(global-set-key [remap switch-to-buffer] 'consult-buffer) (global-set-key (kbd "C-c w d") '("Delete a window" . ace-delete-window))
(global-set-key [remap projectile-switch-to-buffer] 'consult-project-buffer) (global-set-key (kbd "C-c w k") '("Keep a single window" . ace-delete-other-windows))
(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 "M-g M") '("Jump to a mark anywhere" . consult-global-mark)) (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 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 () (defun oni-core-related-files ()
"Return a list of files related to the current buffer." "Return a list of files related to the current buffer."