[oni-core] Sort keybindings, add ace window keybindingss
This commit is contained in:
parent
37fe64b4d8
commit
5d7b20598b
1 changed files with 9 additions and 7 deletions
16
oni-core.el
16
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."
|
||||
|
|
Loading…
Reference in a new issue