Remove most key-chords

This commit is contained in:
David Morgan 2021-09-01 14:57:19 +01:00
parent a58ad88899
commit 06842692d5
8 changed files with 2 additions and 26 deletions

View File

@ -30,7 +30,6 @@
(use-package cider
:diminish
:after key-chord
:config
(setq cider-repl-pop-to-buffer-on-connect 'display-only
cider-repl-display-help-banner nil
@ -44,8 +43,6 @@
cider-repl-history-file "~/.emacs.d/cider-history"
nrepl-log-messages t
clojure-toplevel-inside-comment-form t)
(key-chord-define-global "??" 'cider-xref-fn-refs-select)
(key-chord-define-global "qq" 'cider-xref-fn-refs)
(unbind-key "C-c C-l" cider-mode-map)
:bind (:map cider-mode-map ("C-c M-l" . cider-load-file))
:hook

View File

@ -3,9 +3,6 @@
;;; Code:
(use-package crux
:after key-chord
:config
(key-chord-define-global "JJ" 'crux-switch-to-previous-buffer)
:bind
("C-^" . crux-top-join-line)
("C-<backspace>" . crux-kill-line-backwards)

View File

@ -150,7 +150,6 @@ and file 'filename' will be opened and cursor set on line 'linenumber'"
(use-package undo-tree
:diminish
:after key-chord
:config
(global-undo-tree-mode)
:custom

View File

@ -4,10 +4,8 @@
;;; Code:
(use-package browse-kill-ring
:after key-chord
:config
(browse-kill-ring-default-keybindings)
(key-chord-define-global "yy" 'browse-kill-ring))
(browse-kill-ring-default-keybindings))
(use-package easy-kill
:bind

View File

@ -8,7 +8,6 @@
(use-package lsp-mode
:diminish
:after key-chord
:hook (clojure-mode . lsp)
:config
(if (eq system-type 'darwin)
@ -34,10 +33,6 @@
;; user cider for indendation and completion instead
lsp-enable-indentation nil
lsp-completion-enable nil)
(key-chord-define-global "QQ" 'lsp-find-references)
(key-chord-define-global "PP" 'lsp-peek-find-references)
(key-chord-define-global "GG" 'lsp-find-definition)
(key-chord-define-global "DD" 'lsp-peek-find-definitions)
:bind
(:map lsp-ui-mode-map
([remap xref-find-definitions] . lsp-ui-peek-find-definitions)

View File

@ -52,8 +52,6 @@
(select-window (minibuffer-selected-window))
(select-window (active-minibuffer-window))))
(key-chord-define-global "XX" 'to-and-fro-minibuffer)
;(key-chord-define-global ">>" 'preview-from-outside)
:bind (("C-M-<" . up-from-outside)
("C-M->" . down-from-outside)
("C-M-+" . preview-from-outside)

View File

@ -42,15 +42,9 @@
;; TODO - which of these are useful?
(use-package avy
:after key-chord
:custom
(avy-background t)
(avy-style 'pre)
:config
(key-chord-define-global "LL" 'avy-goto-line)
(key-chord-define-global ",," 'avy-goto-char-in-line)
(key-chord-define-global "jj" 'avy-goto-word-1)
(key-chord-define-global "jk" 'avy-goto-char)
:bind
("C-:" . avy-goto-char)
("C-'" . avy-goto-char-2)

View File

@ -92,11 +92,9 @@
:diminish
:config (which-key-mode +1))
;; Other key-chords defined with in the relevant use-package calls
(use-package key-chord
:config
(key-chord-mode +1)
(key-chord-define-global "xx" 'execute-extended-command))
(key-chord-mode +1))
(use-package rainbow-delimiters
:config