Fix avy (in some places)

This commit is contained in:
2024-04-29 12:26:00 -07:00
parent 0476483426
commit 1a275b3fd6
3 changed files with 10 additions and 5 deletions

View File

@@ -23,14 +23,13 @@
(use-package avy (use-package avy
:ensure t :ensure t
:defer nil
:bind :bind
(("C-j" . avy-goto-char-timer) (("C-j" . avy-goto-char-timer)
([remap goto-line] . avy-goto-line) ([remap goto-line] . avy-goto-line)
:map org-mode-map
("C-j" . nil)
:map isearch-mode-map :map isearch-mode-map
("C-j" . avy-isearch) ("C-j" . avy-isearch)
:map magit-file-section-map :map lisp-interaction-mode-map
("C-j" . nil)) ("C-j" . nil))
:init :init

View File

@@ -7,4 +7,9 @@
:bind (("C-x g" . magit-status) :bind (("C-x g" . magit-status)
:map magit-mode-map :map magit-mode-map
(":" . execute-extended-command) (":" . execute-extended-command)
("x" . magit-discard))) ("x" . magit-discard)
:map magit-diff-section-map
("C-j" . nil)
:map magit-file-section-map
;; Unbind to stop overriding avy
("C-j" . nil)))

View File

@@ -2,7 +2,8 @@
(use-package org (use-package org
:bind (("C-c o ," . thoom/org-clear-all) :bind (("C-c o ," . thoom/org-clear-all)
("C-c SPC" . org-table-blank-field)) ;; Unbind to make room for avy
("C-j" . nil))
:custom :custom
(org-todo-keywords '((sequence "TODO(t)" "BLOCKED(b)" "|" "DONE(d)")))) (org-todo-keywords '((sequence "TODO(t)" "BLOCKED(b)" "|" "DONE(d)"))))